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?
Complete thread:
- SSH Serial Connection Hangup - Mike D, 2014-11-19, 03:08
- SSH Serial Connection Hangup - Jasmine, 2014-11-19, 07:21
- SSH Serial Connection Hangup - Mike D, 2014-11-20, 06:03
- SSH Serial Connection Hangup - Jasmine, 2014-11-20, 15:42
- SSH Serial Connection Hangup - Mike D, 2014-12-04, 04:09
- SSH Serial Connection Hangup - Jasmine, 2014-12-04, 09:42
- SSH Serial Connection Hangup - Mike D, 2014-12-04, 04:09
- SSH Serial Connection Hangup - Jasmine, 2014-11-20, 15:42
- SSH Serial Connection Hangup - Mike D, 2014-11-20, 06:03
- SSH Serial Connection Hangup - Jasmine, 2014-11-19, 07:21