| Summary: | cannot connect to nxserver running on Mageia2 with default sshd configuration | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | JeanClaude Garaud <garaud> |
| Component: | RPM Packages | Assignee: | Mageia Bug Squad <bugsquad> |
| Status: | RESOLVED INVALID | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | oliver.bgr, stormi-mageia, sysadmin-bugs |
| Version: | 2 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | CVE: | ||
| Status comment: | |||
|
Description
JeanClaude Garaud
2012-07-09 11:34:16 CEST
oliver maybe you have an ideas ? CC:
(none) =>
oliver.bgr Those are nx upstream packages aren't they? Which mga nx packages are installed? As I wanted to try x2go the following nx packages have been installed too: lib64nxX11_0 - Nx-X11 lib for NXâ Version : 3.5.0.12-1.mga2 nxagent - NX X server based on Xnestâ Version : 3.5.0.12-1.mga2 nxproxy Version : 3.5.0.12-1.mga2 but the impossibility to connect to a remote nx server remained I never used the nomachine nxserver and nxclient, no clue there. Did you ask in nx dedicated fora? I'm sure they exist somewhere (without knowing where). Solved ! In Mageia1 sshd accepted both files authorized_keys2 and authorized_keys. In Mageia2 the problem is occurs from the following setting in /etc/ssh/sshd_config: # The "default is to check both .ssh/authorized_keys and .ssh/authorized_keys2 # but this is overridden so installations will only check .ssh/authorized_keys AuthorizedKeysFile .ssh/authorized_keys To correct the problem, either comment the line AuthorizedKeysFile .ssh/authorized_keys in /etc/ssh/sshd_config or ln ~/.ssh/authorized_keys ~/.ssh/authorized_keys2 Same problem and same solution with NoMachine 4 Preview. According to comment #5, this is not a bug, but a side-effect of secure default parameters in sshd's configuration. Does nxserver really need ~/.ssh/authorized_keys2? Why can't it use ~/.ssh/authorized_keys? If it really can't, a good user-friendly move would be to add a readme.urpmi file to nxserver explaining that issue so that it is displayed to the user at installation time... But we don't provide nxserver in mageia, do we? Closing then. Status:
NEW =>
RESOLVED |