Make pass wordless ssh (script for password less ssh)
Writter: Anuj Borah
echo "Welcome!!! I am gonna make some passwordless ssh connection ... coz i dont like passwords"
echo "Gime me the ip of remote server u wana make password less ....."
echo "Now givw me the any existing user of remote server ....."
echo "I will make sure that ur info is correct .... "
ssh $e@$w mkdir -p .ssh
echo "Now i gonna start my work ... here u need to press "Enter" only when ask ..........."
ssh-keygen -t rsa
echo "Just put the info (username and password) for the last time ...."
scp id_rsa.pub $e@$w:/home/$e/.ssh/authorized_keys
echo "checking the passwordless connectivity.....Type "exit""
echo ":) . Thanks have a nice day !! see u on facebook `firefox https://m.facebook.com/Mr.Anuj2223`"