micmonay / keybd_event

For simulate key press in Linux, Windows and Mac in golang
MIT License
380 stars 57 forks source link

Remote SSH Connections... #27

Closed DocDrydenn closed 3 years ago

DocDrydenn commented 3 years ago

Code works perfectly locally, however, over a remote connection (like SSH), I get nadda.

It's just a basic Ubuntu install. I've tried via MobaXterm, Putty, Windows CMD, etc... All give same results.

Any help would be a life-saver.

micmonay commented 3 years ago

Hi,

I believe it's normally because this library simulates hardware keyboard as if are put a keyboard in USB on the computer. Probably you write on the display of the computer, but no in your SSH

Best regard

micmonay commented 3 years ago

This response is it ok for you ? Or you can use a library SSH for write in the stream.