<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:blue;
text-decoration:underline;}
tt
{font-family:"Courier New";}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:Arial;
color:navy;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=blue>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>When I include -i it hangs. When I leave
that out I get a password prompt immediately.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Warmest Regards,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Andrew Villano<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Systems Specialist<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Incentient LLC</span></font><font size=2
face=Arial><span style='font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></p>
</div>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> chris@ccburton.com
[mailto:chris@ccburton.com] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Thursday, August 20, 2009
3:17 PM<br>
<b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">User
Support for FreeNX Server and kNX Client</st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [FreeNX-kNX] Timing
Out</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
</span></font><tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>Andrew
Villano <AVillano@incentient.com> wrote on 20/08/2009 19:45:13:</span></font></tt><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'><br>
<br>
<tt><font face="Courier New">> Also an strace shows</font></tt></span></font>
<br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>> </span></font></tt>
<br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>>
poll([{fd=7, events=POLLIN}], 1, 5000) = 0 (Timeout)</span></font></tt> <br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>>
gettimeofday({1250793874, 701186}, NULL) = 0</span></font></tt> <br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>>
poll([{fd=7, events=POLLOUT}], 1, 0) = 1 ([{fd=7,
revents=POLLOUT}])</span></font></tt> <br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>> send(7,
"==\1\0\0\1\0\0\0\0\0\0\4mail\nincentient\3com"..., 37, </span></font></tt><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'><br>
<tt><font face="Courier New">> MSG_NOSIGNAL) = 37</font></tt></span></font> <br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>>
poll([{fd=7, events=POLLIN}], 1, 5000</span></font></tt> <br>
<br>
<br>
<br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>Right . . .</span></font></tt>
<br>
<br>
<br>
<br>
<br>
<br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>> </span></font></tt>
<br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>> Warmest
Regards,</span></font></tt> <br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>> </span></font></tt>
<br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>> Andrew
Villano</span></font></tt> <br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>> Systems
Specialist</span></font></tt> <br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>>
Incentient LLC</span></font></tt> <br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>> </span></font></tt><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'><br>
<tt><font face="Courier New">> From: Andrew Villano [</font></tt></span></font><a
href="mailto:AVillano@incentient.com"><tt><font size=2 face="Courier New"><span
style='font-size:10.0pt'>mailto:AVillano@incentient.com</span></font></tt></a><tt><font
size=2 face="Courier New"><span style='font-size:10.0pt'>] </span></font></tt><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'><br>
<tt><font face="Courier New">> Sent: Thursday, August 20, 2009 2:29 PM</font></tt><br>
<tt><font face="Courier New">> To: <st1:PersonName w:st="on">User Support
for FreeNX Server and kNX Client</st1:PersonName></font></tt><br>
<tt><font face="Courier New">> Subject: Re: [FreeNX-kNX] Timing Out</font></tt></span></font>
<br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>> </span></font></tt>
<br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>> tail -f
/var/log/nxserver.log shows nothing.</span></font></tt> <br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>> </span></font></tt>
<br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>>
However, I am seeing entries in /var/log/secure</span></font></tt> <br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>> </span></font></tt>
<br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>> Aug 20
14:14:48 barolo sshd[11425]: Accepted publickey for nx from </span></font></tt><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'><br>
<tt><font face="Courier New">> 75.127.217.67 port 31185 ssh2</font></tt></span></font>
<br>
<br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>20 seconds</span></font></tt>
<br>
<br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>> Aug 20
14:15:08 barolo sshd[11425]: pam_unix(sshd:session): session </span></font></tt><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'><br>
<tt><font face="Courier New">> opened for user nx by (uid=0)</font></tt></span></font>
<br>
<br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>spawn etc</span></font></tt>
<br>
<br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>> Aug 20
14:15:30 barolo sshd[11416]: pam_unix(sshd:session): session </span></font></tt><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'><br>
<tt><font face="Courier New">> closed for user nx</font></tt></span></font> <br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>> Aug 20
14:15:46 barolo sshd[11419]: pam_unix(sshd:session): session </span></font></tt><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'><br>
<tt><font face="Courier New">> closed for user nx</font></tt></span></font> <br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>> Aug 20
14:16:08 barolo sshd[11425]: pam_unix(sshd:session): session </span></font></tt><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'><br>
<tt><font face="Courier New">> closed for user nx</font></tt></span></font> <br>
<br>
<br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>Yup 1 min 20</span></font></tt>
<br>
<br>
<br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>But tells us
not very much . . .</span></font></tt> <br>
<br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>However if
you put the key in a key file and run :-</span></font></tt> <br>
<br>
<br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>C:\Program
Files\NX Client for Windows\bin\nxssh.exe -v -l nx -i
/path/to/nx/client.id_dsa.key -p 12019 75.127.217.69</span></font></tt> <br>
<br>
<br>
<br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>Assuming you
DO listen on 12019 not 22 lake you say below . .</span></font></tt> <br>
<br>
<br>
<br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>We will get
lost of debug and should get an NX prompt.</span></font></tt> <br>
<br>
<br>
<br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>If you
"time" it we will know if the delay is in this bit of the connection
or later . . .</span></font></tt> <br>
<br>
<br>
<br>
<br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>> </span></font></tt>
<br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>> My
node.conf</span></font></tt> <br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>> </span></font></tt>
<br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>> Only
options</span></font></tt> <br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>>
SSHD_PORT=12019</span></font></tt> <br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>>
ENABLE_SSH_AUTHENTICATION="1"</span></font></tt> <br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>>
NX_LOG_LEVEL=6</span></font></tt> <br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>>
NX_LOG_SECURE=1</span></font></tt> <br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>>
NX_LOGFILE=/var/log/nxserver.log</span></font></tt> <br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>> </span></font></tt>
<br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>> I
touch’d /var/log/nxserver.log and chmod 777’d it and chown’d it to nx….</span></font></tt>
<br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>> </span></font></tt>
<br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>>
Strange………</span></font></tt> <br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>> </span></font></tt>
<br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>> Warmest
Regards,</span></font></tt> <br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>> </span></font></tt>
<br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>> Andrew
Villano</span></font></tt> <br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>> Systems
Specialist</span></font></tt> <br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>>
Incentient LLC</span></font></tt> <br>
<tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>> </span></font></tt><o:p></o:p></p>
</div>
</body>
</html>