SSH Config Template

From Linuxize^1

  1. Edit your ~/.ssh/config

        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