avatar
再问一个关于Telnet的问题# Unix - 噫吁兮,危乎高哉
p*a
1
我用telnet上不了我的SUN工作站了(SunOS 5.7)
网络是好的,Exceed也能上去,ftp,http都是好的,我看了telnet的服务
也是有的,但就是我一用Telnet,他就提示connection to host lost.
也没有更多的提示。
各位大侠碰到过这种情况吗?
在SUN上,配置telnet服务怎么搞定呀??
谢谢了!
avatar
T*r
2
grep telnet /etc/inetd.conf, if you find something like tcpd, then
it's because tcp_wrapper is running. go to check /etc/hosts.allow,
see if your client is in the allow hosts list.

【在 p*******a 的大作中提到】
: 我用telnet上不了我的SUN工作站了(SunOS 5.7)
: 网络是好的,Exceed也能上去,ftp,http都是好的,我看了telnet的服务
: 也是有的,但就是我一用Telnet,他就提示connection to host lost.
: 也没有更多的提示。
: 各位大侠碰到过这种情况吗?
: 在SUN上,配置telnet服务怎么搞定呀??
: 谢谢了!

avatar
p*a
3
# Ftp and telnet are standard Internet services.
telnet stream tcp nowait root /usr/sbin/in.telnetd in.telnetd
在我的工作站上是这个样的,没有你提到的tcpd,我也看了我得/etc下没有hosts.allow
目录,是这个目录吗?
anyway,谢谢

【在 T********r 的大作中提到】
: grep telnet /etc/inetd.conf, if you find something like tcpd, then
: it's because tcp_wrapper is running. go to check /etc/hosts.allow,
: see if your client is in the allow hosts list.

avatar
q*e
4
Connection refused or lost? The difference is
important. If refused, most probably you telnet service
is not started due to configuration problem etc.
But if it is lost, porbably your telnet server is
fine, but the service is restricted due to other reasons
(security etc).
You can try to telnet from different machines(both
local and remote) with different account(both previlleged
and normal user) to find out. Say if you could telnet to
the same machine, that means your

【在 p*******a 的大作中提到】
: 我用telnet上不了我的SUN工作站了(SunOS 5.7)
: 网络是好的,Exceed也能上去,ftp,http都是好的,我看了telnet的服务
: 也是有的,但就是我一用Telnet,他就提示connection to host lost.
: 也没有更多的提示。
: 各位大侠碰到过这种情况吗?
: 在SUN上,配置telnet服务怎么搞定呀??
: 谢谢了!

avatar
T*r
5
check whether there's an in.telnetd in /usr/sbin/
btw, hosts.allow is a file, not a directory.

【在 p*******a 的大作中提到】
: # Ftp and telnet are standard Internet services.
: telnet stream tcp nowait root /usr/sbin/in.telnetd in.telnetd
: 在我的工作站上是这个样的,没有你提到的tcpd,我也看了我得/etc下没有hosts.allow
: 目录,是这个目录吗?
: anyway,谢谢

avatar
p*a
6
是lost.
刚才我又试了一下在工作站上本地登陆,结果也不行
显示:
Connected to ntrcsun19.
Escape character is '^]'.
SunOS 5.7
Connection closed by foreign host.

【在 q***e 的大作中提到】
: Connection refused or lost? The difference is
: important. If refused, most probably you telnet service
: is not started due to configuration problem etc.
: But if it is lost, porbably your telnet server is
: fine, but the service is restricted due to other reasons
: (security etc).
: You can try to telnet from different machines(both
: local and remote) with different account(both previlleged
: and normal user) to find out. Say if you could telnet to
: the same machine, that means your

avatar
p*a
7
我得工作站上没这个文件。你是用SunOS 5.7吗?

【在 T********r 的大作中提到】
: check whether there's an in.telnetd in /usr/sbin/
: btw, hosts.allow is a file, not a directory.

avatar
o*z
8
maybe it just doesn't want telnet clients
is there a sshd running?

【在 p*******a 的大作中提到】
: 我得工作站上没这个文件。你是用SunOS 5.7吗?
avatar
T*r
9
Probably sysadm already deleted in.telnetd. You should try other
methods to login the system and obtain shell, i.e. ssh.
ps -ae | grep sshd
or
telnet localhost 22

【在 p*******a 的大作中提到】
: 我得工作站上没这个文件。你是用SunOS 5.7吗?
avatar
p*a
10

没有这个sshd
还是不行,还有其他办法没?
天哪,看来这个机器算完了。谢谢大家

【在 T********r 的大作中提到】
: Probably sysadm already deleted in.telnetd. You should try other
: methods to login the system and obtain shell, i.e. ssh.
: ps -ae | grep sshd
: or
: telnet localhost 22

avatar
T*r
11
don't give up so quickly. you can still try rlogin/rsh
grep rlogin /etc/inetd.conf
grep rsh /etc/inetd.conf
or
telnet localhost 512
telnet localhost 513
to see if these services are open.
or if you are root, try to copy an in.telnetd from other Solaris
7 machines.

【在 p*******a 的大作中提到】
:
: 没有这个sshd
: 还是不行,还有其他办法没?
: 天哪,看来这个机器算完了。谢谢大家

avatar
p*a
12
这些服务都有,但是都上不去,都是lost,
但是Exceed怎么能上去呢?
感觉是不是有管理软件把这些都给关掉了

【在 T********r 的大作中提到】
: don't give up so quickly. you can still try rlogin/rsh
: grep rlogin /etc/inetd.conf
: grep rsh /etc/inetd.conf
: or
: telnet localhost 512
: telnet localhost 513
: to see if these services are open.
: or if you are root, try to copy an in.telnetd from other Solaris
: 7 machines.

avatar
w*n
13
Exceed uses XDMCP service, is not controlled by inetd, it is a totally different protocol compared
protocol ... .
It is possible that your system uses some firewall software ...
use "netstat -a" check if the corresponding TCP port is passive open
(like this,
*.telnet *.* 0 0 0 0 LISTEN
)
or tell me your ip, I can scan it for you :-))

【在 p*******a 的大作中提到】
: 这些服务都有,但是都上不去,都是lost,
: 但是Exceed怎么能上去呢?
: 感觉是不是有管理软件把这些都给关掉了

avatar
p*a
14

呵呵,不好意思,这边网管挺紧的不敢动呀

【在 w**n 的大作中提到】
: Exceed uses XDMCP service, is not controlled by inetd, it is a totally different protocol compared
: protocol ... .
: It is possible that your system uses some firewall software ...
: use "netstat -a" check if the corresponding TCP port is passive open
: (like this,
: *.telnet *.* 0 0 0 0 LISTEN
: )
: or tell me your ip, I can scan it for you :-))

avatar
f*r
15

没错!防火墙软件能够对指定的IP关掉指定的服务协议和端口。
所以,虽然你看到绝大多数服务程序都在运行,可是你就是连
不上去。
So ask your network administrator for help.

【在 p*******a 的大作中提到】
: 这些服务都有,但是都上不去,都是lost,
: 但是Exceed怎么能上去呢?
: 感觉是不是有管理软件把这些都给关掉了

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