Use a SSH Config File to Manage SSH Connections to Various Remote Servers (or Pi’s) instead of remembering IP addresses, ports, etc

Using SSH profiles can help you in cases where you regularly connect to various servers (especially if you’ve added custom SSH ports to the mix too). No need to remember the IP address and other such details for SSH connection.

So once you’ve configured this config file in ~/.ssh all you need to login is something like ‘ssh webserver’ or ‘ssh omv-server’. It won’t remember passwords, but if you have set up public key access, you won’t need any password to login.

This is on my todo list now as I have two servers and two Raspberry Pi’s that I log into quite regularly, and every time it is a check for the IP address, correct user name, password, etc.


#technology #security #Linux #SSH #tips