Archive for the ‘Verify Password less SSH connection’ Category

echo “Script to verify password less between Linux Server”
echo “Enter Remote_username :”
read user

echo “Enter Remote_Server_IP :”
read ip

/usr/bin/ssh -o PasswordAuthentication=no $user@$ip /bin/true
if [ $? -eq 0 ]; then
echo Already passwordless connection between two systems
exit 1
echo SSH passwordless connection is not yet enabled between two system