Jump to content
XPEnology Community

Failed to log in via [SSH] - New mystake...


Akhlan

Recommended Posts

Hi all,

 

today, i have thess errors messages....

 

Warning	Connexion	2013/08/02 10:54:49	SYSTEM	User [admin] from [192.168.35.10] failed to log in via [sSH] due to authorization failure.
Warning	Connexion	2013/08/02 10:54:24	SYSTEM	User [root] from [192.168.35.10] failed to log in via [sSH] due to authorization failure.
Warning	Connexion	2013/08/02 10:30:51	SYSTEM	User [Akhlan] from [192.168.35.10] failed to log in via [sSH] due to authorization failure.

 

and yesterday, all worked fine...

 

I haven't make change and I don't understand...

 

How I can investigate regarding this issue ?

 

Akhlan

Link to comment
Share on other sites

How ?

 

I have disabled SSH in the GUI and unable after, same issue...

 

I have install "GateOn" and connection work...

ps | grep -i ssh
7893 root      8612 S    /usr/syno/sbin/sshd
25830 gateone   2540 S    /bin/sh -c dtach -c /usr/local/gateone/var/sessions/OWMwYjM2ZTQxNGJkNGEyMTk1NjY2MzllN2ExOWIyYzE2N/dtach_2 -E -z -r none /usr/local/gateone/gateone/plugins/ssh/scripts/ssh_connect.py -S '/usr/local/gateone/var/sessions/OWMwYjM2ZTQxNGJkNGEyMT
25831 gateone   3460 S    dtach -c /usr/local/gateone/var/sessions/OWMwYjM2ZTQxNGJkNGEyMTk1NjY2MzllN2ExOWIyYzE2N/dtach_2 -E -z -r none /usr/local/gateone/gateone/plugins/ssh/scripts/ssh_connect.py -S /usr/local/gateone/var/sessions/OWMwYjM2ZTQxNGJkNGEyMTk1NjY2MzllN2
25832 gateone   3592 S    dtach -c /usr/local/gateone/var/sessions/OWMwYjM2ZTQxNGJkNGEyMTk1NjY2MzllN2ExOWIyYzE2N/dtach_2 -E -z -r none /usr/local/gateone/gateone/plugins/ssh/scripts/ssh_connect.py -S /usr/local/gateone/var/sessions/OWMwYjM2ZTQxNGJkNGEyMTk1NjY2MzllN2
25833 gateone   2540 S    /bin/sh /usr/local/gateone/var/sessions/OWMwYjM2ZTQxNGJkNGEyMTk1NjY2MzllN2ExOWIyYzE2N/ssh:2:root@192.168.35.35:22
25898 gateone   8460 S    /usr/syno/bin/ssh -M -S/usr/local/gateone/var/sessions/OWMwYjM2ZTQxNGJkNGEyMTk1NjY2MzllN2ExOWIyYzE2N/QcRSEAAAAAA -x -F/usr/local/gateone/gateone/users/ANONYMOUS/ssh/config -oNoHostAuthenticationForLocalhost=yes -oVerifyHostKeyDNS=yes -oPref
25899 root     17892 S    sshd: root@pts/2

 

but unable to restart service :sad: May be because I'm connected under ssh ?

 

my sshd_config is necessary...

#       $OpenBSD: sshd_config,v 1.82 2010/09/06 17:10:19 naddy Exp $

# This is the sshd server system-wide configuration file.  See

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

# GSSAPI options
#GSSAPIAuthentication no
#GSSAPICleanupCredentials yes

# Set this to 'yes' to enable PAM authentication, account processing,
# and session processing. If this is enabled, PAM authentication will
# be allowed through the ChallengeResponseAuthentication and
# PasswordAuthentication.  Depending on your PAM configuration,
# PAM authentication via ChallengeResponseAuthentication may bypass
# the setting of "PermitRootLogin without-password".
# If you just want the PAM account and session checks to run without
# PAM authentication, then enable this but set PasswordAuthentication
# and ChallengeResponseAuthentication to 'no'.
UsePAM yes
#UsePAM no

#AllowAgentForwarding yes
AllowTcpForwarding no
#GatewayPorts no
#X11Forwarding no
#X11DisplayOffset 10
#X11UseLocalhost yes
#PrintMotd yes
#PrintLastLog yes
#TCPKeepAlive yes
#UseLogin no
#UsePrivilegeSeparation yes
#PermitUserEnvironment no
#Compression delayed
#ClientAliveInterval 0
#ClientAliveCountMax 3
UseDNS no
#PidFile /var/run/sshd.pid
#MaxStartups 10
#PermitTunnel no
ChrootDirectory none
#ChrootDirectory /var/services/homes/%u
#DenyUsers admin

# no default banner path
#Banner none

# override default of no subsystems
#Subsystem      sftp    /usr/libexec/sftp-server
#Subsystem       sftp    internal-sftp -f DAEMON -l VERBOSE -u 000
Subsystem       sftp    internal-sftp -f DAEMON -u 000
#Subsystem       sftp    /usr/syno/sbin/sftp-server -l DEBUG3

# the following are HPN related configuration options
# tcp receive buffer polling. disable in non autotuning kernels
#TcpRcvBufPoll yes

# allow the use of the none cipher
#NoneEnabled no

# disable hpn performance boosts.
#HPNDisabled no

# buffer size for hpn to non-hpn connections
#HPNBufferSize 2048


# Example of overriding settings on a per-user basis
Match User root
#       X11Forwarding no
       AllowTcpForwarding yes
#       ForceCommand cvs server

Link to comment
Share on other sites

I have found...............................

 

My default password contain a "ç", I have change password for a simple like "azerty" and all is fine, SSH work...

 

Why I can't put french caracters like "ç", "é", "è",... ?

Link to comment
Share on other sites

I have found...............................

 

My default password contain a "ç", I have change password for a simple like "azerty" and all is fine, SSH work...

 

Why I can't put french caracters like "ç", "é", "è",... ?

 

It is probably the encoding of the SSH channel you are using. It is always suggested to only use ASCII characters, without the Unicode extension.

Link to comment
Share on other sites

×
×
  • Create New...