Best Software for 2025 is now live!
Verified User
G2
Protocol Stack Engineer at ASOCS

how can i save password for the session in putty

For ssh login i need to save user name and password does it possible?
5 comments
Looks like you’re not logged in.
Users need to be logged in to answer questions
Log In
Taher A.
TA
IT Administrator
0
In PuTTY, you can save your username for SSH login, but it does not provide an option to save the password directly. However, PuTTY offers a workaround called "Public Key Authentication" that allows you to securely authenticate without entering the password every time. Here's how you can configure PuTTY to save your username and use public key authentication: Launch PuTTY and enter the server's hostname or IP address in the "Host Name" field. In the left-hand panel, navigate to "Connection" -> "Data". Enter your username in the "Auto-login username" field. In the left-hand panel, navigate to "Connection" -> "SSH" -> "Auth". Select the "Browse" button next to the "Private key file for authentication" field. Locate and select your private key file (.ppk) on your local machine. Note: If you haven't generated a private/public key pair yet, you'll need to do that first using PuTTYgen. Click the "Open" button to initiate the SSH connection. PuTTY will now use the saved username and the specified private key for authentication, allowing you to log in without entering the password manually. Remember, public key authentication is considered more secure than password-based authentication, as it eliminates the need to transmit and store passwords. However, it's essential to protect your private key by securing it with a passphrase. If you still prefer to save the password directly (though not recommended for security reasons), you can use a third-party tool like "PuTTY Connection Manager" that adds password saving functionality to PuTTY. Please note that using saved passwords carries a security risk, as anyone with access to your computer can log in to the remote server without needing to enter the password. Please exercise caution when storing passwords and ensure that your system is adequately secured.
Looks like you’re not logged in.
Users need to be logged in to write comments
Log In
Reply
AS
0
There is one option as Save you can click there and save your password before log in.
Looks like you’re not logged in.
Users need to be logged in to write comments
Log In
Reply
Mandar P.
MP
Senior Executive (Software Testing) at Commnet Systems And Solutions - India
0
Yes you can save with or without password
Looks like you’re not logged in.
Users need to be logged in to write comments
Log In
Reply
IR
developer
0
putty.exe user@ipserver.it -pw password
Looks like you’re not logged in.
Users need to be logged in to write comments
Log In
Reply
Renjith M.
RM
IT Analyst at Tata Consultancy Services
0
You can not save password in Putty but can save user name and hostname that would automatically take you to the screen to enter the password.
Looks like you’re not logged in.
Users need to be logged in to write comments
Log In
Reply