• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question How to use SFTP

spip

Basic Pleskian
Server operating system version
CentOS Linux 7.9.2009 (Core)
Plesk version and microupdate number
18.0.63 #4
Hello,
One of my customers wants to upload files to a directory on his website and wants to use SFTP access. I can't figure out how to do this in PLESK. I can only create FTP accesses.
Thank you for your help.
 
Thanks, but SSH access seems to be forbidden. Where is this setting in Plesk? Should it be done at the service plans ? (see attachment)
 

Attachments

  • Capture d’écran 2024-09-23 à 22.56.51.png
    Capture d’écran 2024-09-23 à 22.56.51.png
    31.6 KB · Views: 10
Thanks, but SSH access seems to be forbidden. Where is this setting in Plesk? Should it be done at the service plans ? (see attachment)
Chrooted should work fine. We have all our subscriptions set to chrooted when they want SFTP access. Check to see if the default port 22 is accessible on your system, or if you've customized the port check that one. Additionally, make certain that you don't have any allow/deny rules that whitelist only certain IPs.

You can check to see if your server is listening to the port by using something like netstat:
Bash:
netstat -tuln | grep :22

If you have any allow/deny rules set up in /etc/hosts.allow or /etc/hosts.deny, you can inspect those files using:
Bash:
cat /etc/hosts.allow
cat /etc/hosts.deny
 
You do not want to do it at the service plan but at the domain's host option, using chrooted. Just a fyi that even with chrooted you'll want to make sure you have some sort of monitoring on the server to ensure security.

Is there a reason why the client wants to use SFTP? Why not just use normal FTP or use FTPs?
 
My customers wants to use secure connection to send sensitive data. I still have SSH acces forbidden in the website settings. Any lead ?
 
As scsa20 mentioned, FTPS is secure.

If the customer really wants to use SFTP,

I still have SSH acces forbidden in the website settings. Any lead ?

Are you the administrator? If not, your service plan may not allow do the action below.

Plesk > Subscriptions > "Customers Subscriptions" > Hosting & DNS > Hosting > SSH access > Change the type to "bin/bash (chrooted)"
 
Back
Top