Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

git login issue from linux command line

Robert Bradford January 31, 2018

We have recently moved to hosted bitbucket, now have ssh keys with no passphrase in place but when I try to do a git clone I get the following:

Cloning into  '<repository-name>'...

(gnome-ssh-askpass:26720): Gtk-WARNING **: cannot open display:
error: unable to read askpass response from '/usr/libexec/openssh/gnome-ssh-askpass'

** Note I replaced the real repository name with <repository-name>

We do not use GNOME or any other GUI front end on this server, how do I get around this issue so I can clone the required repository?

Any help would be appreciated.

 

Rob.B

 

 

2 answers

1 accepted

3 votes
Answer accepted
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 31, 2018

Hi Rob! Can you run the below command and then try again?:

unset SSH_ASKPASS

You can also add the line to your .bashrc file.

Let us know if it worked for you!

Best regards,

Ana

0 votes
Robert Bradford January 31, 2018

Ana

That sorted it thank you.

Rob

Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 31, 2018

Glad I could help you, Robert!

Have a nice day :)

Ana

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events