SSH
Logging In with a Private Key
Besides using a username and password in SSH, you can also use the registered private key to login to a linux system. This is way more secured than using a password to login to a system. As a pre-requisite you will need the private key for authentication. The following command can be used to login,
KexAlgorithms - This is the key exchange algorithm that has to be used to generate the per connection keys. The default is mentioned in the configuration file. You can choose a different one by using -o (option) parameter.
PubkeyAcceptedKeyTypes - The type of key being used for authentication with SSH
Last updated