-
Notifications
You must be signed in to change notification settings - Fork 264
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support SSH for console connections, not just telnet #2181
Comments
Which VM supports an ssh console connection and GNS3 does not support such a connection? |
I'm really not sure what you're trying to say. It is quite sufficient to provide the ability to switch to SSH for server deployments on Linux, and keeping telnet the default for others. Today our GNS3 server installs allocate telnet-speaking TCP ports on the host for each device, connecting their virtual serial port to it. It is my understanding that this is done all in python. Hence, it shouldn't be too complicated to switch these ports to talking SSH, since there is a python-native implementation of the protocol. |
gns3 is a graphic network simulator. |
Thanks for the idea, I have already identified a potential Python package that we could use to implement this: https://asyncssh.readthedocs.io/en/latest/ |
@grossmj If you'd like, you can point me towards where the console/tcp plumbing takes place, I could prep a PR. I have some minor preliminary experience with paramiko and async python. Would need to eval asyncssh vs. paramiko though. On first glance, asyncssh seems easier in this usecase, as paramiko understands itself to be a much more low-level library. |
As the subject says. Generally a good practice, and it would also enable easier deployment of shared instances.
The text was updated successfully, but these errors were encountered: