-
Notifications
You must be signed in to change notification settings - Fork 929
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
cf ssh error message for insufficient rights #742
Comments
We have created an issue in Pivotal Tracker to manage this. You can view the current status of your issue at: https://www.pivotaltracker.com/story/show/112506119. |
Hi Murat, Thank you for reporting this. I have handed over the linked tracker story to the Diego team, who will first take a look at it and see if they can return a better message for the CLI to display. Cheers, |
Hey Dies, I see from the pivotal tracker that there was no progress on this issue. Can you please ask the Diego team again? Cheers, |
Hi @mcelep Thanks for following up. Diego team investigated and concluded they are not able to improve the message that is returned to the CLI. So we will look at catching that message and improving it on the CLI side.
Regards, |
Hi, Any help would be appreciated.Thanks in advance. Regards, |
@dkoper, can we therefore take $ cf ssh someapp
FAILED
Error opening SSH connection: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none password], no supported methods remain
TIP: You may encounter this error if you lack the SpaceDeveloper role for the space of this app. as the solution to go for? |
@mastertinner We addressed this in
This message (not authorized...) is the message you get with most commands when you do not have the right role. The issue with the (more user friendly) approach of mentioning the required role in the output is that there is currently a Fine-grained Permissions project working on breaking down the roles so the rolename may actually confuse users soon. |
Try restarting the app, if u have just enabled ssh for the app |
Hi everyone, thank you for your feedback and comments. We no longer plan on refactoring |
Thanks! It worked after
|
Hi,
The CF CLI is generating a misleading error message for users with an AUDITOR role, when trying to connect via ssh to a diego app.
$ cf ssh someapp
FAILED
Error opening SSH connection: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none password], no supported methods remain
I would expect to see a more meaningful message, e.g. "not authorized".
BR,
Murat
The text was updated successfully, but these errors were encountered: