I just tried to use NMSSH for the first time but it simply does not connect for me
import UIKit
import NMSSH
class ViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view, typically from a nib.
let session = NMSSHSession(host: "11.111.11.11", andUsername: "vnc")
if session.connected == true{
session.authenticateByPassword("1234")
if session.authorized == true {
print("works")
}
}
}
}