Skip to content

SSH Config Template #

From Linuxize1

  1. Edit your ~/.ssh/config

    1
    2
    3
    4
    5
    6
    7
    8
        Host web_server_1
                HostName 20x.12x.32.xxx
                User iamauser
                Port 2222
                IdentityFile ~/.ssh/id_ed25519
                LogLevel INFO
                Compression yes
                VisualHostKey=yes
    
  2. Command to connect: ssh web_server_1


Last update: January 22, 2021