Try   HackMD
tags: git, git bash

git 無法 bash 問題

紀錄如何修正bash時的錯誤

  1. 要在userprofile底下建立一個.ssh資料夾
    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →


  2. 在裡面建立一個config檔案(無副檔名),可放多個HOST
Host IP位置 HostkeyAlgorithms +ssh-rsa PubkeyAcceptedAlgorithms +ssh-rsa User git server 的使用者名稱

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →



3. 在完成下code後.ssh資料夾會新增出一個"known_hosts"檔案,裡面就是金鑰了, 之後就可正常作業了。
Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →