- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我一直在尝试许多关于这个 Stackoverlow 问题的答案,就像我现在问的一样,但仍然无法解决我的问题,我正在尝试通过 ssh 进行克隆,但总是得到 Permission denied (publickey)
当我运行时 GIT_SSH_COMMAND="ssh -vvv" git clone git@bitbucket.org:myusername/my-api.git
debug1: kex: algorithm: curve25519-sha256@libssh.org
debug1: kex: host key algorithm: ssh-rsa
debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
debug1: kex: curve25519-sha256@libssh.org need=64 dh_need=64
debug1: kex: curve25519-sha256@libssh.org need=64 dh_need=64
debug3: send packet: type 30
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug3: receive packet: type 31
debug1: Server host key: ssh-rsa SHA256:kkXQOXSRBEiUtuE8AikLLLwbHaxvSc0ojez9YXaGp2A
debug3: hostkeys_foreach: reading file "/home/alienwarepocket/.ssh/known_hosts"
debug3: record_hostkey: found key type RSA in file /home/alienwarepocket/.ssh/known_hosts:1
debug3: load_hostkeys: loaded 1 keys from bitbucket.org
debug3: hostkeys_foreach: reading file "/home/alienwarepocket/.ssh/known_hosts"
debug3: record_hostkey: found key type RSA in file /home/alienwarepocket/.ssh/known_hosts:3
debug3: load_hostkeys: loaded 1 keys from 18.205.93.2
debug1: Host 'bitbucket.org' is known and matches the RSA host key.
debug1: Found key in /home/alienwarepocket/.ssh/known_hosts:1
debug3: send packet: type 21
debug2: set_newkeys: mode 1
debug1: rekey out after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug3: receive packet: type 21
debug1: SSH2_MSG_NEWKEYS received
debug2: set_newkeys: mode 0
debug1: rekey in after 134217728 blocks
debug1: Will attempt key: /home/alienwarepocket/.ssh/id_rsa RSA SHA256:ktMzaalYyvU9Ev1bgELXatabkUkdcT828O0PppnNiV4M explicit agent
debug2: pubkey_prepare: done
debug3: send packet: type 5
debug3: receive packet: type 6
debug2: service_accept: ssh-userauth
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug3: send packet: type 50
debug3: receive packet: type 51
debug1: Authentications that can continue: publickey
debug3: start over, passed a different list publickey
debug3: preferred gssapi-with-mic,publickey,keyboard-interactive,password
debug3: authmethod_lookup publickey
debug3: remaining preferred: keyboard-interactive,password
debug3: authmethod_is_enabled publickey
debug1: Next authentication method: publickey
debug1: Offering public key: /home/alienwarepocket/.ssh/id_rsa RSA SHA256:ktMzaalYyvU9Ev1bgELXatabkUkdcT828O0PppnNiV4M explicit agent
debug1: send_pubkey_test: no mutual signature algorithm
debug2: we did not send a packet, disable method
debug1: No more authentication methods to try.
git@bitbucket.org: Permission denied (publickey).
fatal: Could not read from remote repository.
在我升级 Fedora 33 后,我遇到了这个问题,在 Fedora 32 上没有问题
最佳答案
这可能与“Changes/StrongCryptoSettings2 in Fedora33”有关
The changes for default policy are:
- Keep only TLS 1.2 (and TLS 1.3 when available) as enabled protocols and move the TLS 1.x, x<=1 to legacy level.
- Require finite field parameters (RSA, Diffie-Hellman) of 2048 and more in the default settings
- Disable SHA1 support for use in signatures (X.509 certificates, TLS, IPSEC handshakes)
It may be that the new settings break software that connects to servers which utilize weak algorithms.
Compatibility can be obtained by switching the system to Fedora 32 policy level:update-crypto-policies --set DEFAULT:FEDORA32
~/.ssh/config
最初发现的一个选项
in sshd_config
PubkeyAcceptedKeyTypes
Specifies the key types that will be accepted for public key
authentication as a list of comma-separated patterns.
因此,如果您不能使用 ed25519,您可以为一台特定主机允许使用
id_rsa
键与:
Host aHost
Hostname a.hostname.com
PubkeyAcceptedKeyTypes +ssh-rsa
~/.ssh
是 775
drwxrwxr-x
. ~/.ssh/id_rsa
是 600
-rw-------
. ~/.ssh/id_rsa.pub
是 644
-rw-r--r--
. ~/.ssh/config
是 600
-rw-------
. ~/.ssh/authorized_keys
远程服务器上是 600
-rw-------
ssh-keygen -t ed25519
现在似乎推荐使用 key 。
关于git - 升级 Fedora 33 后 ssh 权限被拒绝(公钥),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/64640596/
Fedora 21 带有丑陋的 Gnome 3,我安装了 XFCE 和 MATE,但我不知道如何将它们中的任何一个设置为默认的 X 窗口管理器。从 Gnome 3 注销后,我没有从已安装的窗口管理器中
我有软呢帽 25。我读了这篇文章 - http://docs.mitmproxy.org/en/stable/certinstall.html#certinstall , 但 fedora 的信息不存
安装 Fedora 19 桌面版后,我运行 Qt Example 的系统托盘。但我找不到系统托盘图标。 事件概览中没有通知区域。 请让我知道显示通知区域或托盘图标。 最佳答案 将鼠标快速移动到右下角应
我正在使用使用快捷方式的文本编辑器ctrl+alt+arrowup/arrowdown这是在 Fedora 20 中切换工作区的默认键。所以我需要更改快捷键以使其在文本编辑器中工作。我改变了快捷方式
当我尝试在新的 64 位 Fedora 28 安装上运行 64 位程序时出现此错误。 我尝试通过以下方式安装 ncurses 库: sudo yum install ncurses-libs sudo
我正在使用 GNOME 运行 Fedora 27 桌面版。我已尝试过网络上所有的说明,但没有找到任何可以让我设置与远程用户共享屏幕的内容。谁能帮我解决这个问题吗? 提前非常感谢您的回复。 这是迄今为止
我从 Atomic 官方网站下载了一个 qcow2 图像,但我对启动这个 qcow2 图像的步骤感到非常沮丧,而且谷歌没有提供有用的明确提示。 谁能给我一些关于如何启动 qcow2 虚拟机的明确提示?
我正在尝试使用“mpif90”在 Fedora 21 中编译一些代码。 首先我用'yum'安装openmpi: [root@localhost Inversion]# yum install open
我最近买了一个新硬盘,我想在上面安装 Fedora,但是电脑很旧,无法从 USB 启动,而且我无法使用 DVD。 我想使用我当前安装的 Fedora 在新硬盘上安装一个新副本。 我有 ISO。我正在使
虽然 Fedora 34 将在下月底左右才会正式发布,但针对更晚才会到来的 Fedora 35 目前已有一些变更提案被提交。其中,在众多的早期变化中值得注意的一点是在其操作系统发布信息中把操作系统从
Fedora 33 很有可能会成为 Fedora 有史以来最大的版本之一,最大不仅仅体现在新添加的重要功能,如Fedora 桌面版本将默认使用Btrfs 文件系统,在新增功能的数量方面,到目前为止,
DNF 和 RPM 作为包管理器有什么区别?一种与另一种的优势是什么,这些优势将适用于哪些情况? 最佳答案 这些工具协同工作。 DNF 处理依赖解决、在网络上查找文件、存储库管理等。 RPM 处理实际
我刚刚安装了 Fedora 23 的 Cinnamon spin 的新版本。尽管我喜欢 Nautilus/Nemo,但我想将 Thunar 设置为我的默认文件浏览器。我尝试在 /usr/share/a
我是 Linux 和 VirtualBox 的新手,但是我已经通过 Windows 7 上的 VirtualBox 设置了一台 guest Fedora 19 机器(32 位,因为我没有 VT-x 功
我刚刚安装了 Fedora 23 的 Cinnamon spin 的新版本。尽管我喜欢 Nautilus/Nemo,但我想将 Thunar 设置为我的默认文件浏览器。我尝试在 /usr/share/a
在目录 /lib/systemd/system 中,我创建了一个文件 XYZ.service。 运行 systemctl start XYZ 时,它不会返回。我必须按 Ctrl-C 才能发出命令。想知
我正在尝试在 64 位 Fedora 21 上运行 32 位可执行文件。 #include int main(){ printf ("Hello C\n"); return 1; }
我不知道如何在 fedora 24 中安装 lex 和 yacc。我在 ubuntu 16 中安装了它。使用以下命令: sudo apt-get update sudo apt-get install
Chromium 是否支持语音合成 API?我需要安装声音吗?如果是这样,我该怎么做?我正在使用 Fedora。我需要安装额外的软件包才能使用像视频这样的声音吗? 我试过这段代码: var msg =
dnf 命令会在您每次更新时下载整个软件包,而 yum 使用 deltarpm 并下载较少的数据。 怎么用dnf as yum来保存数据? 最佳答案 安装 deltarpm打包并添加 deltarpm
我是一名优秀的程序员,十分优秀!