# Main Index: Debian Linux Magic Spells Cheat Sheet (one liners, how to, tips and tricks)
# Connect to Linux remotely
apt-get install ssh
Get SSH version:
Start a SSH connection (port 22):
# If your client can't authenticate to your server, it might be sending the password as a cleartext and your server is not accepting it. In this case you have to enable tunnelled clear text passwords setting PasswordAuthentication yes
# Make sure SSH server is not using the outdated Protocol 1. This line should be present in the configuration file instead:
# Set SSH timeout (in seconds). A logged user will be logged out after idling past specified time.
/etc/init.d/ssh restart # Restart SSH to make changes take effect. However note that they will apply to next SSH session.
Start a Telnet (unencrypted and thus unsecure) connection:
telnet HOST # start a telnet connection on HOST at default port 23
telnet HOST:PORT # start a telnet connection on HOST at the specified PORT
Please DONATE to support the development of Free and Open Source Software (PayPal, Credit Card, Bitcoin, Ether)
Page issued on 25-Sep-2022 04:48 GMT