Hi,
I'm trying to use JSch to connect to a micro-linux terminal server that
connects me directly to a serial console. However, though the ssh
connection is created, and the very first command I type (I'm using the
basic shell example) goes through (and is acted upon by the serial
console), no output comes back out, and no further commands are
taken.
I believe this has something to do with the ssh server (on the micro-
linux terminal server) doesn't think I have the correct terminal type to
receive data back. (This is just a wild guess.) Do you know what could
possibly be going wrong?
If I use a linux command line ssh to connect to the terminal server,
everything works fine.
Any help would be greatly appreciated.
Thanks,
Davison
dav@sci.utah.edu
Logged In: NO
Hi,
I figured out what the problem was... only input sent to the terminal server
that ends with CR (ascii 13) was accepted... and the lines that were being sent
were ending with LF (ascii 10). By hacking ChannelSession.java to replace the
10 with a 13, it works. If you have a better suggestion on how to use 13
instead of 10, I would like to know.
Thanks,
Davison