Geody Labs

# Main Index: Debian Linux Magic Spells Cheat Sheet (one liners, how to, tips and tricks)

# Connect to Linux remotely


Install SSH: apt-get install ssh Get SSH version: ssh -V Start a SSH connection (port 22): ssh HOST Configure SSH: jed /etc/ssh/sshd_config # 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: Protocol 2 # Set SSH timeout (in seconds). A logged user will be logged out after idling past specified time. ClientAliveInterval 600 ClientAliveCountMax 0 /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
Copyright (c) 2022 Geody - Legal notices: copyright, privacy policy, disclaimer