12

openssh 5.3 needs password vs. 4.3 using private keys

view full story
linux-howto

http://www.unix.com – Hello, I just installed a bran new Centos 6.2 including openssh 5.3. On older servers I installed older Linux including openssh 4.3, I am using keygen with private/public keys to log root on all servers (in a LAN) without typing password each time. To do this, of course, I have my local private key (privkey) and public key in each server (/root/.ssh/authorized_keys), I get in with command : # ssh -i privkey root@server Each server has this specific lines in /etc/ssh/sshd_config : PermitRootLogin yes and specific chmod on : # ls -la /root/.ssh drwx------. 2 root root 4096 Jan 9 14:53 . dr-xr- (HowTos)