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

https://bit.ly/31vByQO

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.

See https://linuxhandbook.com/ssh-config-file/

#technology #security #Linux #SSH #tips



source https://gadgeteer.co.za/use-a-ssh-config-file-to-manage-ssh-connections-to-various-remote-servers-or-pis-instead-of-remembering-ip-addresses-ports-etc/?pk_campaign=feed&pk_kwd=use-a-ssh-config-file-to-manage-ssh-connections-to-various-remote-servers-or-pis-instead-of-remembering-ip-addresses-ports-etc

Comments