Thanks. Running "chmod 700 .ssh/authorized_keys" fixed that
Regards, Mahmood On Monday, March 24, 2014 1:53 PM, Eero Volotinen <[email protected]> wrote: Possibly file permissions or selinux context. Eero 2014-03-24 9:38 GMT+02:00 Mahmood Naderan <[email protected]>: Hi >From a newly created account on SL 6.5, I ran > > >1- ssh-keygen -t rsa -P "" >2- <Accepting all defaults> >3- cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys > > >However every time I run "ssh localhost", ti asks for password. >However with this configuration, it should be passwordless. >What did I miss? > > >Regards, >Mahmood
