公司內網使用git clone報錯ssh連線超時
ssh -T git@github.com
測試ssh,報連線超時
ssh -T -p 443 git@ssh.github.com
換成443埠,依然連線超時
https://help.github.com/articles/using-ssh-over-the-https-port/
這裡估計是公司代理上網,導致無法使用ssh https://stackoverflow.com/questions/15589682/ssh-connect-to-host-github-com-port-22-connection-timed-out
按照上面的說明將ssh換成https時git config --local -e
報錯,先不管了~
關鍵
直接配置~/.gitconfig
檔案git config --global http.proxy http://userName:password@proxyaddress:port
git config --global https.proxy https://userName:password@proxyaddress:port
然後使用git clone https:
這種模式
https://stackoverflow.com/questions/18356502/github-failed-to-connect-to-github-443-windows-failed-to-connect-to-github
https://stackoverflow.com/questions/496277/git-error-fatal-unable-to-connect-a-socket-invalid-argument
相關文章
- SSH 方式 Git cloneGit
- ssh連線超時的解決
- Git|記一次Git clone報錯Git
- 如何知道 Git clone 時 GitHub 使用的是哪個 SSH key 呢Github
- idea在使用git clone 時出現Filename too long的報錯資訊IdeaGit
- SecureCRT使用SSH連線linux超時後自動斷開SecurecrtLinux
- 如何除錯SSH連線除錯
- ssh連線Linux收到The remote system refused the connection報錯LinuxREM
- GIT clone報錯: SSL certificate problem: unable to get local issuer certificateGit
- CentOS 7 SSH 連線超時自動斷開解決方案CentOS
- Winodws同時連線內網和外網內網
- 內外網同時連線解決
- xshell連線tx1,git clone出現.git/info/refs not valid: is this a git repository?Git
- Mac 環境下連線多個git — ssh方式MacGit
- 使用ssh連線伺服器伺服器
- 連線oracle報錯Oracle
- linux 遠端連線ssh錯誤Linux
- 記一次git clone的報錯以及對CentOS上的git版本更新GitCentOS
- 解決使用SSH連線Linux伺服器時連線失敗的故障Linux伺服器
- 網路裝置重啟造成rac監聽故障連線資料庫報ora-12170:TNS:連線超時的錯誤資料庫
- 無公網ip 實現外網免費連線內網ssh(22)埠內網
- git clone的使用小記Git
- git clone 報錯 “URL using bad/illegal format or missing URL“GitORM
- 使用screen讓關閉ssh連線時不關閉程式
- ssh連線時提示THEAUTHENTICITYOFHOSTXXCAN’TBEESTABLISHED
- 禁止ssh連線時的確認提示
- linux之間連線—使用SSHLinux
- Arcgis連線HGDB報錯
- DBeaver連線MySQ報錯
- sourcetree github clone 報錯 hg clone fails with “repository not found“GithubAI
- 【IT運維】公司內網伺服器可以遠端桌面連線嗎?怎麼連線?運維內網伺服器
- PostgreSQL 連線 超時異常SQL
- 使用映象配置為 Git Clone 加速Git
- python 連線 mongo 資料庫連線超時PythonGo資料庫
- 連線zk 報錯連線不上hbase jdbcJDBC
- 同時使用有線網上內網、無線網上外網內網
- 使用secureCRT連線伺服器,防超時斷開Securecrt伺服器
- BlueHost SSH連線常見錯誤和解決方法