连接时如何检测远程机器操作系统? [英] How to detect remote machine os, while connecting?

查看:101
本文介绍了连接时如何检测远程机器操作系统?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




连接时如何检测远程机器操作系统?

我想找出远程机器os是windows / unix / linux / solaries,无需登录机器,同时连接自己。



谢谢

srikanth

Hi,

How to detect remote machine os, while connecting?
I want to find out remote machine os is windows/unix/linux/solaries, without login into the machine, while connecting itself.


Thanks
srikanth

推荐答案

您需要提供有关您需要完成的内容以及用户连接的上下文的更多详细信息。这是通过网络共享,Web服务,RDP或telnet或ssh或其他什么连接?


您可能还需要发布您的脚本以及任何错误/警告它会生成。
You need to provide more details on what you need to accomplish and in what context is the user connecting. Is this connection via a network share, or a web service, or RDP or telnet or ssh or something else?

You will probably also need to post your script and any errors/warnings that it generates.


你好Ron,


我通过Telnet连接主机。那么你可以指导我如何知道主持人的操作系统。


谢谢

srikanth
Hi Ron,

I am connecting hosts via Telnet. So can u guide me how to know the host''s os.

Thanks
srikanth


你是说你在Perl系统命令中使用telnet,从Perl模块使用telnet,或者你是否在命令行上使用telnet而不使用Perl?你需要请注明。


如果您使用Perl,那么您需要提供您的代码,否则我们将盲目地抓住吸管。


问候,


杰夫
Are you saying that your using telnet from the system command in Perl, from a Perl Module, or are you using telnet on the command line without the use of Perl? You need to please specify.

If you are using Perl for this, then you NEED to please provide your code, otherwise we will be grasping at straws, blindly.

Regards,

Jeff


这篇关于连接时如何检测远程机器操作系统?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