PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Monday, November 14, 2022

[FIXED] How to limit plesk user with SSH access only to his own webspace

 November 14, 2022     chroot, permissions, plesk, ssh     No comments   

Issue

I have created a Parallels plesk panel webspace and allowed SSH access:

  1. In plesk go to the webspace
  2. Websites & domains tab
  3. Web hosting access
  4. In Access to the server over SSH select /bin/sh

I connected by SSH and I realised I can go everywhere in the server and create files.

I would like to limit the SSH access just to the user directory.

I read about chroot. Do you think it is the solution? There isn't a way to configure directly in Plesk?


Solution

It was as easy as select:

Access to the server over SSH: /bin/bash (chrooted)

enter image description here



Answered By - Mikel
Answer Checked By - David Goodson (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing