LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Anonymous SFTP in proftpd (https://www.linuxquestions.org/questions/linux-software-2/anonymous-sftp-in-proftpd-167936/)

vrillusions 04-08-2004 08:00 PM

Anonymous SFTP in proftpd
 
Is it possible to enable sftp (secure ftp) for anonymous users? I know this is kinda odd since there's nothing to really secure if they login as anonymous (aside from the files being sent, and also the compression might help), but I don't want to allow "regular" ftp access from outside the network. I've found I can just enable port 22 for sftp and a regualr user can log in fine from the internet. But anonymous can't, getting authentication errors (I'm assuming because anonymous doesn't have a password). I could set an aliased password, but that would mean any anonymous user would have to use that password, and i"m not even sure if that would work. I checked the logs and it doesn't say anything (I'm assuming because anonymous hasn't gotten through the ssh login yet, so it's not going to show up in proftpd logs. Any ideas? TIA.

btw, an alternate method would be to enable anonymous only for reguarl ftp and not allow any users to login via standard ftp and must use sftp to log in, although taht isn't preferred since that's another port to open on the firewall.

Darkangel90 04-09-2004 02:21 AM

I think proftp runs on port 21 and is one program for "ftping" another program is ssh that runs on port 22 that runs a secure shell for login and sftp that allows secure transfers.

I don't know and don't think that they can be integrated into each other. Also if you want secure file transfers use sftp and i think you can generate a public key for login in. I don't know if you want to allow anynomous login that way because of security issues or if it is possible to do.

If you only want anynomous logins and would recomend proftp, i know that its used my many people just for that purpose.

I hope this helped...:)


All times are GMT -5. The time now is 10:23 AM.