<br><tt><font size=2>Alex Aminoff <aminoff@nber.org> wrote on 01/02/2011
20:43:05:<br>
<br>
[SNIP]<br>
> > Let us know how you get on !!<br>
> <br>
> [aminoff@perlw2 nx]$ ./nxnode-login ssh aminoff 22 /usr/libexec/nx/nxnode
<br>
> --check<br>
> **my password**<br>
> This server requires two-factor authentication. Enter your unix password,
<br>
> then either use otpw or phone authentication. Press<br>
</font></tt>
<br><tt><font size=2>You didn't fix the # after "Press", however,
as I said before, your users</font></tt>
<br><tt><font size=2>won't see this message anyway, so you may as well
get rid of it</font></tt>
<br><tt><font size=2>altogether.</font></tt>
<br>
<br><tt><font size=2>> Password:<br>
> NX> 1000 NXNODE - Version 3.2.0-74-SVN OS (GPL, using backend:
3.3.0)<br>
> NX> 716 finished<br>
> NX> 1001 Bye.<br>
> <br>
> <br>
> This appears to work.<br>
</font></tt>
<br><tt><font size=2>Yup</font></tt>
<br>
<br><tt><font size=2>> The problem I now have is that the various PAM
bits expect the ssh <br>
> connection to come from the user's machine, whereas with nx there
is first <br>
> the ssh to nx, then a local ssh to the user. For example the phone
<br>
> authentication system knows about local in the office phone numbers
and <br>
> will try one of those first if the remote host apears to be local
<br>
> (PAM_RHOST).<br>
> <br>
> It is possible that previously it was working, but taking a very very
long <br>
> time because it was calling the wrong phone, waiting for it to stop
<br>
> ringing, then calling the correct phone.<br>
</font></tt>
<br><tt><font size=2>Probably . . .</font></tt>
<br><tt><font size=2><br>
> Is there a way to not ssh in as user nx first but instead just directly
as <br>
> the user?<br>
</font></tt>
<br><tt><font size=2>Usemode</font></tt>
<br>
<br><a href="http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_Howto"><tt><font size=2>http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_Howto</font></tt></a>
<br>
<br><tt><font size=2>I haven't used it, so start with google and a search
through the list.</font></tt>
<br><tt><font size=2><br>
> Thanks,<br>
> <br>
> - Alex Aminoff<br>
> BaseSpace.net<br>
> National Bureau of Economic Research (nber.org)<br>
</font></tt>