gpt4 book ai didi

git 推送失败 : Failed with error: ssh variant 'simple' does not support setting port

转载 作者:IT王子 更新时间:2023-10-29 00:56:46 24 4
gpt4 key购买 nike

我的 git remote origin 使用指定端口的 ssh url。使用 IntelliJ 推送时出现错误。

推送失败:失败并出现错误:ssh 变体“简单”不支持设置端口

我在升级到最新的 git 2.16.1 后遇到了这个错误

Push failed: Failed with error: ssh variant 'simple' does not support setting port

最佳答案

来自 https://confluence.atlassian.com/bamkb/unable-to-detect-latest-git-changes-ssh-variant-simple-does-not-support-setting-port-943532118.html ,似乎 git 2.16 不适用于与 IntelliJ 2017.3 捆绑在一起的 SSH 可执行文件。

Git version 2.16.0-rc0 does not work well with OpenSSH version 6.7 or older as stated in this bug report.

更改 IntelliJ 配置以使用“SSH Executable -> Native”解决了这个问题。

Git Executable to Native

关于git 推送失败 : Failed with error: ssh variant 'simple' does not support setting port,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48415042/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com