Reputation: 123
I want to send an ssh command using
SshCommand x = cSSH.RunCommand("ssh command");
The command I want to send is "Control C". should I declare it or I can send it directly ? Can you please provide me with the shh command format of it.
Upvotes: 1
Views: 311
Reputation: 5715
You can use \x03
to pass CTRL-C
to the server. Read more on ASCII Table.
Upvotes: 2