Git学習のために環境設定をしていたのですが、そこで詰まっております。
環境
Git:git version 2.28.0.windows.1
OS:Windows 64bit
コマンド:GitBash
やったこと
1.~/.ssh/.configの設定
Host github HostName github.com User git IdentityFile ~/.ssh/id_rsa
2.秘密鍵と同じディレクトリにある公開鍵(id_rsa.pub)をgithubの「SSH kyes」に登録
3.GitBashで「ssh github」と叩くと以下のエラーが出る
ssh: Could not resolve hostname github: Name or service not known
まだ回答がついていません
会員登録して回答してみよう