Problem with ssh

Dragoncrest dragoncrest at voyager.net
Thu Feb 12 19:18:26 PST 2004


At 03:12 PM 2/12/04 -0500, Clint Gilders wrote:
>Nathan Kinkade wrote:
>  > Uncomment the following line /etc/ssh/sshd_config and HUP sshd:
>>#PasswordAuthentication yes
>
>You also want to set that to 'no'
>
>PasswordAuthentication no

         Well, that's the kicker.  I've got that already in my sshd_config 
file and I've restarted SSHD and still no go.  Here's my current config 
file.  The weird part is this used to work.

########################################################
# This is ssh server systemwide configuration file. See sshd(8)
# for more information

Port 22
Protocol 2
HostDsaKey /etc/ssh/ssh_host_dsa_key
ServerKeyBits 768
LoginGraceTime 120
KeyRegenerationInterval 3600
PermitRootLogin no

# After 3 unauthenticated connections, refuse 50% of the new ones, and
# refuse any more than 10 total.
MaxStartups 3:50:10
# Don't read ~/.rhosts and ~/.shosts files
IgnoreRhosts yes
# Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication
#IgnoreUserKnownHosts yes
StrictModes yes
X11Forwarding no
X11DisplayOffset 10
PrintMotd yes
PrintLastLog yes
KeepAlive yes

# Logging
SyslogFacility AUTH
LogLevel VERBOSE
#obsoletes QuietMode and FascistLogging

RhostsAuthentication no
#
# For this to work you will also need host keys in /etc/ssh_known_hosts
RhostsRSAAuthentication no
# similar for protocol version 2
HostbasedAuthentication no
#
RSAAuthentication yes

# To disable tunneled clear text passwords, change to no here!
PasswordAuthentication no
PermitEmptyPasswords no

# Uncomment to disable s/key passwords
ChallengeResponseAuthentication no

# To change Kerberos options
#KerberosAuthentication no
#KerberosOrLocalPasswd yes
#AFSTokenPassing no
#KerberosTicketCleanup no

# Kerberos TGT Passing does only work with the AFS kaserver
#KerberosTgtPassing yes

CheckMail yes
#UseLogin no

Banner /etc/issue.net
#ReverseMappingCheck yes

Subsystem    sftp   /usr/libexec/sftp-server

AllowUsers dragoncrest




More information about the freebsd-questions mailing list