SFTP new ftp accounts aint working

illusiondrmr

New member
Joined
Oct 22, 2012
Messages
4
Hello there,

Im asking this in case you know how to fix my problem with SFTP.

I' ve used this :

http://help.directadmin.com/item.php?id=439

and i successfully managed to login to FTP using my USER accounts. The problem is when i try to make a new FTP ACCOUNT within a domain, when i try to connect with filezilla i always get a message about wrong login details. I've read somewhere that only users with SSH access can use the SFTP now. And those are the users ive created within directadmin and each one of them might own multiple domains

So, the FTP accounts i create within a domain aint able to login to FTP either using simple ftp or sftp.

Do you know any solution about SFTP ? How maybe to make a new user and give him FTP access with SFTP, in order to see only the public_html folder in the corresponding domain ?
 
Hello,

Did you check your ProFTPd logs? What is there?

auth.log:ProFTPd [5281] 1.2.3.4 [22/Oct/2012:17:06:25 +0400] "USER [email protected]" 331
auth.log:ProFTPd [7234] 1.2.3.4 [22/Oct/2012:17:06:50 +0400] "USER [email protected]" 331
sftp.log:Οκτ 22 12:53:39 mod_sftp/0.9.8[1769]: no supplemental groups found for user '[email protected]'
sftp.log:Οκτ 22 08:53:39 mod_sftp/0.9.8[1769]: user '[email protected]' authenticated via 'password' method

*Ip and usernames aint the real ones for obvious reasons.

Those are the errors. Question : Could you please let me know if it is possible to create multiple sftp users for one domain?
 
As a sidenote. Could you please provide me the code, in order to remove the SFTP function and return to normal FTP access once again.. ? (In case, i won't manage to solve this mystery...)..

Thnx.
 
I see that you logged without a error:

sftp.log:Οκτ 22 08:53:39 mod_sftp/0.9.8[1769]: user '[email protected]' authenticated via 'password' method

So that should be OK. What error do you get in FileZilla? It would be great if you show the whole history from FileZilla.

To disable ProFTPd SFTP, do the following:

Code:
cd /usr/local/directadmin/custombuild
rm -fr custom/proftpd
./build update
./build set proftpd yes
./build proftpd
 
Ok, i found the solution.

In every case i should use SFTP (normal FTP ain't working anymore, at least in my case).

The solution was to use the port 23 with SFTP ON in filezilla. The mistake was that i left the PORT field empty or i used the 22.

Thnx for the replies.
 
That's for sure, you can not use FTP and sFTP together with one server IP. But it's still possible to set FTP to one IP on your server and sFTP on another IP on your server.
 
Back
Top