COS Setting keyboard-interactive

60 views Asked by At

Is there any config setting in Net.SSH.Session that will let you set keyboard-interactive I don't see any option to set this in class(%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)   
1

There are 1 answers

0
SSH On BEST ANSWER

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)