I want to connect to create a pair of keys, transfer the private key to the remote host, and connect to it using some Python API, so that I can execute a command on the remote host. However, I do not want to require the user to interact with a GUI, so I need to do this all through CLI; the problem is that on Windows I can't find a tool to do this, and plink does not accept keys that are not generated by PuttyGen!
Asked
Active
Viewed 454 times
2
-
@MartinPrikryl this might be what I was looking for, but is it possible to do it without puttygen? – georgebax Nov 11 '20 at 13:48
-
What's wrong is that it doesn't provide a CLI – georgebax Nov 11 '20 at 14:25
-
That's exactly what I was looking for, thank you very much @MartinPrikryl – georgebax Nov 12 '20 at 13:47