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
atlassian, forge, forge learning path, atlassian learning, cloud app development, forge app development, build forge apps, atlassian certification, developer training, jira app development, confluence app development, automation, ui frameworks

Turn Ideas into Atlassian Apps 📱

From setup to deployment—this learning path shows you how to build your first app using Forge. Learn the essentials, streamline workflows, and bring custom solutions to life across Jira, Confluence, and more.

Start Learning
AUG Leaders

Atlassian Community Events