Pivotal Knowledge Base

Follow

cf ssh command not working in Windows

Environment

Product Version
Pivotal Cloud Foundry® (PCF)  1.9.x, 1.10.x, 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 of the Windows server.

Comments

Powered by Zendesk