Secure FTP?

Anyone know of a way to make ftp secure? I'm using the debian distro on my linode, and XP on my home machine.

Here's what I'm worried about:

If I use unsecure ftp to upload, say, a .php file then I'm exposing my root password when I connect and any mysql password that's in the .php file.

I suppose one possible solution is: (1) Use anonymous ftp to upload files. (2) Put dummy passwords in .php files for the upload, then edit them in place using ssh to put the real passwords in the files.

That seems like a big hassle though, any other ideas? Thanks.

5 Replies

I believe (open)ssh comes with an sftp server built in. Then you just need an FTP client that can do sftp.

-Chris

Do you know of any free sftp clients? Or is there just ws-ftp pro (which is not free)?

@OrionXI:

Do you know of any free sftp clients? Or is there just ws-ftp pro (which is not free)?

I think PuTTY has an sftp client available 'PSFTP'

http://www.chiark.greenend.org.uk/~sgta … nload.html">http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

-Chris

Thanks. I've been on that putty page several times in the last few weeks and never noticed the sftp part.

I highly recommend WinSCP2 (http://winscp.sourceforge.net/eng/).

Kenny

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct