当前位置:主页>服务器安全>正文
ssh登录慢的原因

今天登录自己的vmware十分慢,加了-v参数看了下。终于知道慢在哪了。不过有些朋友是在登录之后才慢的,也可以类似的查找一下原因。把GSSAPIAuthentication设置成no就好。

scp -v aa.tar.gz root@1.1.1.1:/root
Executing: program /usr/bin/ssh host 1.1.1.1, user root, command scp -v -t /root
OpenSSH_4.3p2, OpenSSL 0.9.8c 05 Sep 2006
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to 1.1.1.1 [1.1.1.1] port 22.
debug1: Connection established.
debug1: identity file /home/x/.ssh/id_rsa type -1
debug1: identity file /home/x/.ssh/id_dsa type -1
debug1: Remote protocol version 1.99, remote software version OpenSSH_3.9p1
debug1: match: OpenSSH_3.9p1 pat OpenSSH_3.*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_4.3p2
debug1: An invalid name was supplied
Cannot determine realm for numeric host address

debug1: An invalid name was supplied
A parameter was malformed
Validation error

debug1: An invalid name was supplied
Cannot determine realm for numeric host address

debug1: An invalid name was supplied
A parameter was malformed
Validation error

debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: kex: client->server aes128-cbc 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 '1.1.1.1' is known and matches the RSA host key.
debug1: Found key in /home/x/.ssh/known_hosts:6
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: An invalid name was supplied
Cannot determine realm for numeric host address

debug1: An invalid name was supplied
Cannot determine realm for numeric host address

debug1: Next authentication method: publickey
debug1: Trying private key: /home/x/.ssh/id_rsa
debug1: Trying private key: /home/x/.ssh/id_dsa
debug1: Next authentication method: password
root@1.1.1.1's password:

上一篇:Linux系统管理员利器,重复劳动必备[图]   下一篇:轻松九步加强边界路由器的安全防护能力
热门搜索: nod  nod32  防火墙  FTP  arp
  新补天网的宗旨是为大家搜集互联网尤其是网络安全相关的资料和技术文档,并且为大家提供各种安全软件和小工具。