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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Glad I could help you, Robert!
Have a nice day :)
Ana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.