Question Command 'plesk bin site -u -shell' option missing in latest plesk version?

danimora

Basic Pleskian
Server operating system version
AlmaLinux 8.10 (Cerulean Leopard)
Plesk version and microupdate number
Plesk Obsidian v18.0.63_build1800240825.09 os_RedHat el8
Hi everyone,

I’ve been trying to follow the Plesk documentation here: link, which mentions that you can enable shell access for a domain using the -shell parameter with the plesk bin site command.

However, when I run this command:

Code:
plesk bin site -u example.com -shell /bin/sh

receive the error: Unrecognized option: 'shell'.

After checking the available options with plesk command line, it seems like the -shell option isn’t listed or supported in the latest Plesk version (18.0.63).

Has anyone else run into this issue? Is there a different way to enable shell access programmatically after creating a site? Any tips or workarounds would be greatly appreciated!

Thanks in advance for any help!

Cheers,

Dani
 
Unfortunately the documentation lists the the -shell option by mistake. Because the -shell is only available for the subscription utility. As shell access is managed on subscription level, not on site level.

So instead you can use:
Code:
plesk bin subscription -u example.com -shell /bin/sh
However, only if the domain is a subscription.
 
Back
Top