solaris11 ssh登录非常慢,在线等。。
使用ssh登录solaris 11的机器,各种慢。几乎都要等3到4分钟,尝试了网上所说的办法,试了都没有用。。。贴出来求帮忙。。。。
相关信息如下:
root@solaris11:~# cat /etc/nsswitch.conf| egrep -v -e '^ *$|^[ ]*#'
passwd: files
group: files
hosts: files
ipnodes: files
networks: files
protocols:files
rpc: files
ethers: files
netmasks: files
bootparams: files
publickey:files
netgroup: files
automount:files
aliases: files
services: files
printers: user files
auth_attr:files
prof_attr:files
project: files
tnrhtp: files
tnrhdb: files
root@solaris11:~# cat /etc/hosts| egrep -v -e '^ *$|^[ ]*#'
::1 solaris11 localhost
193.168.231.232solaris11------------------------------------------------------->机器的IP和hostname
127.0.0.1 solaris11 localhost loghost
root@solaris11:~# cat /etc/ssh/sshd_config | egrep -v -e '^ *$|^[ ]*#'
Port 22
ListenAddress ::
GatewayPorts no
X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost yes
PrintMotd no
KeepAlive yes
SyslogFacility auth
LogLevel info
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_dsa_key
KeyRegenerationInterval 3600
StrictModes yes
LoginGraceTime 120
MaxAuthTries 6
MaxAuthTriesLog 3
PermitEmptyPasswords no
PasswordAuthentication yes
PermitRootLogin yes
Subsystem sftp /usr/lib/ssh/sftp-server
GSSAPIAuthentication no 自己顶个先。。。。。。。。。。。。。。。。。。。。 本帖最后由 znnnz 于 2012-06-04 10:03 编辑
root@solaris11:~# cat /etc/hosts| egrep -v -e '^ *$|^[ ]*#'
::1 localhost
127.0.0.1 localhost
193.168.231.232 solaris11 loghost
回复 3# znnnz
依然很慢。。。。。。
root@solaris11:~# cat /etc/hosts| egrep -v -e '^ *$|^[ ]*#'
::1 localhost
127.0.0.1 localhost
193.168.231.232 solaris11 loghost
PC_IPPC_hostname ---------------> 添加客户端IP及主机名到hosts文件 回复 5# 柯雅
root@solaris11:~# cat /etc/hosts| egrep -v -e '^ *$|^[ ]*#'
::1 solaris11 localhost
193.168.231.232solaris11------------------------------------------------------->机器的IP和hostname(这个就是额)
127.0.0.1 solaris11 localhost loghost PC_IPPC_hostname ---------------> 添加客户端IP及主机名到hosts文件,比如你连接Solaris系统时,用的笔记本的IP和笔记本主机名
:-L 回复 7# 柯雅
饿。。这个倒是的。。
可是要是所有人呢?
把每个机器都加入???
本帖最后由 柯雅 于 2012-06-11 17:09 编辑
先尝试下,看是否能解决,再看最终解决方案。 回复 9# 柯雅
是可以的。。。。的确变快了。。我试了。。
要是长期下去是不行的。。ip变了。。就得改。。。。。