def Main():
# *** Open, Close, Sleep ***
xsh.Session.Open("ssh://test:test@192.168.X.X")
#xsh.Session.Open("C:\\...\\NetSarang\\Xshell\\Sessions\\New Session.xsh")
xsh.Screen.Synchronous = True #True or False
xsh.Session.Sleep(1000)
#*** StartLog, StopLog ***
xsh.Session.LogFilePath = "C:\\...\\NetSarang\\Xshell\\Logs\\example.log"
xsh.Session.StartLog()
#*** Property ***
MsgInfo = "LogPath: " + xsh.Session.LogFilePath + ", "
MsgInfo = MsgInfo + "LocalAddress: " + xsh.Session.LocalAddress + ", "
MsgInfo = MsgInfo + "Path: " + xsh.Session.Path + ", "
MsgInfo = MsgInfo + "RemoteAddress: " + xsh.Session.RemoteAddress + ", "
MsgInfo = MsgInfo + "RemotePort: " + str(xsh.Session.RemotePort) + ", "
MsgInfo = MsgInfo + "Connected: " + str(xsh.Session.Connected) + ", "
MsgInfo = MsgInfo + "Logging: " + str(xsh.Session.Logging)
xsh.Dialog.MsgBox(MsgInfo)
xsh.Session.Close()
xsh.Session.StopLog()
没有合适的资源?快使用搜索试试~ 我知道了~
Xshell6 软件安装包.zip
共39个文件
dll:20个
exe:6个
bat:2个
0 下载量 81 浏览量
2022-11-06
16:12:43
上传
评论
收藏 7.84MB ZIP 举报
温馨提示
Xshell6 软件安装包.zip Xshell6 软件安装包.zip Xshell6 软件安装包.zip Xshell6 软件安装包.zip Xshell6 软件安装包.zip Xshell6 软件安装包.zip Xshell6 软件安装包.zip Xshell6 软件安装包.zip
资源推荐
资源详情
资源评论
收起资源包目录
Xshell+6.zip (39个子文件)
Xshell 6
hostsedit.exe 849KB
Languages
XtransportCHT.dll 685KB
XshellCHT.dll 947KB
XshellCoreCHS.dll 1.16MB
XshellCoreCHT.dll 1.16MB
XtransportCHS.dll 685KB
XshellCHS.dll 946KB
XagentCHT.dll 380KB
XagentCHS.dll 380KB
nsprofile2.dll 158KB
Xagent.exe 451KB
CrashRpt.dll 155KB
hostsedit.ini 128KB
nsutil2.dll 402KB
nssock2.dll 109KB
nsactivate.dll 1.43MB
Xshell.exe 2.62MB
crashrpt_lang.ini 8KB
XshellCore.tlb 4KB
!卸载.bat 1KB
nslicense.dll 783KB
XshellLib.dll 388KB
example.tkm 306B
Xtransport.exe 939KB
nsssh3.dll 1.47MB
绿化.bat 6KB
nsresource.dll 1.06MB
CrashSender.exe 954KB
NsCopyHook3.dll 129KB
nssecurity.dll 145KB
HighlightSample
New Highlight Set (Sample).hls 2KB
XshellCore.exe 2.41MB
python34.dll 2.65MB
ScriptSample
Screen
xshell_screen.py 894B
xshell_screen.js 950B
xshell_screen.vbs 934B
Session
xshell_session.js 1021B
xshell_session.vbs 948B
xshell_session.py 959B
共 39 条
- 1
资源评论
柯晓楠
- 粉丝: 2w+
- 资源: 2647
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功