通过公司代理拒绝SSH的权限

我试图连接本地 – > cntlm->公司代理 – > rhcloud主机。

我把密钥上传到rhcloud和GitHub。 与当前configuration与开瓶器我能够通过SSH连接到Git。 但是ssh -v到主机不起作用。

当我检查本地的ssh key-gen列表和用于Openshift的rhc show-app列表时,指纹是相同的。

这是跟踪。

ubuntu@satubuntu:~/.ssh$ ssh -v [email protected] OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014 debug1: Reading configuration data /home/ubuntu/.ssh/config debug1: /home/ubuntu/.ssh/config line 1: Applying options for [email protected] debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 19: Applying options for * debug1: Executing proxy command: exec /usr/bin/corkscrew 127.0.0.1 3128 [email protected] 22 debug1: identity file /home/ubuntu/.ssh/id_rsa type 1 debug1: identity file /home/ubuntu/.ssh/id_rsa-cert type -1 debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_6.6.1p1 Ubuntu-2ubuntu2 debug1: permanently_drop_suid: 1000 debug1: Remote protocol version 2.0, remote software version OpenSSH_5.3 debug1: match: OpenSSH_5.3 pat OpenSSH_5* compat 0x0c000000 debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: server->client aes128-ctr hmac-md5 none debug1: kex: client->server aes128-ctr hmac-md5 none debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<3072<8192) sent debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP debug1: SSH2_MSG_KEX_DH_GEX_INIT sent debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY debug1: Server host key: RSA cf:ee:77:cb:0e:fc:02:d7:72:7e:ae:80:c0:90:88:a7 debug1: Host '[email protected]' is known and matches the RSA host key. debug1: Found key in /home/ubuntu/.ssh/known_hosts:1 debug1: ssh_rsa_verify: signature correct debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug1: SSH2_MSG_NEWKEYS received debug1: Roaming not allowed by server debug1: SSH2_MSG_SERVICE_REQUEST sent 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 debug1: Unspecified GSS failure. Minor code may provide more information No Kerberos credentials available debug1: Unspecified GSS failure. Minor code may provide more information debug1: Unspecified GSS failure. Minor code may provide more information No Kerberos credentials available debug1: Next authentication method: publickey debug1: Offering RSA public key: /home/ubuntu/.ssh/id_rsa debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic debug1: No more authentication methods to try. Permission denied (publickey,gssapi-keyex,gssapi-with-mic). 

任何关于为什么公钥被拒绝的指针?

configuration下.ssh有

 Host appname-domain.rhcloud.com User user Port 22 Hostname appname-domain.rhcloud.com IdentityFile "/home/ubuntu/.ssh/id_rsa" TCPKeepAlive yes IdentitiesOnly yes ProxyCommand /usr/bin/corkscrew 127.0.0.1 3128 %h %p Host github.com User git Port 22 Hostname github.com IdentityFile "/home/ubuntu/.ssh/id_rsa" TCPKeepAlive yes IdentitiesOnly yes ProxyCommand /usr/bin/corkscrew 127.0.0.1 3128 %h %p Host ssh.github.com User git Port 443 Hostname ssh.github.com IdentityFile "/home/ubuntu/.ssh/id_rsa" TCPKeepAlive yes IdentitiesOnly yes ProxyCommand /usr/bin/corkscrew 127.0.0.1 3128 %h %p