Leonardo K. Shikida
2015-06-11 17:57:57 UTC
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
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