Saturday, October 28, 2017

another windows ssh server

1- install PyRExecd
c:\python2.7\scripts\pip.exe install pyrexecd

2- follow this to generate a pair of rsa public and private keys

- then copy it to with the name as authorized_keys

3- then run from python script
 PyRExecd.pyw -d -L

4- on client we can use the private key authenticate against it

$ ssh -i myprivatekey.key -p 2200 -l windowsuser

or we can also build exe from the repo

pip install cx_Freeze
python build

No comments:

Post a Comment