Net.SSH.Session中是否有任何配置设置可以让你设置键盘交互我看不到任何在课堂上设置它的选项(%Net.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)
答案 0 :(得分:2)
Look at Read command 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)