Help with transferring files with vsFTPd on Debian linux
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Ok, thanks for explaining that. One last thing, you don't have to walk me through it but could you point me in the right direction? Say I want my friend to access this FTP. My local IP is 192.168.1.152, but clearly if she tries to ftp that address she wouldn't get anywhere cuz we'd both be behind routers. Will this ftp work if we are not on the same network?
If your friend is in the same network that is 192.168.1.0 network then she can access the ftp server but if not then she wouldn't be able to. However, if you have got a public IP for this ftp server then you can access this ftp server from anywhere.
Ok, is there a lot involved with that? Would it be easier to use ssh or scp?
Not sure in which sense you are asking? Are you trying to say that if scp or ssh is easier between different networks? Well that will also not be possible unless you add routes in your router to let both networks talk to each other.
If that is the case then you can FTP even if your routers allow. You just need to open up port 20 and 21. For ssh you have to open up port 22.
Suppose you are part of network A and your system running FTP is A'.
Your friend is part of network B and her system is B'
Now for your friend to access FTP running on A' following conditions should met:
1. Network A router should be able to communicate to Network B router.
2. Host A' should be able to communicate with host B' and vice-versa.
3. Port 20 and 21 should be opened on both the routers.
4. If firewall is turned on on any of the host it should either be turned off or should allow communication on port 20 and port 21.