[resolved] 9.3->9.10: Unable to SSH to host

Status
Not open for further replies.

AleksB

Dabbler
Joined
Jun 26, 2014
Messages
17
After upgrade from 9.3 to 9.10 I no longer able to ssh to the freenas host. I've troubleshooted this as much as I can, but can't figure out what's wrong. Prior to upgrade everything worked without a problem, but right after upgrade stopped.

Here is my ssh -v:

Code:
$ ssh -v freenas
OpenSSH_6.9p1, LibreSSL 2.1.8
debug1: Reading configuration data /Users/username/.ssh/config
debug1: /Users/username/.ssh/config line 6: Applying options for *
debug1: /Users/username/.ssh/config line 26: Applying options for freenas
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 20: Applying options for *
debug1: /etc/ssh/ssh_config line 102: Applying options for *
debug1: auto-mux: Trying existing master
debug1: Control socket "/tmp/ssh-b@freenas:22" does not exist
debug1: Connecting to freenas [192.168.100.28] port 22.
debug1: Connection established.
debug1: identity file /Users/username/.ssh/freenas/id_ed25519 type 4
debug1: key_load_public: No such file or directory
debug1: identity file /Users/username/.ssh/freenas/id_ed25519-cert type -1
debug1: identity file /Users/username/.ssh/freenas/id_rsa type 1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/username/.ssh/freenas/id_rsa-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_7.2 FreeBSD-20160310
debug1: match: OpenSSH_7.2 FreeBSD-20160310 pat OpenSSH* compat 0x04000000
debug1: Authenticating to freenas:22 as 'b'
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client chacha20-poly1305@openssh.com <implicit> none
debug1: kex: client->server chacha20-poly1305@openssh.com <implicit> none
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: Server host key: ssh-ed25519 SHA256:wNmpxrZyh2MIax/5P4NLkzusPzihlo7c3yMT/5pp9qI
debug1: Host 'freenas' is known and matches the ED25519 host key.
debug1: Found key in /Users/username/.ssh/known_hosts:43
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Authentications that can continue: publickey
debug1: Offering ED25519 public key: /Users/username/.ssh/other_host/id_ed25519
Received disconnect from 192.168.100.28: 2: Too many authentication failures
Disconnected from 192.168.100.28


I can continue to access jails which are running on this host problem free. I have no custom configs for ssh on FreeNas.

Any help would be appreciated.
 

m0nkey_

MVP
Joined
Oct 27, 2015
Messages
2,739
Also post sections in your ssh config file in ~/.ssh/config for:
  • Host *
  • Host freenas
Just in case you have any weird client configuration.
 

AleksB

Dabbler
Joined
Jun 26, 2014
Messages
17
Than you for hints.

Looks like problem was with my ssh agent on my pc, killing it and re-starting solved my issue.

Oh well - go figure it was problematic. I though about that, as I did't get password prompt for ssh key, but though I already entered and saved into keychain.
 
Status
Not open for further replies.
Top