Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!

Ogłoszenie

Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.

#1  2008-03-30 18:09:07

  mqluke - Użytkownik

mqluke
Użytkownik
Zarejestrowany: 2008-02-03
Serwis

nxserver --usercheck #blad :((((

Siema,

Od kad pamietam to borykam sie z tym bledem. Nie chce dac za wygrana bo wiem ze warto tego apps'a uzywac


Czy ktos kiedys mial moze podobny error i go rozwiazal? na google znalazlem pare stron ale nie pomogly,



Kod:

ie:/usr/NX/bin# ./nxserver --usercheck dave
NX> 900 Verifying public key authentication for NX user: dave.
NX> 900 Adding public key for user: dave to the authorized keys file.
NX> 900 Verifying public key authentication for NX user: dave.
NX> 500 ERROR: Public key authentication failed
NX> 500 WARNING: NX server was unable to login as user: dave
NX> 500 WARNING: Please check that the account is enabled to login.
NX> 500 WARNING: Also check that user's home directory, the directory
NX> 500 WARNING: ~/.ssh and the file ~/.ssh/authorized_keys2 have
NX> 500 WARNING: correct permissions according to the StrictModes of
NX> 500 WARNING: your SSHD configuration
NX> 999 Bye.

Dzieki

Ostatnio edytowany przez mqluke (2008-03-30 22:21:22)

Offline

 

#2  2008-03-30 18:13:16

  mi5tic - Członek DUG

mi5tic
Członek DUG
Skąd: Wrocław
Zarejestrowany: 2006-08-24

Re: nxserver --usercheck #blad :((((

A [url=http://www.nomachine.com/ar/view.php?ar_id=AR10B00046]tutaj[/url] byłeś?

Pzdr.


[b][color=cadetblue]Lubię słowo [i]indolencja[/i].
Dzięki niemu moje lenistwo wydaje się czymś niezwykle wyrafinowanym.[/color][/b]
[i][b] - Bern Williams[/b][/i]

Offline

 

#3  2008-03-30 22:14:00

  mqluke - Użytkownik

mqluke
Użytkownik
Zarejestrowany: 2008-02-03
Serwis

Re: nxserver --usercheck #blad :((((

tak zaglądałem tam, sprawdziłem/zmieniłem i nadal to samo. siada na tym samym komunikacie
w linku który podałeś są 3 wskazówki

   

Kod:

*  The public key authentication method is enabled in your sshd configuration file.

metoda autentykacji - nie za bardzo rozumiem który dokładnie parametr ma być prawidłowy
ponizej moj [b]sshd_config[/b]

Kod:

# Package generated configuration file
# See the sshd(8) manpage for details

# What ports, IPs and protocols we listen for
Port 22
# Use these options to restrict which interfaces/protocols sshd will bind to
#ListenAddress ::
#ListenAddress 0.0.0.0
Protocol 2
# HostKeys for protocol version 2
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_dsa_key
#Privilege Separation is turned on for security
UsePrivilegeSeparation yes

# Lifetime and size of ephemeral version 1 server key
KeyRegenerationInterval 3600
ServerKeyBits 768

# Logging
SyslogFacility AUTH
LogLevel INFO

# Authentication:
LoginGraceTime 120
PermitRootLogin no
AllowUsers dave nx
StrictModes yes

RSAAuthentication yes
PubkeyAuthentication yes
AuthorizedKeysFile /usr/NX/home/nx/.ssh/authorized_keys2
#AuthorizedKeysFile    %h/.ssh/authorized_keys

# Don't read the user's ~/.rhosts and ~/.shosts files
IgnoreRhosts yes
# For this to work you will also need host keys in /etc/ssh_known_hosts
RhostsRSAAuthentication no
# similar for protocol version 2
HostbasedAuthentication no
# Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication
#IgnoreUserKnownHosts yes

# To enable empty passwords, change to yes (NOT RECOMMENDED)
PermitEmptyPasswords no

# Change to yes to enable challenge-response passwords (beware issues with
# some PAM modules and threads)
ChallengeResponseAuthentication no

# Change to no to disable tunnelled clear text passwords
#PasswordAuthentication yes
PasswordAuthentication yes

# Kerberos options
#KerberosAuthentication no
#KerberosGetAFSToken no
#KerberosOrLocalPasswd yes
#KerberosTicketCleanup yes

# GSSAPI options
#GSSAPIAuthentication no
#GSSAPICleanupCredentials yes

X11Forwarding yes
X11DisplayOffset 10
PrintMotd no
PrintLastLog yes
TCPKeepAlive yes
#UseLogin no

#MaxStartups 10:30:60
#Banner /etc/issue.net

# Allow client to pass locale environment variables
AcceptEnv LANG LC_*

Subsystem sftp /usr/lib/openssh/sftp-server

czy cos powinienem jeszcze tu zmienic ?


Kod:

    * The permissions for group and world users are not set on the same file and directory.

tego za bardzo nie rozumiem wlasnie - jakas sugestia ?  - wszystko jest na root



dzieki

Offline

 

Stopka forum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
Nas ludzie lubią po prostu, a nie klikając w przyciski ;-)

[ Generated in 0.007 seconds, 11 queries executed ]

Informacje debugowania

Time (s) Query
0.00009 SET CHARSET latin2
0.00005 SET NAMES latin2
0.00095 SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='3.145.112.36' WHERE u.id=1
0.00070 REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '3.145.112.36', 1732345047)
0.00051 SELECT * FROM punbb_online WHERE logged<1732344747
0.00050 SELECT topic_id FROM punbb_posts WHERE id=87193
0.00097 SELECT id FROM punbb_posts WHERE topic_id=11050 ORDER BY posted
0.00063 SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=11050 AND t.moved_to IS NULL
0.00005 SELECT search_for, replace_with FROM punbb_censoring
0.00071 SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=11050 ORDER BY p.id LIMIT 0,25
0.00080 UPDATE punbb_topics SET num_views=num_views+1 WHERE id=11050
Total query time: 0.00596 s