- 论坛徽章:
- 0
|
两台虚拟机,一台redhat,一台Debian ,从 redhat登陆到Debian(192.168.110.114)- [root@compute3 ~]# cat /etc/redhat-release
- Red Hat Enterprise Linux Server release 7.1 (Maipo)
复制代码- vyatta@vyatta:~$ cat /proc/version
- Linux version 3.10.83-1-amd64-vyatta (abuild@build-worker3) (gcc version 4.4.5 (Debian 4.4.5-8) ) #1 SMP Wed Jul 8 03:22:17 UTC 2015
复制代码 我 试过网上集中常见的对策,都没有用,包括修改 /etc/hosts;UseDNS 的缺省值由yes修改为no;GSSAPIAuthentication设置成no
把以上的修改都做了,现在卡在 debug1: Local version string SSH-2.0-OpenSSH_6.6.1 和 debug1: Remote protocol version 2.0, remote software version OpenSSH_5.5p1 Debian-6+squeeze5 之间了,
就是显示完Local version string SSH-2.0-OpenSSH_6.6.1要等好几秒才显示debug1: Remote protocol version 2.0, remote software version OpenSSH_5.5p1 Debian-6+squeeze5
整个ssh过程大约要个好几秒才能出现输入密码的提示。
其他的从各个版本的redhat和各个版本的centos互相ssh登陆都是秒开,唯独这两个虚拟机,难道是Debian系的和redhat之间的问题?搞不明白问题出在哪里了- [root@compute3 ~]# ssh vyatta@192.168.110.114 -v
- OpenSSH_6.6.1, OpenSSL 1.0.1e-fips 11 Feb 2013
- debug1: Reading configuration data /etc/ssh/ssh_config
- debug1: /etc/ssh/ssh_config line 56: Applying options for *
- debug1: Connecting to 192.168.110.114 [192.168.110.114] port 22.
- debug1: Connection established.
- debug1: permanently_set_uid: 0/0
- debug1: identity file /root/.ssh/id_rsa type -1
- debug1: identity file /root/.ssh/id_rsa-cert type -1
- debug1: identity file /root/.ssh/id_dsa type -1
- debug1: identity file /root/.ssh/id_dsa-cert type -1
- debug1: identity file /root/.ssh/id_ecdsa type -1
- debug1: identity file /root/.ssh/id_ecdsa-cert type -1
- debug1: identity file /root/.ssh/id_ed25519 type -1
- debug1: identity file /root/.ssh/id_ed25519-cert type -1
- debug1: Enabling compatibility mode for protocol 2.0
- debug1: Local version string SSH-2.0-OpenSSH_6.6.1
- debug1: Remote protocol version 2.0, remote software version OpenSSH_5.5p1 Debian-6+squeeze5
- debug1: match: OpenSSH_5.5p1 Debian-6+squeeze5 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: kex: diffie-hellman-group-exchange-sha256 need=16 dh_need=16
- debug1: kex: diffie-hellman-group-exchange-sha256 need=16 dh_need=16
- 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 4c:04:55:7a:ab:86:a3:3f:1e:3f:1a:81:10:49:ed:11
- debug1: Host '192.168.110.114' is known and matches the RSA host key.
- debug1: Found key in /root/.ssh/known_hosts:30
- 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
- Welcome to Vyatta
- debug1: Authentications that can continue: publickey,password
- debug1: Next authentication method: publickey
- debug1: Trying private key: /root/.ssh/id_rsa
- debug1: Trying private key: /root/.ssh/id_dsa
- debug1: Trying private key: /root/.ssh/id_ecdsa
- debug1: Trying private key: /root/.ssh/id_ed25519
- debug1: Next authentication method: password
- vyatta@192.168.110.114's password:
复制代码 |
|