能不能通过VBS或者BAT或者借助其它小工具,如putty等撰写一个能自动收集H3C交换机或者路由器相关信息并将其输出到一个单独的文件的脚本呀?
我自己用了个简单的命令结合plink.exe,连接似乎正常,但连接上之后就开始报错,如下:
<...>
Host key fingerprint is:
ssh-rsa 1024 73:fe:26:62:d3:7f:41:5e:0c:a7:9f:96:30:00:98:c0
Initialised AES-128 CBC client->server encryption
Initialised HMAC-SHA1 client->server MAC algorithm
Initialised AES-128 CBC server->client encryption
Initialised HMAC-SHA1 server->client MAC algorithm
Using username "admin".
Sent password
Access granted
Opening session as main channel Opened main channel
Started a shell/command
Server unexpectedly closed network connection
******************************************************************************
* Copyright (c) 2004-2017 New H3C Technologies Co., Ltd. All rights reserved.*
* Without the owner's prior written consent, *
* no decompiling or reverse-engineering shall be allowed. *
******************************************************************************
FATAL ERROR: Server unexpectedly closed network connection
(0)
最佳答案
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
如果是Linux系统就很正常喃