Re: [CentOS] Multiple FreeNX servers and SSH ports

2010-03-27 Thread Kanwar Ranbir Sandhu
On Sun, 2010-03-21 at 15:54 +0100, Niki Kovacs wrote: I'd like to handle the two PCs from the medical office remotely with FreeNX. I figured that the best way to distinguish them would be to assign a different port for SSH to each of them, and then redirect each of the ports respectively.

[CentOS] Multiple FreeNX servers and SSH ports

2010-03-21 Thread Niki Kovacs
Hi, I've setup a small LAN of two desktops running CentOS 5 in a medical office. Both are connected to the Internet via a small modem/router. Recently I played around with FreeNX on my own desktop, and I'd like to install it on these two computers. On my PC, I just redirected port 22 in the

Re: [CentOS] Multiple FreeNX servers and SSH ports

2010-03-21 Thread Ned Slider
Niki Kovacs wrote: Hi, I've setup a small LAN of two desktops running CentOS 5 in a medical office. Both are connected to the Internet via a small modem/router. Recently I played around with FreeNX on my own desktop, and I'd like to install it on these two computers. On my PC, I just

Re: [CentOS] Multiple FreeNX servers and SSH ports

2010-03-21 Thread Niki Kovacs
Ned Slider a écrit : Choose a random unused high port number (above 1023) http://www.iana.org/assignments/port-numbers. 2) How do I configure these different ports ? By that, I mean : how do I tell SSH to use them instead of port 22 ?

Re: [CentOS] Multiple FreeNX servers and SSH ports

2010-03-21 Thread Les Mikesell
Niki Kovacs wrote: Hi, I've setup a small LAN of two desktops running CentOS 5 in a medical office. Both are connected to the Internet via a small modem/router. Recently I played around with FreeNX on my own desktop, and I'd like to install it on these two computers. On my PC, I just

Re: [CentOS] Multiple FreeNX servers and SSH ports

2010-03-21 Thread Stephen Harris
On Sun, Mar 21, 2010 at 05:03:12PM +0100, Niki Kovacs wrote: Now I can ssh into my two machines from the outside, using my public IP address. E. g. : # ssh my.ip.add.res -p 10022 -- I'm logged into bernadette # ssh my.ip.add.res -p 10023 -- Logs me into raymonde [ Key changed... ]

Re: [CentOS] Multiple FreeNX servers and SSH ports

2010-03-21 Thread Ned Slider
Les Mikesell wrote: Niki Kovacs wrote: Hi, I've setup a small LAN of two desktops running CentOS 5 in a medical office. Both are connected to the Internet via a small modem/router. Recently I played around with FreeNX on my own desktop, and I'd like to install it on these two computers.

Re: [CentOS] Multiple FreeNX servers and SSH ports

2010-03-21 Thread Craig White
On Sun, 2010-03-21 at 17:03 +0100, Niki Kovacs wrote: Ned Slider a écrit : Choose a random unused high port number (above 1023) http://www.iana.org/assignments/port-numbers. 2) How do I configure these different ports ? By that, I mean : how do I tell SSH to use them instead of

Re: [CentOS] Multiple FreeNX servers and SSH ports

2010-03-21 Thread Niki Kovacs
Les Mikesell a écrit : You don't really need to change the ports on the hosts. Just configure the router to accept different ports on the internet side and redirect to port 22 at the different IP addresses on the inside. Then you only have to change the client settings for access from

Re: [CentOS] Multiple FreeNX servers and SSH ports

2010-03-21 Thread JohnS
On Sun, 2010-03-21 at 17:29 +0100, Niki Kovacs wrote: Les Mikesell a écrit : You don't really need to change the ports on the hosts. Just configure the router to accept different ports on the internet side and redirect to port 22 at the different IP addresses on the inside. Then

Re: [CentOS] Multiple FreeNX servers and SSH ports

2010-03-21 Thread Niki Kovacs
Stephen Harris a écrit : From man ssh_config look into CheckHostIP For example: Host bernadette HostName my.ip.add.ress Port 10022 HostKeyAlias bernadette CheckHostIP no Host raymonde HostName my.ip.add.ress Port 10023 HostKeyAlias raymonde

Re: [CentOS] Multiple FreeNX servers and SSH ports

2010-03-21 Thread Simon Billis
Hi Nikki, Niki Kovacs sent a missive on 2010-03-21: Les Mikesell a écrit : You don't really need to change the ports on the hosts. Just configure the router to accept different ports on the internet side and redirect to port 22 at the different IP addresses on the inside. Then you only

Re: [CentOS] Multiple FreeNX servers and SSH ports

2010-03-21 Thread Les Mikesell
Niki Kovacs wrote: Les Mikesell a écrit : You don't really need to change the ports on the hosts. Just configure the router to accept different ports on the internet side and redirect to port 22 at the different IP addresses on the inside. Then you only have to change the client

Re: [CentOS] Multiple FreeNX servers and SSH ports

2010-03-21 Thread Les Mikesell
Ned Slider wrote: 2) How do I configure these different ports ? By that, I mean : how do I tell SSH to use them instead of port 22 ? You don't really need to change the ports on the hosts. Just configure the router to accept different ports on the internet side and redirect to port 22 at

Re: [CentOS] Multiple FreeNX servers and SSH ports

2010-03-21 Thread Niki Kovacs
Les Mikesell a écrit : Yes, just pick different port numbers for the router to redirect to port 22 at each internal IP. Then everything works normally internally and externally you use 'ssh -p nnn public_address' where your port number will be the one redirected to the internal

Re: [CentOS] Multiple FreeNX servers and SSH ports

2010-03-21 Thread Robert Spangler
On Sunday 21 March 2010 10:54, Niki Kovacs wrote: Recently I played around with FreeNX on my own desktop, and I'd like to install it on these two computers. On my PC, I just redirected port 22 in the router, so SSH (and thus FreeNX) requests from the outside get redirected to my desktop