Use TortoiseGit with multiple GitLab accounts


I have two GitLab account and want to use them with TortoiseGit so for that I made keys and add them to each account so no I have to key in .ssh folder like id_rsa_account1 and id_rsa_account2.<br /> Also I changed config file like <a href="https://stackoverflow.com/questions/30320458/how-to-set-up-two-ssh-keys-for-two-gitlab-accounts-and-push-pull-by-using-tortoi" rel="nofollow">here</a> and now I dont have problem in using git with cmd but I want to use it with TortoiseGit.

Now how can I have two repository like test1 and test2 and use them with TortoiseGit?


<a href="https://stackoverflow.com/q/30320458/3906760" rel="nofollow">How to set up two SSH keys for two GitLab accounts and push/pull by using TortoiseGit?</a> only works if you use OpenSSH.

For using putty plink (which is the default in TortoiseGit) you need to create an alias in putty. You can find an answer here: <a href="https://stackoverflow.com/a/29183147/3906760" rel="nofollow">https://stackoverflow.com/a/29183147/3906760</a>

You can also make TortoiseGit use Openssh by setting the ssh client to "ssh" in TortoiseGit network settings.


I have written an answer 'how to have <strong>multiple accounts with TortoiseGit with different username/password</strong> method (<strong>not with rsa keys</strong>). If you are interested in that method, then checkout the answer here <a href="https://stackoverflow.com/a/49468061/4036462" rel="nofollow">https://stackoverflow.com/a/49468061/4036462</a>


  • Google API - Redirect URI mismatch error
  • Meteor: Block access to application if user's email is not verified
  • Conditional render in tagfile depending on whether the attribute is specified or not
  • LINQ to Entities does not recognize the method 'System.String ToString()' method, and this
  • `docker cp` doesn't copy file into container
  • Does SmartGit support git-svn?
  • How to check disabled jobs with Jenkins server?
  • View Paypal shopping cart contents on my site
  • Python Paramiko send CTRL+C to an ssh shell
  • Reading XML into Datatable gives incorrect DateTime when the time has Time Zone info
  • How to resolve dependencies from one gradle project to another gradle project in my Eclipse workspac
  • Timeout a query
  • Deduce parent class of inherited method in C++
  • EF 4.1 DBContext AutoDetectChangesEnabled
  • testing a POST using phpunit in laravel 4
  • Is there any way to call saveCurrentTurnWithMatchData without sending a push notification?
  • Angular Bootstrap Carousel Slide Transition not working correctly
  • ImportError: cannot import name Pubnub
  • VSCode change debug shell to bash on windows
  • Error processing multiple files
  • How to handle elastic beanstalk deployment so it uploads only changed files
  • How to install node-mysql?
  • Hide HTML elements without javascript, only CSS
  • bad substitution shell- trying to use variable as name of array
  • Check for zero lines output from command over SSH
  • Silverlight DependencyProperty.SetCurrentValue Equivalent
  • How to add git credentials to the build so it would be able to be used within a shell code?
  • Transactional Create with Validation in ServiceStack Redis Client
  • Is there any way to access browser form field suggestions from JavaScript?
  • Join two tables and save into third-sql
  • How to model a transition system with SPIN
  • ORA-29908: missing primary invocation for ancillary operator
  • Google cloud sdk not working when python points python3
  • Run Powershell script from inside other Powershell script with dynamic redirection to file
  • VB.net deserialize, JSON Conversion from type 'Dictionary(Of String,Object)' to type '
  • Load html files in TinyMce
  • How can I get HTML syntax highlighting in my editor for CakePHP?
  • coudnt use logback because of log4j
  • Converting MP3 duration time
  • How to push additional view controllers onto NavigationController but keep the TabBar?