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 -- 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