Save authentication on server
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.
Webinar: 8 Signs You’re Beyond Cron
On Demand NOW
Join Linux Journal and Pat Cameron, Director of Automation Technology at HelpSystems, as they discuss the eight primary advantages of moving beyond cron job scheduling. In this webinar, you’ll learn about integrating cron with an enterprise scheduler.View Now!
|Dr Hjkl on the Command Line||May 21, 2015|
|Initializing and Managing Services in Linux: Past, Present and Future||May 20, 2015|
|Goodbye, Pi. Hello, C.H.I.P.||May 18, 2015|
|Enter to Win Archive DVD + Free Backup Solution||May 18, 2015|
|Using Hiera with Puppet||May 14, 2015|
|Urgent Kernel Patch for Ubuntu||May 12, 2015|
- Dr Hjkl on the Command Line
- Initializing and Managing Services in Linux: Past, Present and Future
- Goodbye, Pi. Hello, C.H.I.P.
- Enter to Win Archive DVD + Free Backup Solution
- Using Hiera with Puppet
- Gartner Dubs DivvyCloud Cool Cloud Management Vendor
- Mumblehard--Let's End Its Five-Year Reign
- Infinite BusyBox with systemd
- A More Stable Future for Ubuntu
- It's Easier to Ask Forgiveness...