How to access ssh of digital ocean or remote server using terminal

Convert .ppk to .pem file

puttygen yourkey.ppk -O private-openssh -o yourkey.pem

Set proper permission to use the .pem file

chmod 400 yourkey.pem

Connect to your server using the below command:

ssh -i yourkey.pem serverusername@server-ip

Always remember the paraphrase of the .ppk or .pem file to access it.

Subscribe
Notify of
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x