When I use FileZilla to connect via FTP to my VestaCP server, I noticed that there is also a "SFTP" option in FileZilla's "site manager".

Well, after some googling, I know that SFTP is safer than FTP.

Then, how can I use SFTP to connect to my server? Is it supported by VestaCP by default? Or do I need some special settings?

Do I need to buy the "SFTP Chroot" plugin from VestaCP team to enable SFTP? If I don't care which folder the SFTP will login in( I am the only user on this VPS), do I still need to buy that plugin to enjoy SFTP?

When I use the default user "admin" which was created AUTOMATICALLY by VestaCP during its insllation, I just fill in this username and his password (which was also generated by VestaCP automatically) into Fizilla and choose "SFTP". Then I successfully connected to my sever !

However, in next test, I used another user, which was created by me on VestaCP GUI panel, to connect via SFTP, but failed.

When I use the default user "admin" which was created AUTOMATICALLY by VestaCP during its insllation, I just fill in this username and his password (which was also generated by VestaCP automatically) into Fizilla and choose "SFTP". Then I successfully connected to my sever !

However, in next test, I used another user, which was created by me on VestaCP GUI panel, to connect via SFTP, but failed.

Filezilla returned following error message:

Received unexpected end-of-file from SFTP server

Why a new user in VestaCP can not use SFTP?

Thank you.

Hi baijianpeng!I'm having exactly the same problem. For new users, no SFTP. So, following instructions here, I used vesta guid to change it: I logged in as admin, clicked on EDIT user, and changed the option under SSH (bash, nologin, sh) - I changed to bash. It worked, I was able to login in with SFTP. However - and this is the PROBLEM - I could see all the folders and files since /root, and not only the ones under that specific user (conf/mail/tmp/web). How does one solve that?Thanks,Ulisses