Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSH to foundations which require CAPI v3 fails #14

Open
menicosia opened this issue Sep 30, 2019 · 0 comments
Open

SSH to foundations which require CAPI v3 fails #14

menicosia opened this issue Sep 30, 2019 · 0 comments

Comments

@menicosia
Copy link

menicosia commented Sep 30, 2019

On PWS, old CAPI v2 cf ssh doesn't work anymore, I forget why.

Now, to ssh to a service instance, you have to use the cf v3-ssh command.

Here's how the current implementation fails:

→ cf mysql clickpointDB --execute='show databases;'
Creating new service key cf-mysql for clickpointDB...
panic: SSH tunnel failed: Error opening SSH connection: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none password], no supported methods remain

goroutine 13 [running]:
github.com/andreasf/cf-mysql-plugin/cfmysql.(*sshRunner).OpenSshTunnel(0x16963a0, 0x1476380, 0xc42014e870, 0x7ffeefbff8f9, 0xc, 0xc4204738c0, 0x1c, 0xc42052e2f8, 0x4, 0xc42048cd20, ...)
	/home/travis/gopath/src/github.com/andreasf/cf-mysql-plugin/cfmysql/ssh_runner.go:25 +0x260
created by github.com/andreasf/cf-mysql-plugin/cfmysql.(*cfService).OpenSshTunnel
	/home/travis/gopath/src/github.com/andreasf/cf-mysql-plugin/cfmysql/cf_service.go:61 +0x107
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant