###### tags: `git`, `git bash` # git 無法 bash 問題 紀錄如何修正bash時的錯誤 1. 要在userprofile底下建立一個.ssh資料夾  <br /> 2. 在裡面建立一個config檔案(無副檔名),可放多個HOST ```csharp= Host IP位置 HostkeyAlgorithms +ssh-rsa PubkeyAcceptedAlgorithms +ssh-rsa User git server 的使用者名稱 ```  <br /> 3. 在完成下code後.ssh資料夾會新增出一個"known_hosts"檔案,裡面就是金鑰了, 之後就可正常作業了。  ㄇ
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up