-
-
Notifications
You must be signed in to change notification settings - Fork 392
Closed
Labels
good first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is neededsupport
Description
I tried adding a server today with the following command and the resulting output:
$ k3sup install --context k3s-dev --ip 163.172.147.187 --user kscarlett --ssh-key ~/.ssh/id_rsa
Public IP: <ip>
ssh -i /Users/kscarlett/.ssh/id_rsa kscarlett@<ip>
Error: unable to connect to <ip>:22 over ssh: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain
The strange thing is that when I copy-paste the SSH command it prints, it logs me in just fine. Of note is that when I SSH into the server, it takes ~5 seconds, while k3sup fails immediately.
Expected Behaviour
Successful SSH authentication, just as I get manually.
Current Behaviour
Near-immediate failure of the SSH command.
Possible Solution
Steps to Reproduce (for bugs)
Seems like normal workflow - environment issue?
Context
I am unable to create a new server.
Your Environment
Local
- OS: macOS 10.14.6
- SSH: OpenSSH_7.9p1, LibreSSL 2.7.3
Server
- OS: Ubuntu 18.04.3 LTS
- SSH: OpenSSH_7.6p1 Ubuntu-4ubuntu0.3, OpenSSL 1.0.2n 7 Dec 2017
- Hosted at Scaleway (C2L)
jjdblast
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is neededsupport