[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: nx and ssh restrictions?



> We would like to set up nx login for our teachers. This seems like the 
> best way to provide access from home. We are experimenting with 
> nxbuilder, which seem to work great.
> 
> But when ssh is set up, it is also possible to do ssh straight into the 
> server as a user. We do not want this.
> 
> I thought that an nx login was performed as the user 'nx' with a key. 
> Then the user logs onto the server through the tunnel set up by nx. This 
> doesn't seem to be right. When I try to edit the ssh config to allow 
> only nx, an nx login as user does not work anymore.
> 
> Have I misunderstood how nx logins work? Can someone please advice me on 
> how to set this up?

Yes, I just remembered how the HOWTO was and there really should be a KB article on NoMachine.com somewhere:

AllowUsers nx *@127.0.0.1

cu

Fabian

PS: Sorry, for the long delay for the right answer, but I just remembered the trick ...
PPS: Please someone add this to FreeNX and Skolelinux wikis!



Reply to: