V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
aveline
V2EX  ›  问与答

[email protected]的SSH提示输入密码怎么解决?

  •  
  •   aveline · 2012-01-18 20:13:33 +08:00 · 4480 次点击
    这是一个创建于 4698 天前的主题,其中的信息可能已经有所发展或是发生改变。
    如题。。。
    我的public key已经保存在账户设置里了呀。。。

    之前装了mercurial-ssh这个rpm就好了。。。这次装了依然不行。。


    [root@hk1 wwwroot]# ssh -v [email protected]
    OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008
    debug1: Reading configuration data /etc/ssh/ssh_config
    debug1: Applying options for *
    debug1: Connecting to bitbucket.org [2607:f740:90::f57] port 22.
    debug1: Connection established.
    debug1: permanently_set_uid: 0/0
    debug1: identity file /root/.ssh/identity type -1
    debug1: identity file /root/.ssh/id_rsa type 1
    debug1: identity file /root/.ssh/id_dsa type -1
    debug1: loaded 3 keys
    debug1: Remote protocol version 2.0, remote software version OpenSSH_4.3
    debug1: match: OpenSSH_4.3 pat OpenSSH*
    debug1: Enabling compatibility mode for protocol 2.0
    debug1: Local version string SSH-2.0-OpenSSH_4.3
    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<1024<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: Host 'bitbucket.org' is known and matches the RSA host key.
    debug1: Found key in /root/.ssh/known_hosts:2
    debug1: ssh_rsa_verify: signature correct
    debug1: SSH2_MSG_NEWKEYS sent
    debug1: expecting SSH2_MSG_NEWKEYS
    debug1: SSH2_MSG_NEWKEYS received
    debug1: SSH2_MSG_SERVICE_REQUEST sent
    debug1: SSH2_MSG_SERVICE_ACCEPT received
    debug1: Authentications that can continue: publickey,gssapi-with-mic,password
    debug1: Next authentication method: gssapi-with-mic
    debug1: Unspecified GSS failure. Minor code may provide more information
    No credentials cache found

    debug1: Unspecified GSS failure. Minor code may provide more information
    No credentials cache found

    debug1: Unspecified GSS failure. Minor code may provide more information
    No credentials cache found

    debug1: Next authentication method: publickey
    debug1: Trying private key: /root/.ssh/identity
    debug1: Offering public key: /root/.ssh/id_rsa
    debug1: Authentications that can continue: publickey,gssapi-with-mic,password
    debug1: Trying private key: /root/.ssh/id_dsa
    debug1: Next authentication method: password
    4 条回复    1970-01-01 08:00:00 +08:00
    aveline
        1
    aveline  
    OP
       2012-01-18 20:37:38 +08:00
    问题解决。
    强制使用IPv4的Bitbucket.org即可。。。蛋疼
    vivia
        2
    vivia  
       2012-02-15 22:43:50 +08:00
    @aveline 我也遇到这个问题了,怎么强制使用ipv4的bitbucket.org?求解。。。
    YvetteM
        3
    YvetteM  
       2012-02-15 22:53:55 +08:00
    vivia
        4
    vivia  
       2012-02-15 23:44:34 +08:00
    [vivia@centos pythonScripts]$ git clone [email protected]:vivia/pythonscripts.git
    Initialized empty Git repository in /home/vivia/pythonScripts/pythonscripts/.git/
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    @ WARNING: POSSIBLE DNS SPOOFING DETECTED! @
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    The RSA host key for bitbucket.org has changed,
    and the key for the corresponding IP address 180.168.41.175
    is unknown. This could either mean that
    DNS SPOOFING is happening or the IP address for the host
    and its host key have changed at the same time.
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
    Someone could be eavesdropping on you right now (man-in-the-middle attack)!
    It is also possible that the RSA host key has just been changed.
    The fingerprint for the RSA key sent by the remote host is
    60:9f:95:63:48:97:b1:bc:52:2b:56:a8:d4:6c:9b:39.
    Please contact your system administrator.
    Add correct host key in /home/vivia/.ssh/known_hosts to get rid of this message.
    Offending key in /home/vivia/.ssh/known_hosts:1
    RSA host key for bitbucket.org has changed and you have requested strict checking.
    Host key verification failed.
    fatal: The remote end hung up unexpectedly
    -----------------------------------
    原因找到了,DNS污染造成的,更改DNS为8.8.8.8后解决,志之!
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2545 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 21ms · UTC 15:59 · PVG 23:59 · LAX 07:59 · JFK 10:59
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.