odoyle
Explorer
- Joined
- Sep 2, 2014
- Messages
- 62
Hi guys,
using FreeNAS-9.3-STABLE-201506292332
trying to enable ssh access to freenas with a key.
Followed instructions to create the key.
copied pub key to user in freenas gui (had to create a home directory for the user first.. it forced me to do it in a mount point which I thought was kind of strange.. seems like it would be better to be in / like the root home directory is).
Anyways, password ssh works fine for this user, but when trying to use the key, I get the classic "Permission denied (publickey)." error.
In verbose mode, I get "debug2: we did not send a packet, disable method".
I checked and permission of the home directory, .ssh dir and the authorizedkeys file all look correct.
Ideas?
Thanks
here is the relevant part of the ssh verbose output:
using FreeNAS-9.3-STABLE-201506292332
trying to enable ssh access to freenas with a key.
Followed instructions to create the key.
copied pub key to user in freenas gui (had to create a home directory for the user first.. it forced me to do it in a mount point which I thought was kind of strange.. seems like it would be better to be in / like the root home directory is).
Anyways, password ssh works fine for this user, but when trying to use the key, I get the classic "Permission denied (publickey)." error.
In verbose mode, I get "debug2: we did not send a packet, disable method".
I checked and permission of the home directory, .ssh dir and the authorizedkeys file all look correct.
Ideas?
Thanks
here is the relevant part of the ssh verbose output:
debug1: Offering RSA public key:
debug3: send_pubkey_test
debug2: we sent a publickey packet, wait for reply
debug1: Authentications that can continue: publickey
debug1: Trying private key: freenas_rsa
Saving password to keychain failed
Identity added: freenas_rsa ((null))
debug2: using passphrase from keychain
debug3: sign_and_send_pubkey: RSA SHA256:dnRBHCbyaBedP5JNMhLbf6/dYbCJDnm1KF+APzayvIs
debug2: we sent a publickey packet, wait for reply
debug1: Authentications that can continue: publickey
debug2: we did not send a packet, disable method
debug1: No more authentication methods to try.
Permission denied (publickey).