usharesoft / hammr

Command-line tool for building consistent and repeatable machine images for multiple cloud platforms
http://hammr.io
Apache License 2.0
28 stars 24 forks source link

RFE: allow to pass a ssh pub key for authentication for hammr migration #459

Open AliceAlbano opened 6 years ago

AliceAlbano commented 6 years ago

In RFE #54 we wanted to be able to use ssh keys for uploading and launching the scan agent. The same thing could be useful for the migration as well:

If root login with password is not allowed on the machine to be scanned, but login is through keys only, it would be good to be able to pass as argument the identity file containing the key.

For example, similarly to hammr scan run syntax, the extra argument for hammr migration could be: --identity-file ".ssh/myId.pem"