2018年8月3日 星期五

ssh 紀錄

使用ssh遇到的錯誤


ssh-add ...

錯誤:"Could not open a connection to your authentication agent."

解決方法:
    ※若使用Windows系統,則必須開啟Git Bash才能執行。
先執行
eval `ssh-agent -s`
再執行
ssh-add
就沒有問題了


錯誤:"no kex alg"
解決方法:
    ※若使用Windows系統,則必須開啟Git Bash才能執行。
export GIT_SSH_COMMAND='ssh -oKexAlgorithms=+diffie-hellman-group1-sha1'

沒有留言:

張貼留言