UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
No it doesn't help.
The ip address shown in the output of ifconfig is 192.168.168.180. The network admin has defined a valid ip 178.x.y.z which can be accessed from outside world. So, from home, when I ping the hostname, I see 178.x.y.z
My question is, should I write 192.... or 178... in pasv_address?
Still I have problem after restarting the service. As you can see below, the ssh works, but ftp doesn't work even from local network.
Code:
[root@rocks7 ~]# ssh mahmood@192.168.168.180
Warning: Permanently added '192.168.168.180' (ECDSA) to the list of known hosts.
mahmood@192.168.168.180's password:
Warning: untrusted X11 forwarding setup failed: xauth key data not generated
Welcome to Ubuntu 14.04.5 LTS (GNU/Linux 3.13.0-147-generic x86_64)
* Documentation: https://help.ubuntu.com/
....
$ exit
Connection to 192.168.168.180 closed.
[root@rocks7 ~]# ftp -p 192.168.168.180
ftp: connect: Connection timed out
ftp>
[root@rocks7 ~]# ftp -p ftpuser@192.168.168.180
ftp: ftpuser@192.168.168.180: Name or service not known
ftp> quit
You still have to specify a listen port. If a firewall is running on the server you need to allow traffic on whatever you are using for its listen_port.
The server is on vmware. Although I specified ftpuser, what do you think about this?
Code:
root@ce:~# ftp ftpuser@localhost
ftp: ftpuser@localhost: Name or service not known
ftp> exit
root@ce:~# ftp localhost
ftp: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
220 (vsFTPd 3.0.2)
Name (localhost:mahmood):
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.