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.
- since i have read the title i
2 hours 13 min ago
- Belanja Online Cari Voucher Diskon
2 hours 18 min ago
- The kernel doesn't really
14 hours 29 min ago
15 hours 27 sec ago
15 hours 33 sec ago
17 hours 5 min ago
- This should be very helpful
18 hours 19 min ago
- As much as I share your point
20 hours 39 min ago
- So girls had it better ?
1 day 10 min ago
- Reply to comment | Linux Journal
1 day 30 min ago