Wednesday, January 11, 2012

Password-less SSH Authentication Validation

Password-less SSH login is widely use inside a trusted network. System administrator will use this method to remotely execute some task specially in a batch scripting. However, this method sometime may failed in certain circumstances for example host name change, accidentally remove the public key or private key or run the script using different user.

So validation and alerting is very important on Password-less SSH Authentication. Hereby is the script to perform validation, it has been tested on RHEL and CentOS.