[svlug] New to the list, question about Red Hat 9 ftp & ssh

Karsten M. Self kmself at ix.netcom.com
Sat Nov 15 19:01:50 PST 2003


on Sat, Nov 15, 2003 at 01:09:48PM -0800, Akbar S. Ahmed (akbar501 at dslextreme.com) wrote:
> Skip Evans wrote:
> >Our problem is the Red Hat machines are unable to ssh and
> >ftp to each other, even though we have put our respetive IP
> >addresses in the hosts.allow files and I think we have the firewall 
> >settings okay, but obviously we are missing something. We get 
> >'Connection refused' messages each time we try.
> 
> First, check that you can ping the other machine.
> 
> Next, check that the sshd daemon is running:
> # /etc/init.d/sshd status
> 
> If it is stopped then do:
> # /etc/init.d/sshd start
> # chkconfig --level 345 sshd on
> 
> Next, check your log files to see if it says what the exact cause of 
> rejection is:
> # tail /var/log/secure
> 
> If the log files state the exact cause of failure, then track down the 
> problem. If not, then continue as follows:
> 
> Try to logon to the local machine from the local machine. This may help 
> to inform you if the problem is with the firewall.
> 
> $ ssh <ip_address>

I'd also suggest running ssh in verbose mode for more debugging
information:

   $ ssh -v <remote address>


Additionally, tcpdump analysis may show what traffic is (or isn't) being
generated.

Peace.

-- 
Karsten M. Self <kmself at ix.netcom.com>        http://kmself.home.netcom.com/
 What Part of "Gestalt" don't you understand?
    You keep using that word. I do not think it means what you think it means.
    - Princess Bride
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.svlug.org/archives/svlug/attachments/20031115/9319197a/attachment.bin


More information about the svlug mailing list