<br><br><div class="gmail_quote">On Fri, Jul 26, 2013 at 5:36 AM, <span dir="ltr"><<a href="mailto:chris@ccburton.com" target="_blank">chris@ccburton.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br><tt><font><a href="mailto:freenx-knx-bounces@kde.org" target="_blank">freenx-knx-bounces@kde.org</a> wrote on 25/07/2013 22:53:10:<br>
<br>
[SNIP]</font></tt>
<br><div class="im"><tt><font>It's impossible for me to tell exactly what's going
on from your</font></tt>
<br></div><tt><font>description</font></tt>
<br><tt><font>however</font></tt>
<br><tt><font>you can run a few tests (from the server) which may
help.</font></tt>
<br>
<br><tt><font>eg.</font></tt>
<br><tt><font> login to the server</font></tt>
<br><tt><font> sudo bash</font></tt>
<br><tt><font>to get a root shell</font></tt>
<br><tt><font>then</font></tt>
<br><tt><font> su -l -s /bin/bash
nx</font></tt>
<br><tt><font>to get a shell as user nx</font></tt>
<br>
<br><tt><font>run the line of PASSDB code which seems to be failing
. . . .</font></tt>
<br>
<br><tt><font>( echo "$@" | $COMMAND_SSH -l burtonc
127.0.0.1 -p 22 -x -2 -i /etc/nxserner/users.id_dsa -o 'PubkeyAuthentication
yes' -o 'RSAAuthentication yes' -o 'RhostsAuthentication no' -o 'PasswordAuthentication
no' -o 'RhostsRSAAuthentication no' -o 'StrictHostKeyChecking no' /usr/bin/nxnode
"$CMD" )</font></tt>
<br>
<br><tt><font>. . . but with the blanks filled in . . .</font></tt>
<br>
<br><tt><font>eg. for your username instead of "user"</font></tt>
<br>
<br><tt><font>/usr/bin/ssh -l "user" 127.0.0.1 -p
22 -x -2 -i /</font></tt>
<br><tt><font> /etc/nxserver/users.id_dsa
-o 'PubkeyAuthentication yes' /</font></tt>
<br><tt><font> -o 'RSAAuthentication
yes' -o 'RhostsAuthentication no' /</font></tt>
<br><tt><font> -o 'PasswordAuthentication
no' -o 'RhostsRSAAuthentication no'/</font></tt>
<br><tt><font> -o 'StrictHostKeyChecking
no'</font></tt>
<br>
<br>
<br><tt><font>You should get either an error message or a command
prompt.</font></tt>
<br>
<br></blockquote><div><br>When I run the below command as the user nx, I do receive a command prompt:<br><i><br>-bash-4.1$ ssh -l "user" 127.0.0.1 -p 45559 -x -2 -i /etc/nxserver/client.id_dsa.key -o 'PubkeyAuthentication yes' -o 'RSAAuthentication yes' -o 'RhostsAuthentication no' -o 'PasswordAuthentication no' -o 'RhostsRSAAuthentication no' -o 'StrictHostKeyChecking no'<br>
Last login: Fri Jul 26 20:43:23 2013 from localhost.localdomain<br>[user@localhost ~]$ exit<br>logout<br>Connection to 127.0.0.1 closed.<br>-bash-4.1$</i><br> <br>So, that worked.<br><br>Here's my sshd config:<br><br>
<a href="http://pastebin.com/xx6CftDS">http://pastebin.com/xx6CftDS</a><br><br>And here's my node.conf:<br><br><a href="http://pastebin.com/V7tbCWxg">http://pastebin.com/V7tbCWxg</a><br><br>Anything pop out to you?<br>
</div></div>