免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
123下一页
最近访问板块 发新帖
查看: 10192 | 回复: 25
打印 上一主题 下一主题

solaris11 ssh登录非常慢,在线等。。 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2012-05-31 14:08 |只看该作者 |倒序浏览
使用ssh登录solaris 11的机器,各种慢。几乎都要等3到4分钟,
尝试了网上所说的办法,试了都没有用。。。贴出来求帮忙。。。。

相关信息如下:
[nsswitch.conf的内容]
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

[hosts的内容]
root@solaris11:~# cat /etc/hosts  | egrep -v -e '^ *$|^[ ]*#'
::1 solaris11 localhost
193.168.231.232  solaris11------------------------------------------------------->机器的IP和hostname
127.0.0.1 solaris11 localhost loghost

[sshd_config的内容]
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

论坛徽章:
0
2 [报告]
发表于 2012-05-31 14:12 |只看该作者
自己顶个先。。。。。。。。。。。。。。。。。。。。

论坛徽章:
20
申猴
日期:2013-09-12 19:39:05狮子座
日期:2014-07-20 21:19:51寅虎
日期:2014-08-16 18:37:47水瓶座
日期:2014-10-15 18:58:25天蝎座
日期:2015-01-22 18:19:15NBA常规赛纪念章
日期:2015-05-04 22:32:032015亚冠之胡齐斯坦钢铁
日期:2015-06-03 11:28:502015亚冠之吉达阿赫利
日期:2015-09-19 12:41:47午马
日期:2013-09-18 14:36:40戌狗
日期:2013-09-18 14:44:39处女座
日期:2013-09-24 17:46:41CU十二周年纪念徽章
日期:2013-10-24 15:41:34
3 [报告]
发表于 2012-06-04 10:02 |只看该作者
本帖最后由 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

论坛徽章:
0
4 [报告]
发表于 2012-06-11 15:57 |只看该作者
回复 3# znnnz

依然很慢。。。。。。


   

论坛徽章:
0
5 [报告]
发表于 2012-06-11 16:16 |只看该作者
root@solaris11:~# cat /etc/hosts  | egrep -v -e '^ *$|^[ ]*#'
::1     localhost
127.0.0.1        localhost
193.168.231.232       solaris11            loghost
PC_IP  PC_hostname                                            ---------------> 添加客户端IP及主机名到hosts文件

论坛徽章:
0
6 [报告]
发表于 2012-06-11 16:37 |只看该作者
回复 5# 柯雅


    [hosts的内容]
root@solaris11:~# cat /etc/hosts  | egrep -v -e '^ *$|^[ ]*#'
::1 solaris11 localhost
193.168.231.232  solaris11------------------------------------------------------->机器的IP和hostname(这个就是额)
127.0.0.1 solaris11 localhost loghost

论坛徽章:
0
7 [报告]
发表于 2012-06-11 16:54 |只看该作者
PC_IP  PC_hostname                                            ---------------> 添加客户端IP及主机名到hosts文件,比如你连接Solaris系统时,用的笔记本的IP和笔记本主机名

论坛徽章:
0
8 [报告]
发表于 2012-06-11 17:08 |只看该作者
回复 7# 柯雅

饿。。这个倒是的。。
可是要是所有人呢?
把每个机器都加入???
   

论坛徽章:
0
9 [报告]
发表于 2012-06-11 17:09 |只看该作者
本帖最后由 柯雅 于 2012-06-11 17:09 编辑

先尝试下,看是否能解决,再看最终解决方案。

论坛徽章:
0
10 [报告]
发表于 2012-06-11 17:11 |只看该作者
回复 9# 柯雅


    是可以的。。。。的确变快了。。我试了。。
    要是长期下去是不行的。。ip变了。。就得改。。。。。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP