Re: NX authentication error



On Mon, Jun 29, 2009 at 11:11 AM, Craig White<craigwhite@xxxxxxxxxxx> wrote:
On Mon, 2009-06-29 at 10:33 +1000, L wrote:
On Mon, Jun 29, 2009 at 10:18 AM, Craig White<craigwhite@xxxxxxxxxxx> wrote:
On Mon, 2009-06-29 at 10:03 +1000, L wrote:
I I set up a nxserver at remote PC (F10 2.6.27.25-170.2.72.fc10.i686),
followed all steps, shipped key from server to client. tried login
from client to sever as


ssh -i /usr/NX/share/keys/user.id_dsa.key nx@server
ssh -l USER1 server

all work.

when I login via nxclient, after pass steps Connected, download
session, it failed with errors:
----
problem is with USER1 account.

nxuser only creates an ssh tunnel. Once that tunnel is created another
connection for nxsession is started and this user must exist on the
system and the password must be correct. I am not aware that this user
can use a public key authentication.

Craig

thanks for your reply, as you see, USER1 can login via ssh to server.
the pssword for users must be right.

where should I look for error to fix it?
----
I would start with the suggestions given in your own error report...

NX> 502 ERROR: Public key authentication failed
NX> 502 ERROR: NX server was unable to login as user: USER1
NX> 502 ERROR: Please check that the account is enabled to login,
NX> 502 ERROR: the user's home directory, the directory ~/.ssh
NX> 502 ERROR: and the file ~/.ssh/authorized_keys2 have correct
NX> 502 ERROR: permissions setting according to the StrictModes
NX> 502 ERROR: of your SSHD configuration.

make sure that /home/USER1/.ssh/authorized_keys2 is 600 permissions
and /home/USER1/.ssh is 755 but I if I were to guess, USER1 does not
have a valid shell

Craig

thanks, after change permissions on them, the error message change to

Authentication to NX node failed.

see below

NX> 203 NXSSH running with pid: 13927
NX> 285 Enabling check on switch command
NX> 285 Enabling skip of SSH config files
NX> 285 Setting the preferred NX options
NX> 200 Connected to address: 202.118.163.85 on port: 22
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
HELLO NXSERVER - Version 3.3.0-22 - LFE
NX> 105 Hello NXCLIENT - Version 3.3.0
NX> 134 Accepted protocol: 3.3.0
NX> 105 Set shell_mode: shell
NX> 105 Set auth_mode: password
NX> 105 Login
NX> 101 User: test
NX> 102 Password: ****
NX> 103 Welcome to: localhost.localdomain user: test
NX> 105 Listsession --user="test" --status="suspended\054running"
--geometry="1280x1024x24+render" --type="unix-application"
NX> 127 Available sessions:

Display Type Session ID Options
Depth Screen Status Session Name
------- ---------------- -------------------------------- --------
----- -------------- ----------- ------------------------------

NX> 148 Server capacity: not reached for user: test
NX> 105 Start session with: --rootless="1" --virtualdesktop="0"
--application="xterm" --link="adsl" --backingstore="1" --cache="16M"
--images="64M" --shmem="1" --shpix="1" --strict="0" --composite="1"
--media="0" --session="neau" --type="unix-application"
--client="linux" --keyboard="pc105\057us"
--screeninfo="1280x1024x24+render"
NX> 596 ERROR: Authentication to NX node failed.
NX> 280 Exiting on signal: 15







--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines



Relevant Pages

  • Re: Hacker activity?
    ... >login to a server, most as root but some are attempts to login to ... >telnet, all come from the same remote server, and all fail. ... >getting some odd cgi calls to a script on a secure ssl server. ... Make sure root cannot login to your system via ssh. ...
    (freebsd-questions)
  • Re: NX authentication error
    ... shipped key from server to client. ... when I login via nxclient, after pass steps Connected, download ... problem is with USER1 account. ... nxuser only creates an ssh tunnel. ...
    (Fedora)
  • Public Authentication Problem on Batch Job using SCP2 when SSH Client Reboot
    ... to a SSH server, HOST2. ... for secure ftp login. ... The login ID is a local user account ... we found that scp2 run failed every time the SSH client ...
    (comp.security.ssh)
  • Re: NX authentication error
    ... when I login via nxclient, after pass steps Connected, download ... problem is with USER1 account. ... nxuser only creates an ssh tunnel. ... NX> 502 ERROR: Public key authentication failed ...
    (Fedora)
  • Re: restrict ssh access
    ... > We have one ssh server which receives about 6000 failed attempts to ... > unsuccessful login attempts per client IP address? ... the remote server is also running OpenSSH. ...
    (comp.security.ssh)