Discussion:
[JSch-users] How to deal with “Not on system console” using JSch?
Leonardo K. Shikida
2015-06-11 17:57:57 UTC
Permalink
While trying to connect to a SunOS box, if I connect from the terminal, it
works ok, but if I try via JSch, I get the message "Not on system console".

I understand (quite, not much) the causes (see
http://www.unix.com/unix-for-dummies-questions-and-answers/1496-not-system-console-connection-host-lost.html
for some discussion) but my code have to use the root user to log in and I
can't change the target box settings (such as commenting the variable
CONSOLE for example.)

So my doubt is related to JSch. Is there any setting to make it work in
this scenario?
TIA

Leo
Leonardo K. Shikida
2015-06-11 18:40:06 UTC
Permalink
please ignore

telnet was being used, not ssh

[]

Leo
Post by Leonardo K. Shikida
While trying to connect to a SunOS box, if I connect from the terminal, it
works ok, but if I try via JSch, I get the message "Not on system console".
I understand (quite, not much) the causes (see
http://www.unix.com/unix-for-dummies-questions-and-answers/1496-not-system-console-connection-host-lost.html
for some discussion) but my code have to use the root user to log in and I
can't change the target box settings (such as commenting the variable
CONSOLE for example.)
So my doubt is related to JSch. Is there any setting to make it work in
this scenario?
TIA
Leo
Loading...