1

Net.SSH.Session 中是否有任何配置设置可以让您设置键盘交互我在类(%Net.SSH.Session)中看不到任何设置它的选项?

http://docs.intersystems.com/latest/csp/documatic/%25CSP.Documatic.cls?APP=1&LIBRARY=%25SYS&CLASSNAME=%25Net.SSH.Session

s ssh=##class(%Net.SSH.Session).%New()  
w "Connect to "_url_"/"_dir,!
s sc=ssh.Connect(url,port)
s sc=ssh.AuthenticateWithUsername(un,pwd)   
4

1 回答 1

2

查看读取命令http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=RCOS_cread

r "URL: ",url
r "Dir: ",dir
w "Connect to "_url_"/"_dir,!
s ssh=##class(%Net.SSH.Session).%New()  
s sc=ssh.Connect(url,port)
s sc=ssh.AuthenticateWithUsername(un,pwd)  
于 2017-12-18T22:56:53.747 回答