• 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 Restrict the access to Home Directory via SFTP

Thomas Oryon

Basic Pleskian
Server operating system version
Windows 2022 server
Plesk version and microupdate number
18.0.56
Hello Support,

We are using Plesk Windows Server and have set up SFTP access with chroot restrictions using OpenSSH. Our current setup restricts each user to a specific directory by manually adding entries in the sshd_config. Kindly refer to the below snippet for your reference.

+++
Match User ftpuser
ChrootDirectory C:\inetpub\vhosts\yourdomain.tld
ForceCommand internal-sftp
AllowTcpForwarding no
+++

This method works fine for a few users, but it becomes difficult to manage when there are many users. Manually adding each user is not practical for a mass hosting service.

Kindly let us know if Plesk has any built-in tools, extensions, or scripts that can help with this.

Awaiting your replay.
 
We need to know the below details regarding the SFTP.

+++
1. How to connect sftp for admin user what are the requirements - using Plesk username passwors, we need to login to sftp and what are all the req
2. Open SSH connect via main account - What option is enabled while we install opensssh and how sftp works here
3. For Windows and Linux Plesk servers, When we create the FTP accounts in Plesk panel and how they are accessing the FTP via SFTP
4. What is the steps need to for SSH client setup (SFTP) and how the Plesk user are able to connect via SFTP - what happens if we off and on and how it works
+++
 
We need to know the below details regarding the SFTP.

+++
1. How to connect sftp for admin user what are the requirements - using Plesk username passwors, we need to login to sftp and what are all the req
2. Open SSH connect via main account - What option is enabled while we install opensssh and how sftp works here
3. For Windows and Linux Plesk servers, When we create the FTP accounts in Plesk panel and how they are accessing the FTP via SFTP
4. What is the steps need to for SSH client setup (SFTP) and how the Plesk user are able to connect via SFTP - what happens if we off and on and how it works
+++
 
You've posted the same questions several times, but nobody replied. You might want to rephrase your questions with additional details making it easier for other users to understand your objectives and exact needs.

I also want to emphasize that, although Plesk staff tries to help answering questions, this is a community forum. If you like or need Plesk support engineers to answer specific you might want create a support ticket instead. Community users are generally quite willing to answer questions from new users, but I suspect that your questions aren't well understood (at least not by me).

None the less, let me try to anser your questions best I can.
1. How to connect sftp for admin user what are the requirements - using Plesk username passwors, we need to login to sftp and what are all the req
Admin users do not have SSH or FTP access. You can either use Root to get full access the server, create system users outside of Plesk with (or without) root privileges. Using the root user to access the server is generally discouraged due to security concerns.

2. Open SSH connect via main account - What option is enabled while we install opensssh and how sftp works here
I don't understand this question. Can elaborate on your question?

3. For Windows and Linux Plesk servers, When we create the FTP accounts in Plesk panel and how they are accessing the FTP via SFTP
I don't understand this question. Perhaps you can search the Plesk documentation to find an answer on your question regarding FTP via SFTP. If the documentation does not provide an answer, please rephrase your question.

4. What is the steps need to for SSH client setup (SFTP) and how the Plesk user are able to connect via SFTP - what happens if we off and on and how it works
I don't understand this question. Can elaborate on your question?
 
Hello Support,

I need to know the below details.

1. How to connect to SFTP for an admin user in Plesk?
- We need to log in to SFTP using the Plesk admin username and password.
- What are the requirements for this?
- Does the admin user have direct SFTP access, or is there any restriction?
- Do we need to enable any specific service or setting in Plesk to allow SFTP access for the admin user?
- Is SFTP enabled by default, or do we need to configure OpenSSH or another service?
- Does Plesk use the same authentication mechanism for FTP and SFTP, or do they have separate configurations?

---

2. How does OpenSSH connect via the main account in Plesk?
- When installing OpenSSH, what options or features are enabled by default in Plesk?
- Does Plesk automatically configure SSH access for users upon installation of OpenSSH, or do we need to manually enable it?
- How does SFTP work with OpenSSH in Plesk?
- Is SFTP enabled by default when OpenSSH is installed?
- Do we need to configure any specific permissions for Plesk users to allow SFTP access?
- How can we restrict SFTP access to certain users while keeping SSH access enabled for others?

---

3. How do FTP accounts work in Windows and Linux Plesk servers, and how do they access SFTP?
- When we create FTP accounts in the Plesk panel:
- Are those accounts automatically granted SFTP access?
- If not, how do we enable SFTP for an FTP account?
- What are the differences between FTP and SFTP access in Plesk for Windows and Linux servers?
- For Windows servers:
- Does Plesk use Microsoft IIS FTP Server for FTP accounts?
- If IIS FTP is enabled, does Plesk support SFTP on Windows, or do we need an external service like OpenSSH?
- For Linux servers:
- Is SFTP access granted by default for all FTP accounts?
- Can we use chroot jails to restrict SFTP users to specific directories? If yes, how we can setup this as default for all the Plesk FTP accounts?

Awaiting your reply.
 
Back
Top