serving the solutions day and night

Pages

Friday, May 15, 2020

PCF - CF SSH command connection error

PS C:\\doc> cf ssh makdns-blogger-api-demo

FAILED
Error opening SSH connection: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none password], no supported methods remain

Solution
PS C:\\doc>cf enable-ssh makdns-blogger-api-demo =>  "makdns-blogger-api-demo" application name
PS C:\\doc>cf space-ssh-allowed demo  => "demo" is space name
PS C:\\doc>cf ssh makdns-blogger-api-demo