Gentoo Archives: gentoo-user

From: thelma@×××××××××××.com
To: Gentoo mailing list <gentoo-user@l.g.o>
Subject: [gentoo-user] openssh-7.1_p1-r2 won't allow "nxserver" to connect
Date: Sat, 14 Nov 2015 06:07:35
Message-Id: 5646CFD7.9030708@sys-concept.com
1 I'm running: nxserver-freenx-0.7.3_p104-r7
2 After recent upgrade, system installed new stable openssh-7.1_p1-r2
3
4 The problem is the new openssh-7.1_p1-r2 will not allow my my "nxserver" to connect, I get an error:
5 Permission denied (publickey,keyboard-interactive) see below:
6
7 nxsetup --test
8 ...
9 <---- done
10
11 ----> Testing your nxserver connection ...
12 Permission denied (publickey,keyboard-interactive).
13 Fatal error: Could not connect to NX Server.
14
15 Please check your ssh setup:
16
17 The following are _examples_ of what you might need to check.
18
19 - Make sure "nx" is one of the AllowUsers in sshd_config.
20 (or that the line is outcommented/not there)
21 - Make sure "nx" is one of the AllowGroups in sshd_config.
22 (or that the line is outcommented/not there)
23 - Make sure your sshd allows public key authentication.
24 - Make sure your sshd is really running on port 22.
25 - Make sure your sshd_config AuthorizedKeysFile in sshd_config is set to authorized_keys2.
26 (this should be a filename not a pathname+filename)
27 - Make sure you allow ssh on localhost, this could come from some
28 restriction of:
29 -the tcp wrapper. Then add in /etc/hosts.allow: ALL:localhost
30 -the iptables. add to it:
31 $ iptables -A INPUT -i lo -j ACCEPT
32 $ iptables -A OUTPUT -o lo -j ACCEPT
33
34 What I should be getting is this:
35 ----> Testing your nxserver connection ...
36 HELLO NXSERVER - Version 3.2.0-74-TEAMBZR104 OS (GPL, using backend: 3.5.0)
37 NX> 105 quit
38 Quit
39 NX> 999 Bye
40 <--- done
41
42 I did not change anything in sshd_config.
43 But I downgraded to: openssh-6.9_p1-r2 and nxserver connects OK.
44
45 What could be the problem with new: openssh-7.1_p1-r2
46
47 --
48 Thelma

Replies

Subject Author
Re: [gentoo-user] openssh-7.1_p1-r2 won't allow "nxserver" to connect thelma@×××××××××××.com