Issue
i am trying to connect to my bluehost wordpress website through ssh but i get the error
channel 4: open failed: administratively prohibited: open failed
i am able to connect through the terminal and it works but i cant use vscode
I tried to downgrade or upgrade the extension but still no luck
Solution
channel 4: open failed: administratively prohibited: open failed
This means that the local ssh process sent a request to the remote ssh server process requesting to open a channel, and the remote ssh process refused the request. If you're getting this with vscode while trying to use a remote access feature, it seems likely that ssh is trying to open a port forwarding channel, and the remote server is configured not to accept port forwarding requests.
You will need to alter the ssh server configuration on the remote system. If you don't have access to do that, you should contact the administrators for the remote system. There are two ways to disable port forwarding on the remote system:
- The sshd AllowTCPForwarding option may be set not to permit forwarding.
- If you're using an ssh key to authenticate to the remote system, the authorized_keys file entry for the ssh key that you're using may have the no-port-forwarding or restrict options set.
Answered By - Kenster Answer Checked By - Gilberto Lyons (WPSolving Admin)