I am using putty.exe file to login to servers . I heard that there is way to save my username and password in putty so that i no need to give my creds while logging into putty . If so please provide me th way to do so .
save the hostname as user@hostname to automatically use that username when you activate the session, passwords are not saved in PuTTY, for instant login you do need to use a keyfile.
And for a concise explanation of why read Corona688's post below
You need to generate ssh key for password less login. Do this on your UNIX/Linux server:
ssh-keygen -b 2048 -t rsa
When prompted enter blank passphrase for password less login. Public key goes into ~/.ssh directory as id_rsa.pub and private key goes as id_rsa. You need to copy the id_rsa.pub file and save as authorized_keys in the same directory.
cd ~/.ssh
cp id_rsa.pub authorized_keys
Now, get the private key id_rsa onto your Windows machine and conmert it to putty compatible key using PuTTYGen.exe. You need to save the .ppk file and use it with PuTTY to get authenticated without using password. All these are because OpenSSH does not support PuTTY keys.
Keys were designed to handle this situation, and password logins are designed to prohibit this situation. ssh -- and most authentication systems -- go to some length to ensure a real human is typing the password, not a machine. Third-party cracking utilities are required to accomplish password bruteforcing in UNIX. Shoehorning it into a graphical login in Windows is even more difficult.
"Interactive password authentication" is supposed to mean "Password typed by a human being in realtime authentication" and nothing else will do.