Am 2018-05-24 13:09, schrieb tech-lists:
Hello list,

I'm trying to get (chrooted) sftp login working with public keys. I
made a sftp-only user which works fine, and is chrooted. I created a
.ssh directory with 770 perms (root:user) and put their public key in
there with 600 perms (user:user) however when trying pubkey auth it
always falls back to keyboard-interactive (which will succeed when the
password is applied). I don't know why in key exchange it says it sent
a packet then didn't. Can anyone help please?



Have you tried chown'ing -R .ssh to the user and the group of the user and chmoding -R to 700?

I think these days, ssh is pretty picky about these permissions and ownership.


_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[email protected]"

Reply via email to