![]() ![]() ![]() Just for complete documentation, as many above wrote the plink. Plink.exe -ssh -pw "YourPassword" -P YourPort With the port it finally worked, here the complete command: You can find your port in BitBucket Admin / Server settings. Plink.exe -ssh -pw "YourPassword" breakthrough was adding the port parameter -P. I finally did it by coincidence, because i tried from another site this complete command with password included: I wasted almost 2 days on this error, the important difference, at least for me, wasthat i constantly got an "access denied" error with the plink command. and was able to clone just fine after that.įor everyone who is struggling with this error on BitBucket SERVER ( on prem) or who has Custom Ports. I got this response (and pressed enter), Access granted. Use your keys in your SSH workflows, like when you work. The SSH agent works with your existing SSH clients and acts as their key provider. Use the 1Password SSH Agent to authenticate all your Git and SSH workflows. Autofill public keys in your browser for Git and other cloud platforms. enter your bitbucket username and press enter. With 1Password, you can: Generate and import your SSH keys. Then when it prompts for your login, login as: Store key in cache? (y/n, Return cancels connection, i for more info) That the server is the computer you think it is. ![]() Then you'll get this: The server's host key is not cached. I was able to fix this in Windows 11 by running the following code in the command line (Sourcetree is installed in a different location than most programs by default apparently): "C:\Users\username\AppData\Local\SourceTree\app-3.4.8\tools\putty\plink.exe" Ĭhange "username" to your PC username, and change "app-3.4.8" to the appropriate folder with your version of sourcetree. But any login I can imagine, such as for my bitbucket account fails :įATAL ERROR: Disconnected: No supported authentication methods available (server sent: publickey)īTW, the command line versions of the git commands work fineĪny help in this matter would be appreciated. After I enter yes, I am prompted for a login. When I do this, I am indeed prompted to trust the server. It simply switches to Embedded without any more messages or confirmations.Ģ) Run the command "C:\Program Files (x86)\Atlassian\SourceTree\tools\putty\plink.exe" When I do this I am not prompted to trust the host. The solution offers two workarounds:ġ) " Just get SourceTree to use Embedded Git and get it to trust the host" If you do not trust this host, press Return to abandon theīut this does not resolve the problem. If you want to carry on connecting just once, without If you trust this host, enter "y" to add the key to Have no guarantee that the server is the computer you The server's host key is not cached in the registry. Git -c diff.mnemonicprefix=false -c core.quotepath=false fetch origin In a brand new installation of SourceTree on a brand new WIndows 10 I am getting and error for push/pull/fetch etc : ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |