markwallsgrove / ec2.cli

Generate SSH aliases for EC2 machines
3 stars 1 forks source link

Username isn't correctly used by script #30

Closed rgoj closed 8 years ago

rgoj commented 8 years ago

I set my username with:

ec2.cli set user roman.goj

and I can see it in my config file:

{
    "user": "roman.goj",
    "certLocation": "/Users/romek/.ssh/id_rsa",
    "awsAccessKey": "***",
    "awsSecretKey": "***"
}

but the username isn't used by the script:

ip-192-168-10-62:~ romek$ ec2.cli alias
alias aws_general_arbiter_i_d81c0a7e="ssh -i /Users/romek/.ssh/id_rsa romek@54.155.207.212"

Trying to use a username without a dot in it doesn't help either.

camillef commented 8 years ago

+1