Stupid question, I looked to see if it was asked before, but couldnt find it.
Got locked out of my vds because I disabled password authentication in ssh, logged in with the vnc console and couldnt figure out how to paste in my .pub key that I had to regenerate. I see the clipboard and inserted the key in there, but I didnt see where to inset it in the file on the server.
paste in vnc console?
-
- A regular
- Posts: 39
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Sun Oct 27, 2013 9:34 pm
Re: paste in vnc console?
The clipboard function doesn't presently work unfortunately.
It requires some behind-the-scenes tweaking to make it work properly and it can be unreliable even in the best circumstances.
If you have a long string of text you need to insert into VNC, the best way I could think to do so is using a macro of some kind to type out the keyboard one character at a time.
There are a few ways to do that depending on what you PC's OS is. On Windows I use an AutoHotKey line another staff member created. You may need to adjust the SetKeyDelay if you have higher latency on VNC:
It requires some behind-the-scenes tweaking to make it work properly and it can be unreliable even in the best circumstances.
If you have a long string of text you need to insert into VNC, the best way I could think to do so is using a macro of some kind to type out the keyboard one character at a time.
There are a few ways to do that depending on what you PC's OS is. On Windows I use an AutoHotKey line another staff member created. You may need to adjust the SetKeyDelay if you have higher latency on VNC:
Code: Select all
^+v::
SetKeyDelay, 100
SendRaw %clipboard%
Return
Re: paste in vnc console?
Ya, I gave up and just reinstalled, just seams like that way is more taking on the hardware, was trying to avoid it. I just have to remember to keep my keys on an usb drive or something. The server is just for doing classes, so not a big deal for me anyway.
Thanks
Thanks