Skip to content
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

use ssh instead of telnet #120

Open
Darin755 opened this issue Jun 29, 2022 · 6 comments
Open

use ssh instead of telnet #120

Darin755 opened this issue Jun 29, 2022 · 6 comments

Comments

@Darin755
Copy link

The problem

Telnet is insecure and is easier to compromise. It does not use encryption and has not way of verifying identity

The solution

The best solution would to use ssh. ssh is much more secure and would make it harder for anyone to compromise the connection. It also has the benefit of verifying that the identity of the sever has not changed which would protect against someone hijacking the URL.

Temporary workarounds

You should be able to run telnet over ssh so that it is harder to compromise

@Darin755 Darin755 changed the title Use over ssh? use ssh instead of telnet Jun 29, 2022
@derhuerst
Copy link
Contributor

I think Mosh should be recommended since its lower latency significantly improves the UX of interactive CLI applications.

@Darin755
Copy link
Author

I've never heard of it but it looks like it could be a option. The only downside is that it is not installed by default in most cases

@derhuerst
Copy link
Contributor

It initializes sessions using SSH, so for regular remote shell operation is is purely opt-in.
I think connecting Mosh to mapscii isn't as straightforward though, as AFAIK you wouldn't want a full shell running "in between"?

@rastapasta
Copy link
Owner

rastapasta commented Jun 30, 2022

I agree with the "unsecureness" in terms of not encrypted text traffic - though in this specific (arty) use case, it was about demonstrating what the telnet protocol has to offer "nowadays" vs. no real security impact :)

Besides that, there was a ssh based test implementation back in the prototype days but the upstream lib implementing the server lacked some core features like supporting raw parsing to support mouse interaction. The current telnet sever is based on node-telnet - definitely worth reevaluating the current state of ssh2 libraries to offer a ssh access as well.

@owiecc
Copy link

owiecc commented Nov 28, 2022

Telnet is not shipping with macOS for five years now. SSH would be greatly appreciated.

@Jakuje
Copy link

Jakuje commented Apr 23, 2024

With libssh, this could be done quite easily, I think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants