Archive

Archive for March, 2022

How to enable jailed shell/SSH access to CPanel user using command line.

March 3rd, 2022 Comments off

To enable jailed shell or SSH access to CPanel user. You can run below command.

chsh -s /usr/local/cpanel/bin/jailshell username

Kindly replace username with CPanel username.

It will show output like below

[root@ ~]# chsh -s /usr/local/cpanel/bin/jailshell abcde23
Changing shell for abcde23.
Shell changed.
[root@ ~]# 
%d bloggers like this: