当应用程序用户尝试通过 cmd 连接远程服务器时ssh <remote server dns>
,失败并显示
错误:无法获取随机字节(错误0x2d092087)
但其他本地用户可以连接而不会出现此错误。如何解决这个问题。
PFB详细错误:
OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017
debug1: Reading configuration data /home/skyl_dev/.ssh/config
debug1: /home/skyl_dev/.ssh/config line 1: Applying options for *
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 12: Applying options for *
debug1: Connecting to xd427937067af02.ubscloud-prod.msad.ubs.net [10.216.148.21] port 22.
debug1: Connection established.
debug1: key_load_public: No such file or directory
debug1: identity file /home/skyl_dev/.ssh/identity type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/skyl_dev/.ssh/identity-cert type -1
debug1: identity file /home/skyl_dev/.ssh/id_rsa type 1
debug1: key_load_public: No such file or directory
debug1: identity file /home/skyl_dev/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/skyl_dev/.ssh/id_rsa1 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/skyl_dev/.ssh/id_rsa1-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/skyl_dev/.ssh/id_rsa2 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/skyl_dev/.ssh/id_rsa2-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/skyl_dev/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/skyl_dev/.ssh/id_dsa-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_7.4
debug1: Remote protocol version 2.0, remote software version OpenSSH_7.4
debug1: match: OpenSSH_7.4 pat OpenSSH* compat 0x04000000
debug1: Authenticating to xd427937067af02.ubscloud-prod.msad.ubs.net:22 as 'skyl_dev'
debug1: Unspecified GSS failure. Minor code may provide more information
No Kerberos credentials available (default cache: FILE:/tmp/krb5cc_151033660)
debug1: Unspecified GSS failure. Minor code may provide more information
No Kerberos credentials available (default cache: FILE:/tmp/krb5cc_151033660)
debug1: Unspecified GSS failure. Minor code may provide more information
debug1: Unspecified GSS failure. Minor code may provide more information
No Kerberos credentials available (default cache: FILE:/tmp/krb5cc_151033660)
Couldn't obtain random bytes (error 0x2d092087)