SSH without password

in ssh •  6 years ago 

0_FV8_NyZ88dQ_FtNx.png

For a developer, it happens to be an irritating task to login into server (using SSH) and typing in the password every time. It can be avoided, if you're on a secure machine (not shared).

Open Terminal - and generate SSH key:

your-local-machine$ ssh-keygen

Now copy that SSH key to your remote machine (server)

your-local-machine$ ssh-copy-id root@your-server-ip

It will ask you your-server-ip password - once the keys are copied, try login without password now.

your-local-machine$ ssh root@your-server-ip

your-server-ip# 

Image source: https://medium.com/@grassfedcode/what-could-be-better-than-ssh-e69561ec1b83

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Congratulations @zeeshanjan! You received a personal award!

1 Year on Steemit

Click here to view your Board of Honor

Support SteemitBoard's project! Vote for its witness and get one more award!

Thank you so much for sharing this amazing post with us!

Have you heard about Partiko? It’s a really convenient mobile app for Steem! With Partiko, you can easily see what’s going on in the Steem community, make posts and comments (no beneficiary cut forever!), and always stayed connected with your followers via push notification!

Partiko also rewards you with Partiko Points (3000 Partiko Point bonus when you first use it!), and Partiko Points can be converted into Steem tokens. You can earn Partiko Points easily by making posts and comments using Partiko.

We also noticed that your Steem Power is low. We will be very happy to delegate 15 Steem Power to you once you have made a post using Partiko! With more Steem Power, you can make more posts and comments, and earn more rewards!

If that all sounds interesting, you can:

Thank you so much for reading this message!

Congratulations @zeeshanjan! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 2 years!

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Vote for @Steemitboard as a witness to get one more award and increased upvotes!