SSH --- Connect to a host ''''''''''''''''' To connect to a host do: .. code-block:: shell $ssh @ Connect to a host with X display forwarding ''''''''''''''''''''''''''''''''''''''''''' To connect to a host and forward X do: .. code-block:: shell $ssh -Y @ Using compression ''''''''''''''''' To use compression add the -C flag: .. code-block:: shell $ssh -C @ Using secure keys ''''''''''''''''' To create keys to connect to your server in a more secure manner, first create the keys by executing: .. code-block:: shell $ssh-keygen -t rsa Add the key to a known location when prompted and enter a secure password. Now you can copy your public key to the server that is going to receive the connection: .. code-block:: shell $ssh-copy-id @ Now disable password login by editing /etc/ssh/sshd_config, the restart the sshd service. .. warning:: If you lose the key files you will be locked out of the target machine.