Telnet sends traffic without encryption and should not be used for remote administration on modern systems. SSH is the standard secure alternative for remote shell access.
Connect with SSH
ssh user@server
Use the username and hostname or IP address of the remote server.
Use a different port
ssh -p 2222 user@server
Only use a custom port if the remote SSH service is configured to listen on that port.
Basic safety notes
- Prefer SSH keys for regular access.
- Disable unused remote-access services.
- Do not expose administrative access unnecessarily.