Skip to content

SSH

Logging in to servers securely, working with keys instead of passwords, copying files, tunnelling connections and protecting the SSH server against attacks.

Basics: Host keys, key authentication, the files in ~/.ssh and the client configuration

Connect

  • ssh


    Log in, run commands and tunnel connections.

Keys

Transfer files

  • scp


    Copy files over SSH.

  • sftp


    Interactive file transfer over SSH.

  • rsync


    Synchronise files, only changes are sent.

Server

  • sshd


    Check and harden the SSH server.

  • ssh-keyscan


    Fetch and check host keys.

Hardening