Re: SSH without password on CentOS 5 ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]




I assume you mean public key based authentication... if so, one "gotcha" that verbose debug messages won't help you with is the permissions on the .ssh directory and the files underneath...  they must be owned by the "owner" and cannot have any "other" permissions (e.g. chmod 700 .ssh and chmod 600 on .ssh/authorized_keys )...




Niki Kovacs <contact@xxxxxxxxxxxxx>
Sent by: centos-bounces@xxxxxxxxxx

07/20/2009 11:14 AM

Please respond to
CentOS mailing list <centos@xxxxxxxxxx>

To
CentOS mailing list <centos@xxxxxxxxxx>
cc
Subject
SSH without password on CentOS 5 ?





Hi,

I'd like to use SSH without password so I can use it in scripts (for
example in combination with rsync to do backups). I have Carla
Schroder's "Linux Cookbook" and I'm trying out the various receipts, but
the one for SSH without a password doesn't work. The book is slightly
dated, and I wonder if SSH included in CentOS works differently.

Any suggestions?

Niki
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

This transmission is intended solely for the person or organization to whom it is addressed and it may contain privileged and confidential information. If you are not the intended recipient you should not copy, distribute or take any action in reliance on it. If you believe you received this transmission in error, please notify the sender.

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux