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)?
s ssh=##class(%Net.SSH.Session).%New()
w "Connect to "_url_"/"_dir,!
s sc=ssh.Connect(url,port)
s sc=ssh.AuthenticateWithUsername(un,pwd)
Look at Read command http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=RCOS_cread