Pivotal Knowledge Base


"cf ssh" Command not Working in the Windows


Pivotal Cloud Foundry® (PCF) versions 1.9.x, 1.10.x, and 1.11.x 


When using the cf ssh <application>, it fails and gives the error message shown below:

Error Message:

Error: SSH session allocation failed: ssh: rejected: administratively prohibited
(SSH is not supported on windows cells)


This is a known limitation with Windows. Currently, Diego for Windows does not support access to applications via Secure Shell (SSH).


An alternative is to use Remote Desktop to connect to a computer running Windows from another computer that's connected to the same network and is also running Windows. Remote Desktop is not a function of PCF, but a core functionality of Microsoft Windows.  As such, you would configure Remote Desktop access in accordance with your company's procedure and policies for remote access to the Windows server.



Powered by Zendesk