Trying to “install” github, .ssh dir not there

前端 未结 1 563
别跟我提以往
别跟我提以往 2021-01-24 03:42

I\'m following the step by step directions of github. I\'m trying to install it on windows 7.

The documentation states the key will be stored in /users/tedpottel/.

相关标签:
1条回答
  • 2021-01-24 04:26

    You should be able to create your ssh directory in a DOS session:

    cd c:\Users\tedpottel
    mkdir .ssh
    

    Use the git-cmd.bat provided by msysgit to launch your DOS session.
    Path like /users/tedpottel/.ssh/ are unix-like paths that you can use in a bash session, also included in msysgit.

    In that git-cmd.bat, the environment variable HOME will be set to c:\Users\tedpottel, which is important if you want ssh to works properly (it will look for public/private keys in %HOME%\.ssh).

    0 讨论(0)
提交回复
热议问题