1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

SFTP access without shell access

Discussion in 'Plesk for Linux - 8.x and Older' started by thewolf, Oct 2, 2007.

  1. thewolf

    thewolf Regular Pleskian

    25
    57%
    Joined:
    Mar 11, 2004
    Messages:
    231
    Likes Received:
    0
    Hi,

    We're running Plesk 8.1.1 on Red Hat Enterprise Linux 4.

    Is there any way to grant SFTP access for a domain without shell access using the default Plesk installation?

    Thanks.
     
  2. breun

    breun Golden Pleskian

    29
     
    Joined:
    Jun 28, 2005
    Messages:
    1,647
    Likes Received:
    0
    I believe you can add /usr/libexec/openssh/sftp-server to /etc/shells and the set that as the shell for the user for SFTP only access.

    You can also install scponly (Dag/RPMForge has rpms), make sure /usr/bin/scponly is in /etc/shells and set the shell for the domain to /usr/bin/scponly for SCP only access.
     
  3. thewolf

    thewolf Regular Pleskian

    25
    57%
    Joined:
    Mar 11, 2004
    Messages:
    231
    Likes Received:
    0
    If you do so, will the new shells automatically appear in the Plesk shells dropdown?

    Thanks.
     
  4. breun

    breun Golden Pleskian

    29
     
    Joined:
    Jun 28, 2005
    Messages:
    1,647
    Likes Received:
    0
Loading...