LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-11-2008, 05:13 AM   #1
vinayshivakumar
LQ Newbie
 
Registered: Nov 2008
Posts: 1

Rep: Reputation: 0
ssh passwordless login with network home folder


Hi ,
In our setup , my home folder is on a network drive , accessible across servers. How can i setup passwordless ssh with public/private key between these servers ?
Thanks in advance !!

Regards,
Vinay Shivakumar
 
Old 11-11-2008, 05:27 AM   #2
i_nomad
Member
 
Registered: Mar 2008
Distribution: RedHatES4
Posts: 144

Rep: Reputation: 15
Some steps:
1)What is the source machine to initiate the ssh?
2)Which user is going to initiate the ssh?
Log in as that person on the source machine.

3)Generate a key, using keygen. When prompted for the password, enter nothing (blank)
4)This will create the id_rsa.pub and id_rsa
5)Copy the id_rsa.pub to the home of the user on the destination server that will be used in the ssh connection
6)chmod and change ownership of id_rsa.pub to 700 correct owner
7)Setup the ssh from source server to destination server.

Last edited by i_nomad; 11-11-2008 at 05:30 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot set up passwordless login via ssh slinx Linux - Software 5 09-19-2008 09:37 AM
passwordless login on the same machine via ssh athreyavc Linux - Server 2 06-20-2008 12:12 AM
Passwordless SSH on machines which have the same NFS home region cmetelko Linux - Software 1 06-18-2007 09:35 AM
home folder via network (ssh) LuckyMe Linux - Newbie 2 06-18-2007 08:22 AM
Folder Max Size and Limiting SSH access to home folder. Mefistofeles Linux - General 4 11-26-2005 02:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration