Asking for a password

dreamcompute

#1

I was under the impression that there was no password once I used a key pair, however it’s presenting me with a password prompt. I have re-rolled the server with a new key pair and it’s still doing it.

Here’s the scrollback:

[quote]MacBook-Pro-3:.ssh REDACTED$ ssh -i ~/.ssh/id_rsa.key dhc-user@173.REDACTED -v
OpenSSH_6.9p1, LibreSSL 2.1.8
debug1: Reading configuration data /Users/REDACTED/.ssh/config
debug1: /Users/REDACTED/.ssh/config line 1: Applying options for *
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 21: Applying options for *
debug1: Connecting to 173.REDACTED [173.REDACTED] port 22.
debug1: Connection established.
debug1: identity file /Users/REDACTED/.ssh/synergy.key type 1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/REDACTED/.ssh/synergy.key-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.9
debug1: Remote protocol version 2.0, remote software version OpenSSH_5.9p1 Debian-5ubuntu1.4
debug1: match: OpenSSH_5.9p1 Debian-5ubuntu1.4 pat OpenSSH_5* compat 0x0c000000
debug1: Authenticating to 173.REDACTED:22 as 'dhc-user’
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-ctr umac-64@openssh.com none
debug1: kex: client->server aes128-ctr umac-64@openssh.com none
debug1: sending SSH2_MSG_KEX_ECDH_INIT
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: Server host key: ssh-rsa SHA256:LFfzYiIBuitGUJ0df4FRH5lo0HSsa3ShT2WyAg4j/Js
debug1: Host ‘173.REDACTED’ is known and matches the RSA host key.
debug1: Found key in /Users/REDACTED/.ssh/known_hosts:1
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: Roaming not allowed by server
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey
debug1: Offering RSA public key: /Users/REDACTED/.ssh/id_rsa.key
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: password
dhc-user@173.REDACTED’s password: [/quote]

Cheers!


#2

I’m not sure what directions you followed, but your problems start here:

debug1: key_load_public: No such file or directory

#3

It’s always great to have a second set of eyes on it - I was only looking at the bottom half! Cheers I’ll look into that.
[hr]

It’s always great to have a second set of eyes on it - I was only looking at the bottom half! Cheers I’ll look into that.