Re: SSH in BatchMode

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

 



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@xxxxxxxxxxxxxxx                   -//
//-                 Work = stephen.berg@xxxxxxxx                   -//
//-     http://iceberg.3c0x1.com/   -/-   http://www.3c0x1.com     -//
               Sinners can repent, but stupid is forever.

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux