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

User not asked for credentials #283

Closed
bragagia opened this issue Apr 13, 2017 · 3 comments
Closed

User not asked for credentials #283

bragagia opened this issue Apr 13, 2017 · 3 comments
Assignees

Comments

@bragagia
Copy link
Contributor

bragagia commented Apr 13, 2017

The first three time I try to use the CLI, i'm getting an error saying I'm not authorized without any request of credentials.

kanak$ scalingo user-timeline
 !     An error occured:
       unauthorized - you are not authorized to do this operation
kanak$  scalingo user-timeline
 !     An error occured:
       unauthorized - you are not authorized to do this operation
kanak$ scalingo apps        
 !     An error occured:
       unauthorized - you are not authorized to do this operation
kanak$ scalingo user-timeline
-----> Currently unauthenticated
       Trying login with SSH…
 !     SSH connection failed.
       Trying login with user/password:

       Username or email: ...

Having a ssh key on my computer, but not configured with my Scalingo account.

@bragagia
Copy link
Contributor Author

bragagia commented Jun 1, 2017

I'm unable to reproduce this bug and it append on local dev stack so i close this issue.
Please add a comment if you are concerned.

@bragagia bragagia closed this as completed Jun 1, 2017
@bragagia
Copy link
Contributor Author

~ scalingo --app myapp stats                                                                                                                       129 ↵
-----> Currently unauthenticated
       Trying login with SSH…
-----> Hello bragagia, nice to see you!
 !     SSH connection failed.
       Trying login with user/password:

       Username or email:

Seems linked.

Cli auth infos are empty :

~ cat .config/scalingo/auth
~ 

ssh correctly works :

~ ssh -T git@scalingo.com
You've successfully authenticated on Scalingo, but there is no shell access
~   

My key is correctly registered in ssh-agent :

~ ssh-add -l
2048 SHA256:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx /home/kanak/.ssh/id_rsa (RSA)
~ 

It appens on released version and on git version.

@bragagia bragagia reopened this Jun 12, 2017
@bragagia
Copy link
Contributor Author

Solved by #293

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