Created
July 8, 2020 12:46
-
-
Save cboulanger/4f5865c23e390d066a0582fbae5065ff to your computer and use it in GitHub Desktop.
Convert all ssh private key files in a directory to PuTTY (Windows SSH client) format
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find .ssh -type f -exec grep -l 'BEGIN OPENSSH PRIVATE KEY' {} \; | xargs -I {} puttygen {} -o {}.ppk |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment