[NTLUG:Discuss] SSH RSA

Eric Schnoebelen eric at cirr.com
Sat Mar 2 12:35:03 CST 2013


Greg Edwards writes:
- I'm trying to setup an SSH tunnel from an RHEL server to a VM RHEL 
- instance.  I can SSH and scp to the VM but I can't get the VM to auto 
- login even though I've put a public key in the authorized_keys file.
- 
- Any ideas?

What do the logs say?  I think the interesting log on a
RHEL/CentOS system (at least for 5.x) is /var/log/secure.

Absent anything from the logs, I'd check the mode on ~/.ssh/authorized_keys.
It should be 600 (aka rw-------).

--
Eric Schnoebelen		eric at cirr.com		http://www.cirr.com
	"Hatred does not cease by hatred, but only by love; 
		 this is the eternal rule."  -- Buddha



More information about the Discuss mailing list