Closed cewing closed 10 years ago
Command line options are passed on, I use several myself, but never tried -i. If you look at https://github.com/fschulze/mr.awsome/blob/master/mr/awsome/__init__.py#L305 then you can see how it's done. The option is included at https://github.com/fschulze/mr.awsome/blob/master/mr/awsome/__init__.py#L328 You might want to debug this function to see what's going on.
I can provide a user via the -l flag to ssh, but passing a keyfile using -i is ignored. If I name my keyfile
id_rsa
, then it works quite nicely due to how the ssh package looks for keys, but working with AWS keypairs this is not so helpful.It would be nice if it were possible to have command-line arguments to assh passed inward.