Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/ssh/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
无法为ssh生成U2F公钥/私钥对:FIDO_ERR_RX_Ssh_Openssh_Ecdsa_Ssh Keygen_Fido U2f - Fatal编程技术网

无法为ssh生成U2F公钥/私钥对:FIDO_ERR_RX

无法为ssh生成U2F公钥/私钥对:FIDO_ERR_RX,ssh,openssh,ecdsa,ssh-keygen,fido-u2f,Ssh,Openssh,Ecdsa,Ssh Keygen,Fido U2f,我当前在终端中使用以下命令生成U2F公钥/私钥对时遇到问题: ssh-keygen-t ecdsa sk-vv 运行此命令会出现以下错误: Generating public/private ecdsa-sk key pair. You may need to touch your authenticator to authorize key generation. debug1: start_helper: starting /usr/local/Cellar/openssh/8.3p1/li

我当前在终端中使用以下命令生成U2F公钥/私钥对时遇到问题:

ssh-keygen-t ecdsa sk-vv

运行此命令会出现以下错误:

Generating public/private ecdsa-sk key pair.
You may need to touch your authenticator to authorize key generation.
debug1: start_helper: starting /usr/local/Cellar/openssh/8.3p1/libexec/ssh-sk-helper
debug1: sshsk_enroll: provider "internal", device "(null)", application "ssh:", userid "(null)", flags 0x01, challenge len 0
debug1: sshsk_enroll: using random challenge
debug1: ssh_sk_enroll: using device IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/XHC1@14/XHC1@14000000/HS07@14200000/Yubikey 4 OTP+U2F+CCID@14200000/IOUSBHostInterface@1/AppleUserUSBHostHIDDevice
debug1: ssh_sk_enroll: fido_dev_make_cred: FIDO_ERR_RX
debug1: sshsk_enroll: provider "internal" returned failure -1
debug1: ssh-sk-helper: Enrollment failed: invalid format
debug1: ssh-sk-helper: reply len 8
debug1: client_converse: helper returned error -4
Key enrollment failed: invalid format
我正在运行MacOS,最新版本的OpenSSH更新为:

OpenSSH_8.3p1,OpenSSL 1.1.1g 2020年4月21日

我当前的libfido2版本是:
1.4.0
通过自制软件安装

我的Yubikey型号是:
Yubikey C Nano FIPS

我的Yubikey固件是:
4.4.5


有人知道这个错误的来源吗?Yubikey FIPS系列是否不支持此命令?

似乎导致此问题的原因是在我从工作中收到Yubikey之前,U2F功能上存在管理员密码。您无法生成具有管理员密码的U2F ecdsa sk公钥/私钥对。

在我从工作中收到Yubikey之前,导致此问题的问题似乎是U2F功能上的管理员密码。使用管理员密码无法生成U2F ecdsa sk公钥/私钥对