<br><tt><font size=2>Andrew Villano <AVillano@incentient.com> wrote
on 20/08/2009 20:31:27:<br>
<br>
> When I include -i it hangs. When I leave that out I get a password
<br>
> prompt immediately.</font></tt>
<br>
<br>
<br><tt><font size=2>The -i must be followed by a path to a windows file
containg the  client.id_dsa.key, which is the one in the windows client.</font></tt>
<br>
<br>
<br>
<br><tt><font size=2>C:\Program Files\NX Client for Windows\bin\nxssh.exe
-v -l nx -i client.id_dsa.key -p 12019 75.127.217.69</font></tt>
<br>
<br>
<br>
<br>
<br><tt><font size=2>If it works you should get the nomachine shell prompt
and if you note the TIME it takes this will tell you if the delay or failure
is during this phase.</font></tt>
<br>
<br><tt><font size=2>You may get an error message in the debug !!</font></tt>
<br>
<br>
<br><tt><font size=2>This is what I get.</font></tt>
<br>
<br>
<br><tt><font size=2>HELLO NXSERVER - Version 3.2.0-73 OS (GPL, using backend:
3.2.0)</font></tt>
<br><tt><font size=2>NX> 105 </font></tt>
<br>
<br>
<br>
<br>
<br>
<br><tt><font size=2>The next phase is to do the same thing but go for
a different shell.</font></tt>
<br>
<br><tt><font size=2>All on one line . . .</font></tt>
<br><tt><font size=2>C:\Program Files\NX Client for Windows\bin\nxssh.exe
-l nx -i client.id_dsa.key -p 12019 -s /bin/bash 75.127.217.69</font></tt>
<br>
<br>
<br><tt><font size=2>This should give you a Linux command prompt where
you can enter . . </font></tt>
<br>
<br><tt><font size=2>ssh -l your-user-name-here -p 12019  localhost
</font></tt>
<br>
<br><tt><font size=2>and see how long that takes . .</font></tt>
<br>
<br><tt><font size=2>This should ask for a password and let you log in
as the user. If this all woeks quickly, its a windows problem ( probably
)</font></tt>
<br>
<br>
<br>
<br>
<br><tt><font size=2>I bet you are sick of this by now aren't you ??</font></tt>
<br>
<br><tt><font size=2>chris</font></tt>
<br>
<br><tt><font size=2><br>
> However if you put the key in a key file and run :- <br>
> <br>
> <br>
> C:\Program Files\NX Client for Windows\bin\nxssh.exe   -v  -l
nx  -i<br>
> /path/to/nx/client.id_dsa.key  -p 12019 75.127.217.69 <br>
> <br>
> <br>
> <br>
> Assuming you DO listen on 12019 not 22 lake you say below . . <br>
> <br>
> <br>
> <br>
> We will get lost of debug and should get an NX prompt. <br>
> <br>
> <br>
> <br>
> If you "time" it we will know if the delay is in this bit
of the <br>
> connection or later . . . <br>
> <br>
> <br>
> <br>
> <br>
> >   <br>
> > My node.conf <br>
> >   <br>
> > Only options <br>
> > SSHD_PORT=12019 <br>
> > ENABLE_SSH_AUTHENTICATION="1" <br>
> > NX_LOG_LEVEL=6 <br>
> > NX_LOG_SECURE=1 <br>
> > NX_LOGFILE=/var/log/nxserver.log <br>
> >   <br>
> </font></tt>