On Thu, Oct 26, 2006 at 03:48:08PM +0100 or so it is rumoured hereabouts,
Frank Duignan thought:
>> On the server end, I've disabled password access to ssh on port 22. This
> upset nx a bit, but I ran a second sshd daemon on localhost port 2022. You
So how did you do this? I can set
ListenAddress 127.0.0.1:2022
ListenAddress 0.0.0.0:22
in /etc/sshd_config to listen on two ports but I cannot see any way to set
PasswordAuthentication yes
for the localhost port and
PasswordAuthentication no
for the main port. Did you end up running two different config files?
> can tell the nxserver end to pass users through this by setting
> SSHD_AUTH_PORT="2022"
> in its node.conf file (on my setup this is at /opt/NX/etc/node.conf
I found this option in server.cfg in my setup. I don't think I have
FreeNX at the mo though, going to yum install that later and try it out...
Conor
--
Conor Daly <conor.daly at cod.homelinux.org>
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/G/S/O d+(-) s:+ a+ C++(+) UL++++ US++ P>++ L+++>++++ E--- W++ !N
PS+ PE Y+ PGP? tv(-) b+++(+) G e+++(*) h-- r+++ z++++
------END GEEK CODE BLOCK------
http://www.geekcode.com/http://www.ebb.org/ungeek/
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!