Save authentication on server
Feb 10, 2008 By k.sangeeth
Most of us have to log on to a server while working on a project in our day to day life.
It is annoying to open multiple terminals and enter password for each log in.
So, how about authenticating your local machine permanently to your server login and eliminate entering password for ssh, scp etc.
perform 2 easy steps on your local machine and your goal is achieved:
1. (i) change to directory ~/.ssh;
(ii) ssh-keygen -t rsa
2. ssh-copy-id -i id_rsa @
Now you can log on to the server just by typing "ssh @".(The system will not ask for authentication(i.e password) ).
note : I faced problem if I manually created the .ssh directory in my home directory. This directory is automatically created when one does an ssh or scp.
Trending Topics
| You Need A Budget | Feb 10, 2012 |
| The Linux powered LAN Gaming House | Feb 08, 2012 |
| Creating a vDSO: the Colonel's Other Chicken | Feb 06, 2012 |
| Your CMS Is Not Your Web Site | Feb 01, 2012 |
| Casper, the Friendly (and Persistent) Ghost | Jan 31, 2012 |
| Razor-qt 0.4 - Qt based Desktop Environment | Jan 30, 2012 |
- Fun with ethtool
- Parallel Programming with NVIDIA CUDA
- Readers' Choice Awards 2011
- 100% disappointed with the decision to go all digital.
- Linux-Based X Terminals with XDMCP
- Validate an E-Mail Address with PHP, the Right Way
- You Need A Budget
- The Linux powered LAN Gaming House
- Why Python?
- Python for Android
- Employment Posters
2 hours 37 min ago - Sure the best distro is
3 hours 57 min ago - BeOS was the best
6 hours 41 min ago - I use Wireshark on a daily
11 hours 12 min ago - buena información
16 hours 18 min ago - One important "bucket" that I didn't note (désolé si qqun deja d
17 hours 19 min ago - Gnome3 is such a POS. No one
1 day 2 hours ago - Gnome 3 is the biggest POS
1 day 2 hours ago - I didn't knew this thing by
1 day 9 hours ago - Author's reply
1 day 12 hours ago





use the public key and not the private one
Thank you for this very useful tip but it seems that there was a typo mistake:
ssh-copy-id -i id_rsa.pub @ip
instead of
ssh-copy-id -i id_rsa @