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 tutaj byłeś?

Pzdr.


Lubię słowo indolencja.
Dzięki niemu moje lenistwo wydaje się czymś niezwykle wyrafinowanym.

- Bern Williams

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 sshd_config

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