Ssh 权限被拒绝(公钥、gssapi密钥、gssapi带麦克风)。断开连接

Ssh 权限被拒绝(公钥、gssapi密钥、gssapi带麦克风)。断开连接,ssh,cluster-computing,file-permissions,user-permissions,public-key,Ssh,Cluster Computing,File Permissions,User Permissions,Public Key,当我要使用以下命令将文件从本地计算机传输到服务器时: scp-i/home/user/.ssh/id\u rsa/home/user/fileuser@extension:/home/user/ 警告:标识文件/home/user/.ssh/id\u rsa不可访问:没有此类文件或目录。权限被拒绝(公钥、gssapi密钥、gssapi带麦克风)。断开连接 ` 文件/home/user/.ssh/id\u rsa存在,我不知道为什么它不能识别它 我使用chmod进行了一些权限更改,但没有结果。我很

当我要使用以下命令将文件从本地计算机传输到服务器时:

scp-i/home/user/.ssh/id\u rsa/home/user/fileuser@extension:/home/user/

警告:标识文件/home/user/.ssh/id\u rsa不可访问:没有此类文件或目录。权限被拒绝(公钥、gssapi密钥、gssapi带麦克风)。断开连接
` 文件/home/user/.ssh/id\u rsa存在,我不知道为什么它不能识别它

我使用chmod进行了一些权限更改,但没有结果。我很沮丧

我显示命令
-ssh user
,以便他们可以看到任何可能的错误

OpenSSH_7.4p1, OpenSSL 1.0.2k-fips  26 Jan 2017
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 58: Applying options for *
debug1: Connecting to escuela.hpc.cedia.edu.ec [201.159.221.23] port 22.
debug1: Connection established.
debug1: key_load_private_type: No such file or directory
debug1: key_load_private_cert: Permission denied
debug1: key_load_private_cert: Permission denied
debug1: key_load_private_cert: Permission denied
debug1: key_load_private_cert: No such file or directory
debug1: key_load_private_type: Permission denied
debug1: key_load_private_type: Permission denied
debug1: key_load_private_type: Permission denied
debug1: key_load_private_type: No such file or directory
debug1: key_load_cert: No such file or directory
debug1: key_load_cert: No such file or directory
debug1: key_load_cert: No such file or directory
debug1: key_load_cert: No such file or directory
debug1: key_load_public: No such file or directory
debug1: key_load_public: No such file or directory
debug1: identity file /home/jean.ramos/.ssh/identity type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/jean.ramos/.ssh/identity-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/jean.ramos/.ssh/id_rsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/jean.ramos/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/jean.ramos/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/jean.ramos/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/jean.ramos/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/jean.ramos/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/jean.ramos/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/jean.ramos/.ssh/id_ed25519-cert type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_7.4
debug1: match: OpenSSH_7.4 pat OpenSSH* compat 0x04000000
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_7.4
debug1: Authenticating to escuela.hpc.cedia.edu.ec:22 as 'jean.ramos'
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: curve25519-sha256
debug1: kex: host key algorithm: ecdsa-sha2-nistp256
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 need=64 dh_need=64
debug1: kex: curve25519-sha256 need=64 dh_need=64
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: Server host key: ecdsa-sha2-nistp256 SHA256:TPXt0x27CHY0aWFqRiznAgVYDlx9y2N2+Xj0wYo6iMk
debug1: Host 'escuela.hpc.cedia.edu.ec' is known and matches the ECDSA host key.
debug1: Found key in /home/jean.ramos/.ssh/known_hosts:2
debug1: rekey after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: rekey after 134217728 blocks
debug1: SSH2_MSG_EXT_INFO received
debug1: kex_input_ext_info: server-sig-algs=<rsa-sha2-256,rsa-sha2-512>
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic
debug1: Next authentication method: gssapi-keyex
debug1: No valid Key exchange context
debug1: Next authentication method: gssapi-with-mic
debug1: Unspecified GSS failure.  Minor code may provide more information
No Kerberos credentials available (default cache: KEYRING:persistent:1014)

debug1: Unspecified GSS failure.  Minor code may provide more information
No Kerberos credentials available (default cache: KEYRING:persistent:1014)

