Re: [CentOS] SSH without password on CentOS 5 ?
Akemi Yagi a écrit : Maybe this CentOS wiki helps? http://wiki.centos.org/HowTos/Network/SecuringSSH I just gave it a try: works like a charm. Thanks! Niki ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] SSH without password on CentOS 5 ?
Maybe this CentOS wiki helps? http://wiki.centos.org/HowTos/Network/SecuringSSH I just gave it a try: works like a charm. I was smarter 3 years ago, I mean I knew it :-) http://beranger.org/index.php?article=1308 R-C __ Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your favourite sites. Download it now http://ca.toolbar.yahoo.com. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] SSH without password on CentOS 5 ?
Would it be good to have a double login both the RSA key and a password. Remember a fedora box was rooted cause a hacker got the admin key. On Tue, Jul 21, 2009 at 9:57 AM, Radu-Cristian FOTESCU beranger...@yahoo.ca wrote: Maybe this CentOS wiki helps? http://wiki.centos.org/HowTos/Network/SecuringSSH I just gave it a try: works like a charm. I was smarter 3 years ago, I mean I knew it :-) http://beranger.org/index.php?article=1308 R-C __ Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your favourite sites. Download it now http://ca.toolbar.yahoo.com. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos -- http://www.goldwatches.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] SSH without password on CentOS 5 ?
On Mon, Jul 20, 2009 at 9:14 AM, Niki Kovacscont...@kikinovak.net wrote: 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? Maybe this CentOS wiki helps? http://wiki.centos.org/HowTos/Network/SecuringSSH#head-9c5717fe7f9bb26332c9d67571200f8c1e4324bc Akemi ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] SSH without password on CentOS 5 ?
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 cont...@kikinovak.net Sent by: centos-boun...@centos.org 07/20/2009 11:14 AM Please respond to CentOS mailing list centos@centos.org To CentOS mailing list centos@centos.org cc Subject [CentOS] 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@centos.org http://lists.centos.org/mailman/listinfo/centos /PREpspan style=font-size:9.5pt;line-height:115%;font-family: ArialThis 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./span/p ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] SSH without password on CentOS 5 ?
Original Message Subject: Re: [CentOS] SSH without password on CentOS 5 ? From: Akemi Yagi amy...@gmail.com To: CentOS mailing list centos@centos.org Date: Monday, July 20, 2009 11:21:28 AM On Mon, Jul 20, 2009 at 9:14 AM, Niki Kovacscont...@kikinovak.net wrote: 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? Maybe this CentOS wiki helps? http://wiki.centos.org/HowTos/Network/SecuringSSH#head-9c5717fe7f9bb26332c9d67571200f8c1e4324bc Akemi ___ If you follow the guides step by step they usually work fine. But most gloss over the end permissions/ownership. It is important (won't work without it) that you ensure that the .ssh directory and its contents are owned by the account in which these files reside... to explain it a different way: If the authorized key files are in /home/bob/.ssh, the .ssh directory and its files should be owned by bob. The .ssh directory should have 700 permissions and any files within it 600. -Blake ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] SSH without password on CentOS 5 ?
On Mon, Jul 20, 2009 at 9:14 AM, Niki Kovacscont...@kikinovak.net wrote: I'd like to use SSH without password so I can use it in scripts (for example in combination with rsync to do backups). One thing that's frequently missed is that the client SSH configuration might require that the server's fingerprint appear in the local known_hosts file. This may mean that you must perform at least one interactive ssh login to confirm the identity of the destination, before scripted ssh will work. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] SSH without password on CentOS 5 ?
On Mon, 2009-07-20 at 11:39 -0700, Bart Schaefer wrote: On Mon, Jul 20, 2009 at 9:14 AM, Niki Kovacscont...@kikinovak.net wrote: I'd like to use SSH without password so I can use it in scripts (for example in combination with rsync to do backups). One thing that's frequently missed is that the client SSH configuration might require that the server's fingerprint appear in the local known_hosts file. This may mean that you must perform at least one interactive ssh login to confirm the identity of the destination, before scripted ssh will work. I thought ssh-agent took care of that? snip sig stuff -- Bill ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos