avatar
how to enable SSH under Solaris9?# Unix - 噫吁兮,危乎高哉
s*l
1
一个朋友新买了Sun workstation, Solaris 9.0
他告诉我了,账号和密码,但是我却连不进,
能ping,但是我用ssh u******[email protected]一点反应都没有,
我怀疑他装的solaris9没有enable SSH,
(或者有什么trusted IP list之类?)
那位告诉我怎么折腾?
谢谢了。
我刚从Sun下载了manual,正在看,
我怀疑不光要enable SSH,是不是还要设置用户访问权限。
我用solaris比较多,但是怎么折腾这些东西一点概念都没有。
那位顺手回答一下这个问题的话,不胜感激。
avatar
x*g
2
sshd 在solaris9是default enabled呀, 你telnet能进吗?

【在 s*****l 的大作中提到】
: 一个朋友新买了Sun workstation, Solaris 9.0
: 他告诉我了,账号和密码,但是我却连不进,
: 能ping,但是我用ssh u******[email protected]一点反应都没有,
: 我怀疑他装的solaris9没有enable SSH,
: (或者有什么trusted IP list之类?)
: 那位告诉我怎么折腾?
: 谢谢了。
: 我刚从Sun下载了manual,正在看,
: 我怀疑不光要enable SSH,是不是还要设置用户访问权限。
: 我用solaris比较多,但是怎么折腾这些东西一点概念都没有。

avatar
c*j
3
1. make sure he is not using NAT or using NAT with DMZ
2. make sure sshd connection is not blocked by firewall
3. make sure sshd connection is not blocked by tcpwraper
(/etc/hosts.deny, /etc/hosts.allow)
4. make sure sshd is started (/etc/init.d/sshd status)
5. if you are using root, it is blocked my ssh connection by default,
but you can change it by editing /etc/ssh/sshd_config or
/usr/local/etc/sshd_config

【在 s*****l 的大作中提到】
: 一个朋友新买了Sun workstation, Solaris 9.0
: 他告诉我了,账号和密码,但是我却连不进,
: 能ping,但是我用ssh u******[email protected]一点反应都没有,
: 我怀疑他装的solaris9没有enable SSH,
: (或者有什么trusted IP list之类?)
: 那位告诉我怎么折腾?
: 谢谢了。
: 我刚从Sun下载了manual,正在看,
: 我怀疑不光要enable SSH,是不是还要设置用户访问权限。
: 我用solaris比较多,但是怎么折腾这些东西一点概念都没有。

avatar
s*l
4
不行,我就只能ping他的机器,其他的什么都不行(ftp, sftp...)
我怀疑他是不是没有装ssshd

【在 x*********g 的大作中提到】
: sshd 在solaris9是default enabled呀, 你telnet能进吗?
avatar
s*l
5

this is less possible coz his IP is independant IP.
as far as i know, his computer doesn't have firewall,
it could be his institute's local network firewall,
but i only know institutes usually block ftp/telnet.
it's unbelievable if they block sshd.
really appreciate your advice.
i forwarded your suggestions to him,
but seems he's a newbie on Unixand couldn't figure it out.
we'll sort it out in other ways.

【在 c****j 的大作中提到】
: 1. make sure he is not using NAT or using NAT with DMZ
: 2. make sure sshd connection is not blocked by firewall
: 3. make sure sshd connection is not blocked by tcpwraper
: (/etc/hosts.deny, /etc/hosts.allow)
: 4. make sure sshd is started (/etc/init.d/sshd status)
: 5. if you are using root, it is blocked my ssh connection by default,
: but you can change it by editing /etc/ssh/sshd_config or
: /usr/local/etc/sshd_config

avatar
x*g
6

It's possible to block sshd. Many company's network only allow access via
secure card, which is a small hardware, will generate logon code everytime
when you logon. But institutes normally don't block sshd.
Could you logon to his workstation if your machine is in the same network? And
what is the result if he tries to logon from his own workstation? What's the
result of
root# /etc/init.d/sshd status
on his workstation?

【在 s*****l 的大作中提到】
:
: this is less possible coz his IP is independant IP.
: as far as i know, his computer doesn't have firewall,
: it could be his institute's local network firewall,
: but i only know institutes usually block ftp/telnet.
: it's unbelievable if they block sshd.
: really appreciate your advice.
: i forwarded your suggestions to him,
: but seems he's a newbie on Unixand couldn't figure it out.
: we'll sort it out in other ways.

avatar
s*l
7
we're not under the same network (hehe, separated by Pacific Ocean).
i've told him to try those commands,
but he didn't reply,
don't know what's going on there.

【在 x*********g 的大作中提到】
:
: It's possible to block sshd. Many company's network only allow access via
: secure card, which is a small hardware, will generate logon code everytime
: when you logon. But institutes normally don't block sshd.
: Could you logon to his workstation if your machine is in the same network? And
: what is the result if he tries to logon from his own workstation? What's the
: result of
: root# /etc/init.d/sshd status
: on his workstation?

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。