debug1: Next authentication method: publickey
debug1: Trying private key: /home/jean.ramos/.ssh/identity
debug1: Trying private key: /home/jean.ramos/.ssh/id_rsa
debug1: Trying private key: /home/jean.ramos/.ssh/id_dsa
debug1: Trying private key: /home/jean.ramos/.ssh/id_ecdsa
debug1: Trying private key: /home/jean.ramos/.ssh/id_ed25519
debug1: No more authentication methods to try.
Permission denied (publickey,gssapi-keyex,gssapi-with-mic).`
OpenSSH_7.4p1、OpenSSL 1.0.2k-fips 2017年1月26日
debug1:读取配置数据/etc/ssh/ssh\u config
debug1:/etc/ssh/ssh_config第58行:应用*
debug1:连接到escuela.hpc.cedia.edu.ec[201.159.221.23]端口22。
debug1:已建立连接。
debug1:key\u load\u private\u类型:没有这样的文件或目录
debug1:密钥\u加载\u私有\u证书:权限被拒绝
debug1:密钥\u加载\u私有\u证书:权限被拒绝
debug1:密钥\u加载\u私有\u证书:权限被拒绝
debug1:key\u load\u private\u cert:没有这样的文件或目录
debug1:密钥\u加载\u私有\u类型:权限被拒绝
debug1:密钥\u加载\u私有\u类型:权限被拒绝
debug1:密钥\u加载\u私有\u类型:权限被拒绝
debug1:key\u load\u private\u类型:没有这样的文件或目录
debug1:key\u load\u cert:没有这样的文件或目录
debug1:key\u load\u cert:没有这样的文件或目录
debug1:key\u load\u cert:没有这样的文件或目录
debug1:key\u load\u cert:没有这样的文件或目录
debug1:key\u load\u public:没有这样的文件或目录
debug1:key\u load\u public:没有这样的文件或目录
debug1:identity file/home/jean.ramos/.ssh/identity-type-1
debug1:key\u load\u public:没有这样的文件或目录
debug1:identity file/home/jean.ramos/.ssh/identity-cert-type-1
debug1:key\u load\u public:没有这样的文件或目录
debug1:identity file/home/jean.ramos/.ssh/id\u rsa type-1
debug1:key\u load\u public:没有这样的文件或目录
debug1:identity file/home/jean.ramos/.ssh/id\u rsa-cert type-1
debug1:key\u load\u public:没有这样的文件或目录
debug1:identity file/home/jean.ramos/.ssh/id_dsa type-1
debug1:key\u load\u public:没有这样的文件或目录
debug1:identity file/home/jean.ramos/.ssh/id_dsa-cert type-1
debug1:key\u load\u public:没有这样的文件或目录
debug1:identity file/home/jean.ramos/.ssh/id_ecdsa type-1
debug1:key\u load\u public:没有这样的文件或目录
debug1:identity file/home/jean.ramos/.ssh/id_ecdsa-cert type-1
debug1:key\u load\u public:没有这样的文件或目录
debug1:identity file/home/jean.ramos/.ssh/id_ed25519 type-1
debug1:key\u load\u public:没有这样的文件或目录
debug1:identity file/home/jean.ramos/.ssh/id_ed25519-cert type-1
debug1:远程协议版本2.0,远程软件版本OpenSSH_7.4
debug1:匹配:OpenSSH_7.4 pat OpenSSH*compat 0x04000000
debug1:启用协议2.0的兼容模式
debug1:本地版本字符串SSH-2.0-OpenSSH_7.4
调试1:向escuela.hpc.cedia.edu.ec:22验证为“jean.ramos”
debug1:SSH2\u MSG\u KEXINIT已发送
debug1:SSH2\u MSG\u KEXINIT已收到
debug1:kex:算法:curve25519-sha256
debug1:kex:主机密钥算法:ecdsa-sha2-nistp256
debug1:kex:server->client cipher:chachacha20-poly1305@openssh.comMAC:压缩:无
debug1:kex:client->server cipher:chachacha20-poly1305@openssh.comMAC:压缩:无
debug1:kex:curve25519-sha256 need=64 dh_need=64
debug1:kex:curve25519-sha256 need=64 dh_need=64
debug1:需要SSH2\u MSG\u KEX\u ECDH\u回复
debug1:服务器主机密钥:ecdsa-sha2-nistp256 SHA256:TPXt0x27CHY0aWFqRiznAgVYDlx9y2N2+Xj0wYo6iMk
debug1:主机“escuela.hpc.cedia.edu.ec”已知并与ECDSA主机密钥匹配。
debug1:在/home/jean.ramos/.ssh/known_hosts中找到密钥:2
debug1:在134217728块之后重新键入
debug1:SSH2\u MSG\u已发送新密钥
debug1:应为SSH2\u MSG\u NEWKEYS
debug1:SSH2\u MSG\u接收到新密钥
debug1:在134217728块之后重新键入
debug1:SSH2\u MSG\u EXT\u接收到信息
debug1:kex_输入_外部_信息:服务器信号algs=
debug1:SSH2\u消息\u服务\u接收
debug1:可以继续的身份验证:publickey、gssapi keyex、gssapi with mic
debug1:下一个身份验证方法:gssapi-keyex
debug1:没有有效的密钥交换上下文
debug1:下一个身份验证方法:带麦克风的gssapi
debug1:未指定的GSS故障。次要代码可能提供更多信息
没有可用的Kerberos凭据(默认缓存:KEYRING:persistent:1014)
debug1:未指定的GSS故障。次要代码可能提供更多信息
没有可用的Kerberos凭据(默认缓存:KEYRING:persistent:1014)
debug1:下一个身份验证方法:公钥
debug1:正在尝试私钥:/home/jean.ramos/.ssh/identity
debug1:正在尝试私钥:/home/jean.ramos/.ssh/id\u rsa
debug1:正在尝试私钥:/home/jean.ramos/.ssh/id\u dsa
debug1:正在尝试私钥:/home/jean.ramos/.ssh/id\u ecdsa
debug1:正在尝试私钥:/home/jean.ramos/.ssh/id_ed25519
debug1:不再尝试验证方法。
权限被拒绝(公钥、gssapi密钥、gssapi带麦克风)`