Skip to content

Client configuration

~/.ssh/config

Host *
    # Pass localization variables. This is the default on Debian
    LANG LC_* COLORTERM NO_COLOR
    # Save as plain text to allow shell autocompletion
    HashKnownHosts no
    # Preferred algorithm order
    HostKeyAlgorithms ssh-ed25519,rsa-sha2-512

Include config.*
Host myhost.example.com
    User myuser
    Port 22222
    IdentityFile ~/.ssh/id_ed25519_myhost