How can I use ~/.ssh/config with Windows/PuTTY? Are PuTTY settings stored in the registry? I wish to have my PuTTY settings in git. So it needs to be a human readable text file.

closed as off-topic by Jeff Schaller, garethTheRed, Jakuje, PersianGulf, MelBurslan May 4 '16 at 22:45

  • This question does not appear to be about Unix or Linux within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 4
    I'm voting to close this question as off-topic because The question appears to ask if Putty settings are store in the registry, this is a unlix/linux forum. – X Tian Jun 30 '15 at 11:16
  • @XTian - PuTTY is a Windows and Linux application. Shown here: linuxtechi.com/install-putty-in-ubuntu. Wikipedia page lists it as both too: en.wikipedia.org/wiki/PuTTY. Granted the OP is asking in the title w/ "Windows/PuTTY" so it's unclear if they this Q is targeted to Windows or Linux but this Q does have some merit. – slm Jun 30 '15 at 12:37
  • 1
    On a side note, what do you intend to put under git ? ~/.ssh/config ? or dump of putty registry ? – Archemar Jun 30 '15 at 12:40
  • 2
    @slm tks for the clarification. @fyodor, Please help by clarifying your question, I may have misunderstood, but I read that your client is on windows and your server is linux, ~/ssh/config is used by linux clients, the linux server is configured with /etc/ssh/sshd_config ? Windows PuTTY doesn not currently support configuration via files, although there is a work-around mentioned in their documentation. See Section 4.28 the.earth.li/~sgtatham/putty/0.64/puttydoc.txt – X Tian Jun 30 '15 at 13:16
  • 4
    I'm voting to close this question as off-topic because the question still appears to ask about configuring Windows/PuTTY. – Jeff Schaller May 4 '16 at 19:31

Yes you can! But it's another path where the Putty settings are stored. Where exactly the Putty configuration is stored is system dependant, but you can use a PuTTY session name just as if you would use a hostname for ssh to use that with git, at least with the git port for windows. That way you can set the auto-login user or other session features with the PuTTY client, save a session under a name you can remember and use the saved session name as a git host.

Git for Windows can use both, an integrated ssh client and the putty client. I never tried that on linux. There are several guides how to use that, when you search the internet.

Not the answer you're looking for? Browse other questions tagged or ask your own question.