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
Fetching orgin from the remote branches on first load asks for the ssh key #6047
Comments
@vbjay has provided a number of detailed responses to the similar issues in #4916. Please read #4916 (comment) onwards and see if those resolve your issues. |
The setup is the same and works if I pull/fetch from the commit list in the center: However if I open the repo for the first time and try to fetch from the remote tree it will not work since the fetch command does not launch pageant and does not add the key from the repo settings asking you to manually load it |
That context menu should be calling the same code as the fetch button on the toolbar. We shouldn't be duplicating code and instead call a preformFetch method that gets called by the fetch menu option and if the button default is set to fetch. Same with other context menus. |
Yes, as @vbjay says, the fetch code for the Remote node in the left panel isn't the same as FormBrowse. Just tested a quick fix, and it seems to work. Will open an PR. |
Could you please try this build and confirm the fix |
When opening this version I get the following error:
Besides that remotes > origin > fetch works now, but remotes > origin > [branch_name] > fetch/fetch & [commmand] have the same issue |
Current behaviour
Trying to fetch the origin from the branches view asks to load the ssh key
(No supported authentication methods available (server sent: public key)
It seems that the key is not loaded, while fetching first the master from the commit list will load the key correctly making the following fetch from the remote tree to work
Expected behaviour
The branch should be fetched.
Steps to reproduce
Screenshots
The text was updated successfully, but these errors were encountered: