Ftp server in levinux

Home / Topics / Levinux Forum / Ftp server in levinux

This topic contains 4 replies, has 2 voices, and was last updated by  Mike Levin 3 years, 5 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #15642158434 Reply

    Brian Blackwell

    I’ve installed vsftpd on Levinux and it appears to run properly, but I can’t connect to the port. I’ve tried changing the listen_port in vsftpd.conf to 2121 and disabling my firewall, but I keep getting connection refused at localhost:2121

    I’m guessing that I should be able to connect to a port on localhost just like ssh and http, but I’m not sure if I to listen at a different interface of something.

    #15642158436 Reply

    Mike Levin
    Keymaster

    Try a file transfer protocol other than FTP, unless you know how to configure FTP for simple use. A combination of the complexity of the FTP port selection protocol and QEMU’s virtual network security measures make it nearly impossible to get all the nuances right. SCP and other protocols that use a single port are much easier.

    #15642158438 Reply

    Brian Blackwell

    Hey, Thanks very much for the response.

    I figured there was something odd about how QEMU ports showed up as localhost on the host machine. I’ll check out SCP, as a quick and easy solution would be handy. I’m really interested in using Levinux as dev environment though, so I’d like to learn more about it. Could you point me in the direction of some documentation or tutorials on setting up services like ftp?

    #15642158443 Reply

    Mike Levin
    Keymaster

    You’re welcome. If you need to go from host to guest (copy files INTO qemu) look at how its done with built-in tftp in the Recipe.sh script. Going the other way you can just use the webserver reachable on localhost:8080. Just drop files into the web folder.

    #15642158600 Reply

    Mike Levin
    Keymaster

    Just had to do this myself. FileZilla! It’s free and supports SSH, meaning you don’t have to do anything special on the Levinux side – it will use the built-in dropbear ssh server. When you create a new connection, do it through File / Site Manager, so you can switch it from it’s default (normal FTP) to SFTP which uses the same SSH connection as a shell. And then there you have it, visual drag-and-drop file transfer with Levinux.

    By the way, I investigated Samba for this, and it’s just to heavyweight and has too many multi-platform issues, even though true OS-style drag-and-drop would be really slick. But Levinux isn’t VMWare. It’s lightweight and old-skool.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Ftp server in levinux
Your information: