I created a host using the rancher UI and am now trying to ssh into the host to debug an issue. Using the rancher CLI I get the error Permission denied (publickey)
as if rancher cli is not using the correct ssh key.
Here is the verbose output from rancher ssh 1h1 -v
: https://pastebin.com/jffVbu22
I think the offending line might be:
Authenticating to 52.xx.xx.xx:22 as 'my_user'
It should probably be using the ubuntu user and not my local username.