Run nmap localhost to see if ssh is listening on port 22. If it is you might
want to try temporarily disabling your firewall rules too see if that may be
the problem - ipchains -F  

Michael

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Michael Mingle, MCSE MCDBA
Information Systems Analyst
Aerojet Ordnance Tennessee
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


> -----Original Message-----
> From: Andrew Robinson [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 18, 2003 11:41 AM
> To: [EMAIL PROTECTED]
> Subject: Help get ssh working
> 
> 
> I'm trying to get ssh working on a Redhat 7.3 installation. 
> Right now it is 
> refusing the connection. I've included what pertinent 
> information I know 
> about. If I've left something out, please let me know. When I 
> installed 
> Redhat, I chose the "medium" security option and "custom" 
> firewall rules, 
> allowing incoming http and ssh. I think this setup has worked 
> for me on 
> other installations. Thanks for any help.
> 
> Andrew Robinson
> 
> # ssh localhost
> ssh: connect to address 127.0.0.1 port 22: Connection refused
> 
> # grep ssh /etc/services
> ssh             22/tcp                          # SSH Remote 
> Login Protocol
> ssh             22/udp                          # SSH Remote 
> Login Protocol
> x11-ssh-offset  6010/tcp                        # SSH X11 
> forwarding offset
> 
> # ipchains -L
> target     prot opt     source                destination     
>       ports
> ACCEPT     udp  ------  myhost.mycomp.com    anywhere         
>      domain 
> ->   1025:65535
> ACCEPT     tcp  -y----  anywhere             anywhere         
>      any 
> ->   http
> ACCEPT     tcp  -y----  anywhere             anywhere         
>      any ->   ssh
> ACCEPT     all  ------  anywhere             anywhere              n/a
> REJECT     tcp  -y----  anywhere             anywhere         
>      any 
> ->   0:1023
> REJECT     tcp  -y----  anywhere             anywhere         
>      any ->   nfs
> REJECT     udp  ------  anywhere             anywhere         
>      any 
> ->   0:1023
> REJECT     udp  ------  anywhere             anywhere         
>      any ->   nfs
> REJECT     tcp  -y----  anywhere             anywhere         
>      any 
> ->   x11:6009
> REJECT     tcp  -y----  anywhere             anywhere         
>      any ->   xfs
> Chain forward (policy ACCEPT):
> Chain output (policy ACCEPT):
> 
> # rpm -q -a | grep -i ssh
> openssh-3.1p1-6
> kdessh-3.0.3-0.7
> openssh-askpass-gnome-3.1p1-6
> openssh-clients-3.1p1-6
> openssh-askpass-3.1p1-6
> 
> 
> 
> **************************************************************
> **********
> * Andrew W. Robinson                     | Voice:  +1 
> (504)-378-0179   *
> * Computerized Processes Unlimited, LLC. | FAX:    +1 
> (504)-889-2799   *
> * 4200 S. I-10 Service Rd., Suite 205    | E-Mail: 
> [EMAIL PROTECTED]         *
> * Metairie, LA 70001                     | WWW: 
> http://www.cpu.com     *
> *                  "Consulting System Integrators"            
>          *
> **************************************************************
> **********
> 
> 
> 
> -- 
> redhat-list mailing list
> unsubscribe mailto:[EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
> 



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to