vbs的写法:
Sub Main xsh.Screen.Send "ssh 用户名@服务器地址" xsh.Screen.Send VbCr xsh.Screen.WaitForString "password: " xsh.Screen.Send "登录密码" xsh.Screen.Send VbCrEnd Sub注:VbCr意思是回车。