Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
コマンド「gitclonexxx.git」を実行しようとすると、エラーが表示されます。
ssh: connect to host port codebasehq.com 22: bad file number
何が起こっている?問題が何であるかを見つけるために、どのようなテストを行うことができますか?
作業中の場合は、プロキシにエラーがある可能性があります(つまり、プロキシが正しく設定されていません)。
見る:
gitSSHの問題の不良ファイル番号 と 別のSSHの問題の不良ファイル番号の投稿
私の問題の解決策は、CONFIGフォルダーにファイルを作成することでした。次の内容のssh:
Host codebasehq.com User git Hostname ssh.codebasehq.com PreferredAuthentications publickey IdentityFile ~/.ssh/id_rsa Port 443