I know this has been resolved but I wanted to chime in.

There is a little known utility on SUSE, ssh-copy-id, which copies the public 
key to another Linux system.  I have customers running both SLES and RHEL that 
use ssh-copy-id.

Mike




Michael Friesenegger
Linux/Data Center Technical Specialist
email: mfrieseneg...@novell.com 
cell: 303-249-0817

Novell
Making IT Work As One*
www.novell.com


>>> On 1/5/2011 at 08:16 AM, in message
<of5d2e262b.ec9bf0ee-on8525780f.005262a7-8525780f.0053e...@us.ibm.com>, Thang
Pham <thang.p...@us.ibm.com> wrote: 
> Hi,
> 
> I have two Linux virtual servers, one running SLES11 SP1 and the other
> running RHEL6.  I am trying to setup the SSH key between them, so that when
> I SSHed into the RHEL6 server, I do not get prompted for a password.  I put
> the id_rsa.pub key of my SLES11 SP1 server in /root/.ssh/authorized_keys
> file on my RHEL6 server, but when I SSH into the RHEL6 server, I get
> prompted for a password.  Is this a bug?
> 
> I tested this same procedure on a RHEL5.5 server, and it works fine.  I
> even tried the other way around and setup the SSH keys on the RHEL6 server,
> so that when I SSHed into my SLES11 SP1 server from my RHEL6 server, I do
> not get prompted for a password.  This works.  It appears that RHEL6 does
> not accept a public key and always prompts for a password.
> 
> Regards,
> -------------------------------------
> Thang Pham
> IBM Poughkeepsie
> Phone: (845) 433-7567
> e-mail: thang.p...@us.ibm.com
> 
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or 
> visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
> ----------------------------------------------------------------------
> For more information on Linux on System z, visit
> http://wiki.linuxvm.org/

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to