Menu

#21 Jsch getting hanged

v1.0 (example)
open
None
1
2014-10-24
2014-10-24
nausadh
No

Hi,
I am using jsch to ssh a raritan device(console server which is used to access network components serial port remote).Using jsch i am able to go inside the raritan server. But once i tried to connect with serial component it's getting hanged.. Please see the output.. After doing ssh via jsch..

1st output :


Device Type: Dominion KSX2 Model: DKSX2_188
Device Name: SA315K1U36 FW Version: 2.6.0.5.1204 SN: AE14500036
IP Address: x.x.x.x Idle Timeout: 30min


Port Port Port Port Port
No. Name Type Status Availability
1 - Dominion_KSX2_Port1 Not Available down idle
2 - Dominion_KSX2_Port2 Not Available down idle
3 - Dominion_KSX2_Port3 Not Available down idle
4 - Dominion_KSX2_Port4 Not Available down idle
5 - Dominion_KSX2_Port5 Not Available down idle
6 - Dominion_KSX2_Port6 Not Available down idle
7 - Dominion_KSX2_Port7 Not Available down idle
8 - Dominion_KSX2_Port8 Not Available down idle
9 - simfgt1 Serial up idle
10 - simfgt2 Serial up idle
11 - simcore1 Serial up idle
12 - simcore2 Serial up idle
13 - simaccess1 Serial up idle
14 - simaccess2 Serial up idle
15 - Serial Port 7 Serial up idle
16 - Serial Port 8 Serial up idle

Current Time: Fri Oct 24 05:15:48 2014

Then i execute the command:
connect 11
Output:

Escape Sequence is: Control-]

You are now master for the port

After giving two \n it is getting hanged... But via normal ssh(linux machine default ssh) it is working properly after pressing two enter keys. any suggestions.

Discussion


Log in to post a comment.