[lug] Can't connect to Suse 8.0 host

D. Stimits stimits at attbi.com
Wed Mar 19 14:48:13 MST 2003


William Petty wrote:

> OK. I've tried for days.. Help!
> When running Suse 8.0 on my server instead of the older 7.1 I can
> no longer telnet or ftp to the machine from any other machine.
> ssh works fine, but I need to ftp from a windows machine.
> I am using putty for shells,  Is there a similar program for scp
> operations?

PuTTY is a set of utilities, not just the one tool. The same place that 
provides PuTTY provides what someone else mentioned, pscp:
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

You might also consider sftp (part of the above).

>
> I have already tried the following:
>   - Started inetd with default and custom settings
>   - Made sure telent and ftp services are started.
>   - Shut down all firewall services
>   - All local machines are in the hosts file
>
> Prior to doing the above, all attempts were refused. Now, for example,
> ftp attempts say "connected to xxx.xxx.xxx.xxx" for about 5 seconds and
> then I get "connection closed by remote host"

You might also have further ftp configuration files, such as 
/etc/ftpaccess, ftphosts, ftpusers.

Other network files can have an effect on xinetd services, but not 
change non-xinetd services (and I *think* sshd can run either directly 
or as a service to xinetd, although I've only seen it run directly). For 
example, identd can be made to be required, and so far I've never 
figured out how to enable auth from a windows machine without 
downloading a 3rd party application (it can probably do it, I just never 
figured it out).

>
> If I do a netstat -an, there is a port 21,22, and23 listening, but no
> port 20

Then nothing is listening on that port. But that doesn't mean ftp isn't 
running, transfer modes in ftp get a bit confusing. Port 21 probably 
means it is running. Can you ftp from localhost? Likely it is a security 
restriction based on something other than firewall rules, such as 
/etc/hosts.deny or /etc/hosts.allow combinations.

D. Stimits, stimits AT attbi DOT com




More information about the LUG mailing list