How to give limited SSH access to Plesk domain's system user

Follow

Comments

9 comments

  • Avatar
    Umar Mughal

    Hi, how do i allow permission to user over SFTP to only httpdocs folder not root?

    0
    Comment actions Permalink
  • Avatar
    Ivan Postnikov

    @Umar Mughal

    Hello!

    Such functionality is not implemented in Plesk.

    SFTP works over SSH and subscription users are able to access all files of subscription.

    New features may be suggested here

    0
    Comment actions Permalink
  • Avatar
    Umar Mughal

    Alright Thanks!

    0
    Comment actions Permalink
  • Avatar
    Multimedia Pool (Edited )

    Sorry, to ask this simple question. I executed the command with john_doe and got no output. Is the name john_doe only a placeholder for a real name (customer) or is john_doe himself a real account? I mean, does john_doe already exist by perhaps Plesk or Ubuntu 18 or do I have a greater problem with permissions?

    Another important question is, which type of access is usually used by hosters? The first one (/bin/sh) or what do you suggest?

    0
    Comment actions Permalink
  • Avatar
    Ivan Postnikov

    Hello @Markus,

    john_doe is a placeholder, you should use the name of a subscription system user instead, it may be checked here:

    > Another important question is, which type of access is usually used by hosters?

    It depends on preferences, from my experience, the most common are:

    Forbidden, /bin/bash and /bin/bash (chrooted)

    0
    Comment actions Permalink
  • Avatar
    Multimedia Pool

    Thank you very, very much for this support. Plesk and Plesk support is great.

    0
    Comment actions Permalink
  • Avatar
    Alisa Kasyanova

    @Markus Wernecke
    Thank you for you kind words! We are always glad to help :)

    0
    Comment actions Permalink
  • Avatar
    swang liao

    If you disable Plesk SSH, how can you still provide SFTP access to the end user to upload the web content? Isn't it SFTP is part of SSH. If you disable SSH port, it will disable SFTP as well? 

    Our security team don't like SSH access open to the internet. 

    0
    Comment actions Permalink
  • Avatar
    Daria Gavrilova

    Hello @swang liao,

    Thank you for your question.

    If SSH is completely disabled on the server, then SFTP will not work as well.

    However, it is possible to enable SFTP Without Shell Access if the additional configuration is done.
    More information on this matter you may find on this 3party resource: How To Enable SFTP Without Shell Access

    To improve the server security and continue using SSH, please check the following article: How to secure a Plesk server

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request