csshx
csshx copied to clipboard
Add SSH Key support
$ ./csshX -v
csshX 0.7
I extended the user@host:port group with a ;pemkey part so that you can easily
connect to hosts that need PEM keys (eg Amazon EC2 services).
--hosts file format is now
user@host:port;/path/to/pem any command here
the path to the pem key has to be absolute
Original issue reported on code.google.com by [email protected] on 29 May 2014 at 1:59
Attachments:
Hello,
I'm using version 0.74 of csshx. When connecting to an Amazon instance from a
terminal I use the following command:
ssh -1 <key pair> ec2-user@<ip address>
Can you elaborate by showing the command you used and give and example of how
to configure the host file. I've tried several variations with no success.
Thank you
Original comment by [email protected] on 21 Oct 2014 at 7:25
Out of the box this will not work. you have to apply the patch I included.
The hosts file is then as described in my comment:
user@host:port;/path/to/pem
Original comment by [email protected] on 22 Oct 2014 at 6:28
We can also set a default ssh key location
this is what works for me csshx --ssh_args "-i