eNMS-automation / eNMS

An enterprise-grade vendor-agnostic network automation platform.
https://www.enms.io/
GNU General Public License v3.0
810 stars 161 forks source link

make SSH connection / putty work on a remote unix jump server #28

Closed afourmy closed 5 years ago

afourmy commented 6 years ago

Right now, the SSH connection to a device only works on Windows as it uses subprocess.Popen to call Putty.exe. With Unix, the ssh command must be called with subprocess.Popen or subprocess.call.

If eNMS is installed on a jump server, the SSH connection should also work if X11 forwarding / Xming is enabled on the SSH connection to the jump server.

afourmy commented 6 years ago

Add support for webssh2: https://github.com/billchurch/WebSSH2 Two options:

paultech commented 6 years ago

Additional suggestions: https://github.com/stuicey/SSHy (Very little configuration/overhead) https://github.com/liftoff/GateOne (Feature rich but requires running a python proxy as with WebSSH2)

shorton3 commented 6 years ago

I would like this feature too. Here are some observations:

afourmy commented 5 years ago

@paultech this is done, and I updated the doc here : https://enms.readthedocs.io/en/develop/objects/webssh.html

I use GoTTY for the implementation.