This post will show you how to open a ssh session by launching Putty from Keepass with your credentials saved in Keepass.
Open keepass and create a new entry. In the title, put your server domain or ip.
- make sure putty is in your Windows PATH so it can be launch from the command line. (if not you should be able to put the absolute path to putty in the command line above)
- put the other credentials informations on your new Keepass entry
- In the URL field, put this :
cmd://putty -load "Default Settings" {TITLE} -l {USERNAME} -pw {PASSWORD}
- click Ok to save.
- Then, you can open your ssh session by pressing Ctrl+U or by right clicking on your new entry and by cliking on URL(s) > Open
NOTE : on this command line, you can see that we are loading the “Default Settings”. You can change the default settings from Putty. You can also load other settings by changing the name in the given command line.
Yeah, this works exactly as you described it. Thanks a lot! Until now I used KiTTY to store my passwords for ssh sessions and KeePass for the rest. Now I can use KeePass for all of my passwords.
Regards,
Johannes
Thanks, this saves quite a bit of time
Thanks, but it will expose you passwords in clear text on the command line. I simply leave out -pw {PASSWORD} and only run the command
cmd://putty -load “Default Settings” {TITLE} -l {USERNAME}
and then use the the auto -type with this sequence
{Password}{ENTER}
Pingback: KeePass Passwort-Speicher Einführung | blog.webernetz.net
Just what I was looking for !
Thanks for this really simple and nice tips
Pingback: KeePass | This is new !!
Works like a charm! Thanks!
Works great! After I changed the PATH, I tried what you said to do and it failed. I closed keypass and started it up again and it worked perfectly. Thanks a lot!
the program comes with a very good password generator, and the service plug-in runs the functionality regarding
How can I connect to servers having key-based auth and passphrase using the keyagent?