Re: fedora core 4 and sshd
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.security.firewalls archive

Re: fedora core 4 and sshd

From: brenda <brenda@nospam.com>
Date: Wed Feb 08 2006 - 20:05:40 CET

Hi,

Here is the sshd_config
#start
Port 2200
Protocol 2
SyslogFacility AUTHPRIV
#LogLevel INFO
# Authentication:
#AllowUsers brenda
AllowUsers brenda@coffeshopIp
AllowUsers brenda@192.168.20.*
AllowUsers brenda@127.0.0.1

#LoginGraceTime 2m
PermitRootLogin no
#StrictModes yes
MaxAuthTries 3
PasswordAuthentication yes

# Change to no to disable s/key passwords
#ChallengeResponseAuthentication yes
ChallengeResponseAuthentication no
GSSAPIAuthentication yes
#GSSAPICleanupCredentials yes
GSSAPICleanupCredentials yes
#UsePAM no
UsePAM yes
#AllowTcpForwarding yes
#GatewayPorts no
#X11Forwarding no
X11Forwarding yes
Compression yes
#ClientAliveInterval 0
#ClientAliveCountMax 3
#UseDNS yes
#PidFile /var/run/sshd.pid
#MaxStartups 10
#ShowPatchLevel no

# no default banner path
#Banner /etc/ssh/banner

# override default of no subsystems
Subsystem sftp /usr/libexec/openssh/sftp-server
#end

[root@fedora brenda]# netstat -nlt
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address
     State
tcp 0 0 0.0.0.0:56965 0.0.0.0:*
     LISTEN
tcp 0 0 0.0.0.0:199 0.0.0.0:*
     LISTEN
tcp 0 0 0.0.0.0:5801 0.0.0.0:*
     LISTEN
tcp 0 0 0.0.0.0:139 0.0.0.0:*
     LISTEN
tcp 0 0 0.0.0.0:5901 0.0.0.0:*
     LISTEN
tcp 0 0 0.0.0.0:111 0.0.0.0:*
     LISTEN
tcp 0 0 0.0.0.0:6001 0.0.0.0:*
     LISTEN
tcp 0 0 127.0.0.1:631 0.0.0.0:*
     LISTEN
tcp 0 0 127.0.0.1:5335 0.0.0.0:*
     LISTEN
tcp 0 0 127.0.0.1:6010 0.0.0.0:*
     LISTEN
tcp 0 0 0.0.0.0:13306 0.0.0.0:*
     LISTEN
tcp 0 0 0.0.0.0:445 0.0.0.0:*
     LISTEN
tcp 0 0 :::54564 :::*
     LISTEN
tcp 0 0 ::ffff:127.0.0.1:8005 :::*
     LISTEN
tcp 0 0 :::8009 :::*
     LISTEN
tcp 0 0 :::46480 :::*
     LISTEN
tcp 0 0 :::80 :::*
     LISTEN
tcp 0 0 :::2000 :::*
     LISTEN
tcp 0 0 :::6001 :::*
     LISTEN
tcp 0 0 :::51890 :::*
     LISTEN
tcp 0 0 :::2200 :::*
       LISTEN
tcp 0 0 ::1:6010 :::*
     LISTEN
[root@fedora brenda]#

the 2200 is what i get when I switch it to port 2200.

For the nat linksys
the web page has 2200 t0 2200 Ip=192.168.20.X

I'm confused. Could it be the pam_abl?
I do this all the time on my windows pc with cygwin and sshd by just
changing the sshd_config
Received on Mon May 1 00:49:41 2006