cloudmesh / cloudmesh-cloud

Multicloud Cloudmesh Plugins for cloudmesh cmd5 CMD
https://cloudmesh.github.io/cloudmesh-manual
Apache License 2.0
2 stars 27 forks source link

Windows: cms windows ssh (install | on | off) #278

Open laszewsk opened 4 years ago

laszewsk commented 4 years ago

We need a manaul about how to switch on and off sshd and install ssh client on windows as discussed at

a) install proper ssh command (ggogle):

ssh: https://www.howtogeek.com/336775/how-to-enable-and-use-windows-10s-built-in-ssh-commands/

this would go into manual

b) install proper sshd service (google)

sshd: https://winscp.net/eng/docs/guide_windows_openssh_server

this would go into the manual

c) for both commands a cms command could be developed that does this from the command line such as

cms windows install ssh

laszewsk commented 4 years ago

ALthough this is not a bug in cloudmesh but rather a configuration issue, it seems its best to enhance cloudmesh to create a new command that allows the instalation and switching on and off the sshd deamon.

the deamon switchin is realy not needed, but the ssh install. this way we can easily us ethe build in ssh instaead of using more complex python APIs

laszewsk commented 4 years ago

paramiko could be used as alternative, but that's just too complex and does not provide any benefit for us. e.g. we want o log in and not just sending messages back and forth