Making ftp work
Forum: DSL Tips and Tricks
Topic: Making ftp work
started by: bb30994
Posted by bb30994 on July 04 2006,02:58Please be patient - - I'm a newbie. If this is the wrong forum, please move it.
When I booted DSL from my flash drive, I told it to enable ftpd. Apparently that worked, because when I attempt to make an ftp connection to it from another machine, I am asked me for a user and password. I tried anonymous and an email address but it refused the connection. I tried dsl but don't have a password. I didn't try root because AFAIK it doesn't have a password either and that would not be my preferred method, even if it worked.
How do I connect to it?
Posted by roberts on July 04 2006,17:38Before opening ports to allow outside access you should set your own passwords A simple way to do this is to use the boot option secure. You will be prompted to enter passwords for both root and user dsl
From a running system use the following:
$ sudo passwd dsl
Posted by whiteweasel on July 05 2006,01:06
sftpd (Secure FTP daemon) is far superior to ftpd. The problem with ftp is that passwords are generally passed in clear text. sftpd and scp (secure copy) are part of the sshd daemon. You could start ssh instead of ftpd and you'd be far better off.
Any Linux or UNIX box will almost certainly have SSh installed so you'll easily be able to sftp or scp from them. If you need to ftp in from a Windows box putty, a free SSH client for Windows, supports both sftp and scp.