Can I store multiple private keys in one Putty PPK file?

2

1

I have multiple accounts on a server, say for example

  • red
  • webadmin
  • testuser

At the moment I have private keys for these in separate PPK files. I have shortcuts to these on the desktop - so clicking the desktop icon launches Pageant and prompts for a password. After doing this for each PPK file, I can log in and out of the server(s) multiple times during the day using various user-ids without entering passwords. So far so good.

Could I streamline this further by somehow combining all these PPK files into a single PPK file? If so how?

RedGrittyBrick

Posted 2014-05-28T09:02:37.900

Reputation: 70 632

Answers

3

No. You can, however, pass multiple keys to pageant at once; e.g. as a batch script:

pageant *.ppk

When asked to add multiple keys, Pageant will automatically try to use the same passphrase for all of them, and will ask otherwise.

user1686

Posted 2014-05-28T09:02:37.900

Reputation: 283 655