Answer the question
In order to leave comments, you need to log in
How to send keyboard shortcut CTRL+Z via ssh?
I am writing a small script to work with ssh.
I use the paramiko library
And I got to the point where I need to send a keyboard shortcut: CTRL Z (type press simultaneously)
https://issue.life/questions/36205970 here I found out one of the sending methods, but when sending "\x26" in the console appears "&"
Are there any options how to fix this.
Ps I'm not writing a new client, just a restart script.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question