Networking Forums

Networking Forums > Computer Networking > Linux Networking > SSH struggle continued - different battlefield

Reply
Thread Tools Display Modes

SSH struggle continued - different battlefield

 
 
Dominique Gibon
Guest
Posts: n/a

 
      12-03-2005, 10:06 AM
Hi,

Still running SSH on a Debian Sarge (kernel 2.6.8-2-386).
Port 22 is listening, firewall is open for port 22 on my LAN.

I want to use public key authentication exclusively.
Public key authentication works fine, but I don't manage to disable
"classis" password authentication: the server accepts both.

Below my sshd_config file.
Any clues ?
Thanks.


# Package generated configuration file
# See the sshd(8) manpage for details
# What ports, IPs and protocols we listen for
Port 22
# Use these options to restrict which interfaces/protocols sshd will bind to
#ListenAddress ::
#ListenAddress 0.0.0.0
Protocol 2
# HostKeys for protocol version 2
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_dsa_key
#Privilege Separation is turned on for security
UsePrivilegeSeparation yes
# Lifetime and size of ephemeral version 1 server key
KeyRegenerationInterval 3600
ServerKeyBits 768
# Logging
SyslogFacility AUTH
LogLevel INFO
# Authentication:
LoginGraceTime 600
PermitRootLogin no
StrictModes yes
RSAAuthentication no
PubkeyAuthentication yes
AuthorizedKeysFile %h/.ssh/authorized_keys
# Don't read the user's ~/.rhosts and ~/.shosts files
IgnoreRhosts yes
# For this to work you will also need host keys in /etc/ssh_known_hosts
RhostsRSAAuthentication no
# similar for protocol version 2
HostbasedAuthentication no
# Uncomment if you don't trust ~/.ssh/known_hosts for
RhostsRSAAuthentication
#IgnoreUserKnownHosts yes
# To enable empty passwords, change to yes (NOT RECOMMENDED)
PermitEmptyPasswords no
# Change to no to disable s/key passwords
#ChallengeResponseAuthentication yes
# Change to yes to enable tunnelled clear text passwords
PasswordAuthentication 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
X11Forwarding no
X11DisplayOffset 10
PrintMotd no
PrintLastLog yes
KeepAlive yes
#UseLogin no
#MaxStartups 10:30:60
#Banner /etc/issue.net
Subsystem sftp /usr/lib/sftp-server
UsePAM yes


 
Reply With Quote
 
 
 
 
Allen Kistler
Guest
Posts: n/a

 
      12-03-2005, 04:12 PM
Dominique Gibon wrote:
> ...
> RSAAuthentication no


RSAAuthentication yes

> RhostsRSAAuthentication no
> ...
> RhostsRSAAuthentication


Um...? Probably not the source of this problem, but dump the line where
you don't bother to specify a value.

> #ChallengeResponseAuthentication yes


ChallengeResponseAuthentication no
 
Reply With Quote
 
Dominique Gibon
Guest
Posts: n/a

 
      12-04-2005, 10:28 PM
Allen Kistler wrote:

>
> RSAAuthentication yes
>
>
>> #ChallengeResponseAuthentication yes

>
> ChallengeResponseAuthentication no


Spotless, works like a charm.
Many thanks.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SSH struggle Dominique Gibon Linux Networking 8 12-05-2005 10:27 AM
MN-500 Configured as Bridge (Continued...) =?Utf-8?B?TWFyY2lhIEIu?= Broadband Hardware 2 06-04-2005 09:42 PM
Belkin Pre-N Router Problem - Continued Danisoid Wireless Internet 4 01-19-2005 10:56 PM
struggle with PC Wireless card Dave Brown Linux Networking 2 08-06-2004 04:23 AM
FTP server behind MN-700, continued Chris Broadband Hardware 1 07-02-2004 03:25 AM



1 2 3 4 5 6 7 8 9 10 11