Closed ethanclevenger91 closed 3 years ago
Do you mind of running the command above and let me know what do you see?
ssh -o "IdentitiesOnly=yes" -i YOUR_KEY_NAME forge@YOUR_SERVER_IP
I will re-open this ticket, once you answer to my previous question @ethanclevenger91.
@nunomaduro
$ ssh -o "IdentitiesOnly=yes" -i ~/path/to/key forge@SERVER_IP
Welcome to Ubuntu 20.04.3 LTS (GNU/Linux 5.4.0-88-generic x86_64)
Connects successfully
Description:
Picking up from here,
forge ssh:test
and other ssh commands are resulting in:Unable to connect to remote server. Maybe run [ssh:configure] to configure an SSH Key?
Which I've already done for this server. I've reproduced this on two machines.
Steps To Reproduce:
forge login
and add API keyforge ssh some-existing-server-slug
forge server:current
. See you're in the context of the server you just configured SSH forforge ssh:test
. See:I noted in the other issue that I wasn't clear how the system was deciding which SSH key to present and that some debugging was turning up Permission Denied errors, but it's been a while so I'm not 100% sure on any of that anymore.