One of the option to connecting to an SSH
server is via the Public Key Authentication
method. For this you need to have a public and private key pair and for your public key to be available in the server's authorized_keys
file.
If you're on Windows
then you're likely to connect to a remote SSH
server using PuTTY
and as such you'll need a PuTTY Private Key
(ppk
) file and the associated public key which you can generate using PuTTY Key Generator
(PuTTYGen
).
authorized_keys
file. PuTTY
. Host Name
/ IP address
and port
. Connection
→ SSH
→ Auth
from the sidebar menu. Browse
button to look for your PuTTY Private Key
. PuTTY Private Key
from the stored location and click on the Open
button. Open
button to start the connection. Yes
if a security alert pops up as this is your first connection to the server and the server's key fingerprint is not in your PuTTY
's cache. Comment anonymously. Login not required.