ployground / ploy

A tool to manage servers through a central configuration. Plugins allow provisioning, configuration and other management tasks.
http://ploy.readthedocs.org
BSD 3-Clause "New" or "Revised" License
78 stars 15 forks source link

bin/assh ignores any additional options to ssh (except -l) #25

Closed cewing closed 10 years ago

cewing commented 11 years ago

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.

fschulze commented 11 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.