Re: [JSch-users] WTMP and UTMP records while Port Forwarding
Status: Alpha
Brought to you by:
ymnk
From: Code L. <cod...@gm...> - 2006-09-21 04:41:47
|
Hi, Thanks for tip :) that worked! Cheers!. On 9/16/06, Atsuhiko Yamanaka <ym...@jc...> wrote: > Hi, > > +-From: Codelogic <cod...@gm...> -- > |_Date: Fri, 15 Sep 2006 12:05:57 -0700 __ > | > |My application does port forwarding using setPortForwardingL from a > |Windows machine to a linux box. On the linux side, looking at a 'netstat > |-an' I can see that a connection is established. Also doing a 'ps axu' > |I can see the process 'sshd: username' . However, when I try a 'w' or > |'who' , I do not see the user logged in. In looks like the WTMP and UTMP > |records aren't being updated upon login for some reason. Trying the same > |port forwarding using 'plink', I can see the user logged in when I run > |'w' or 'who'. > |Any idea why this happens or how it can be resolved? > > How about establishing a shell channel additionaly? > > Sincerely, > -- > Atsuhiko Yamanaka > JCraft,Inc. > 1-14-20 HONCHO AOBA-KU, > SENDAI, MIYAGI 980-0014 Japan. > Tel +81-22-723-2150 > +1-415-578-3454 > Fax +81-22-224-8773 > Skype callto://jcraft/ > |