I just noticed something today while setting up a base64 image to use as an
SSH server. I'm able to use password authentication for all non-root
accounts even with PasswordAuthentication in /etc/ssh/sshd_config set to
"no".
Is there something I'm missing that I need to do?
This is the image I'm using:
62f148f8-6e84-11e4-82c5-efca60348b9f base64 14.3.0
smartos 2014-11-17T18:06:00Z
[root@ssh ~]# pkgin list | grep ssh
libssh2-1.4.3 SSH2 protocol library
[root@ssh ~]# grep -Hn Password /etc/ssh/sshd_config
/etc/ssh/sshd_config:115:PasswordAuthentication no
[root@ssh ~]# /usr/lib/ssh/sshd -V
OpenSSH_7.1p1, OpenSSL 1.0.1p 9 Jul 2015
Login:
eric@skylab:~$ ssh ssh
Password:
__ . .
_| |_ | .-. . . .-. :--. |-
|_ _| ;| || |(.-' | | |
|__| `--' `-' `;-| `-' ' ' `-'
/ ; Instance (base64 14.3.0)
`-' http://wiki.joyent.com/jpc2/Base+Instance
eric@ssh:~$
-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription:
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com