SSH in BatchMode

Stephen Berg sberg at mississippi.com
Tue May 23 10:25:33 UTC 2006


Vikas Rawat wrote:
>>3. We have also changed the file/directory permission for ~/.ssh &
>>~/.ssh/authorized_key to be read-write for user only by executing 
>>
>>>chmod -R 600 .ssh

Did you modify /etc/sshd_config to use the ~/.ssh/authorized_keys file? 
  Also notice that it should be "keys" not "key".  And by default 
sshd_config won't read that file to check for public keys.
-- 
                             Stephen Berg
//-      Linux/UNIX SysAdmin -/- Fixer of that which is broke      -//
//-                 Home = sberg at mississippi.com                   -//
//-                 Work = stephen.berg at noaa.gov                   -//
//-     http://iceberg.3c0x1.com/   -/-   http://www.3c0x1.com     -//
                Sinners can repent, but stupid is forever.




More information about the redhat-list mailing list