Pivotal Knowledge Base

Follow

"cf ssh" Command not Working in the Windows

Environment

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

Symptom

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

Error Message:

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

Cause 

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

Resolution

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.

 

Comments

Powered by Zendesk