Re: [sentinix-list] Using SSH and FTP
[email protected] Sat, 12 Jun 2004 07:57:23 -0400 (EDT)
| Newsgroups | gmane.linux.sentinix |
|---|---|
| Message-ID | <[email protected]> |
Are you getting a login prompt? Check your logs for errors: grep -E 'sshd|libwrap' /var/log/messages grep -E 'sshd|libwrap' /var/log/secure Feel free to email the logs if you aren't sure what to interpret from it. Look for "rejected", "denied" messages. If you see libwrap messages then you will have to create an entry in /etc/hosts.allow. For example, for the ssh daemon it would be: sshd : ALL of if you want to limit further: sshd : 192.168.0. .somedomain.org etc.. That means any computer with an IP Address in the "192.168.0.1-192.168.0.254" range or any IP that resolves to a name within the .somedomain.org domain. Check to see that both are indeed listening: netstat -an --inet You should see: port 21 and 22 "LISTENING" tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN If the services are running, see if the firewall is running and is blocking all incoming by default: iptables -L -n and be sure both services are allowed in: Chain INPUT (policy DROP) # This is the default policy to DENY ALL If it is then 22 and 21 will have to be explicitly allowed in. On Sat, 12 Jun 2004, Floyd Kelley wrote: > I've tried to SSH into my box as well as FTP but I have been unsuccessful. > Can anyone help with this? > > > > Floyd Kelley > > _______________________________________________ > SENTINIX mailing list > [email protected] > http://elevenprospect.com/mailman/listinfo/sentinix > -- duane "Don't let your throat tighten with fear. Take sips of breath all day and night, before death closes your mouth." - Rumi // Articles and stuff http://www.sukkha.info