$ 0 0 Also when I debug the app it never leaves the while loop, so it never gets to the sshCommand.EndExecute(asynch) statement. Should I use a different function?