If you need to get SSH access to your server from outside the LAN (e.g. you want to get to your work server from home) then the advised method is to use Public / Private Keys.
If you need to get SSH access to your server from outside the LAN (e.g. you want to get to your work server from home) then the advised method is to use Public / Private Keys.
−
The Private Key is a file that sits on your client PC, and is sent by the SSH Client. <br>
+
During Logon, the server runs a check to see if your Private Key corresponds to its stored Public key for the user that you are trying to log on as. If they don't match then the server simply drops the TCP session.
−
The Public Key sits on the SME server.
−
−
During Logon, the server runs a check to see if your Private Key corresponds to its stored Public key for the user that you are trying to log on as.
−
If they don't match then the server simply drops the TCP session. There is no opportunity for a cracker to try brute forcing your root password.
Setup your keys with the information at [[:SSH_Public-Private_Keys]]
Setup your keys with the information at [[:SSH_Public-Private_Keys]]
When you have SSH Keys working, the server Admin can disable logging in using passwords.
When you have SSH Keys working, the server Admin can disable logging in using passwords.