• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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