Closed Narven closed 4 years ago
Hi, some issues when trying to use -sshconfig for ssh into AWS
My ./ssh/config is: (the only thing)
Host foo Hostname 32.32.22.22 User ec2-user Port 22 Identify ~/.ssh/foo.pem
My Supfile:
networks: stage: hosts: - foo
if I do on the command line ssh foo it works.
ssh foo
if I do
sup -sshconfig=~/.ssh/config stage uptime
it throws an error:
connecting to clients failed: connecting to remote host ailed: Connect("ec2-user@32.32.22.22:22"): ssh: handshake failed: unable to authenticate, attempted methods [none publickey], no supported methods remain
I'm doing something wrong? I though this was fixed in 0.5.1.
My version is 0.5 when I do sup -v but is actually 0.5.3 (dont know why it does not show the patch version)
sup -v
Also the config file is set to 600
Knock knock
Hi, some issues when trying to use -sshconfig for ssh into AWS
My ./ssh/config is: (the only thing)
My Supfile:
if I do on the command line
ssh foo
it works.if I do
it throws an error:
I'm doing something wrong? I though this was fixed in 0.5.1.
My version is 0.5 when I do
sup -v
but is actually 0.5.3 (dont know why it does not show the patch version)