You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using (SshClient ssh = new SshClient(address, username, password) {
ssh.Connect()
using (ShellStream shell = ssh.CreateShellStream("xterm", 80, 80, 80, 80, 1024)) {
// Do stuff
}
// I expect to be able to use the SshClient instance here but in fact it is disconnected
}