Windows SecureCRT使用命令行启动连接远程服务
Windows上安装了SecureCRT,想通过命令行的方式来启动,通过查找资料后,找到了2种方法,介绍如下:
1、参数类型的方式
SecureCRT.exe /[<protocol>] /L [user] /P port /PASSWORD [password] [host]
举例:
SecureCRT.exe /SSH2 /L root /P 22 /PASSWORD root123 127.0.0.1
2、协议类型的方式
[<protocol>://][<user>[:<password>]@]<host>[:<port>]
举例:
SecureCRT.exe ssh2://root:root123@127.0.0.1:22
评论