SSH Serial Connection Hangup (wodSSH / wodSSH.NET)
I have a asynchronous session that i connect to device. When i get the command prompt, i need to run the command microcom below to open a serial connection to an attached cisco device. A problem arises when there is nothing connected, when i run the command my entire application will hang and freeze up. The command seems to execute but never returns.
microcom -s 9600 /dev/ttyO0
I was thinking about creating a synchronous utility class to log in and test the serial connection. Is there a way to set a time interval on a send command and if it does hang, just force a disconnect on the session?