I am unable to connect to my ftp server from anything other than
the local host
ctrl4ltdeletemenews at gmail.com
Sat Jan 27 09:36:13 UTC 2007
When I try to ftp localhost I get this:
[guillermo at tester ~]$ ftp localhost
Connected to localhost.
220- Welcome message goes here :D
220 tester FTP server (Version 6.00LS) ready.
331 Guest login ok, send your email address as password.
230- READ OR DIE!!1
230 Guest login ok, access restrictions apply.
Remote system type is UNIX.
Using binary mode to transfer files.
However, when I attempt to ftp to the box's ip I get:
[guillermo at tester ~]$ ftp 192.168.1.108
Connected to 192.168.1.108.
421 Service not available, remote server has closed connection.
I'm running bsd 6.1.
I keep reading online that when that happens, it is due to a problem with
some config file.
I don't think there is a problem with it but I've listed it just in case.
pam file in /etc/pam.d/ftp
auth required pam_nologin.so no_warn
auth sufficient pam_opie.so no_warn
auth requisite pam_opieaccess.so no_warn allow_local
#auth sufficient pam_krb5.so no_warn
#auth sufficient pam_ssh.so no_warn
auth required pam_unix.so no_warn
#account required pam_krb5.so
account required pam_unix.so
session required pam_permit.so
The program is the regular ftpd that comes with bsd. I'm using inetd it
with a line
ftp stream tcp nowait root /usr/local/libexec/ftpd ftpd -l -l
I also have a line in my passwd file for ftp as anonymous:
ftp:*:14:5:Anonymous FTP Admin:/home/ftp:/nonexistent
More information about the freebsd-questions