gianlucaborello / aws-ssh-config

Generate SSH config files from AWS EC2 inventory
GNU General Public License v2.0
242 stars 83 forks source link

Omit identity file if not available or not readable #16

Closed JerryVerhoef closed 7 years ago

JerryVerhoef commented 7 years ago

Remove the identity file from the SSH-Config if the key is not available or not readable.

gianlucaborello commented 7 years ago

Thanks for this. Do you have any strong reason why this is better than letting ssh fail at runtime and report a clear error to the user?

gianlucaborello commented 7 years ago

Closing this since I haven't heard in a while, feel free to reopen in case you want to engage again in this, thanks.