Register for your free account! | Forgot your password?

You last visited: Today at 13:26

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[LOGIN]SSHD Problems

Discussion on [LOGIN]SSHD Problems within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jul 2013
Posts: 105
Received Thanks: 4
[LOGIN]SSHD Problems

Hy, I just installed that and now I can't connect to root via FileZilla

sshd_config file:
Quote:
# $OpenBSD: sshd_config,v 1.72 2005/07/25 11:59:40 markus Exp $
# $FreeBSD: src/crypto/openssh/sshd_config,v 1.42.2.1 2005/09/11 16:50:35
des Exp $

# This is the sshd server system-wide configuration file. See
# sshd_config(5) for more information.

# This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin

# The strategy used for options in the default sshd_config shipped with
# OpenSSH is to specify options with their default value where
# possible, but leave them commented. Uncommented options change a
# default value.

# Note that some of FreeBSD's defaults differ from OpenBSD's, and
# FreeBSD has a few additional options.

#VersionAddendum FreeBSD-20050903

Port 22
#Protocol 2
#AddressFamily any
#ListenAddress 0.0.0.0
#ListenAddress ::

# HostKey for protocol version 1
#HostKey /etc/ssh/ssh_host_key
# HostKeys for protocol version 2
#HostKey /etc/ssh/ssh_host_dsa_key

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

# Logging
# obsoletes QuietMode and FascistLogging
#SyslogFacility AUTH
#LogLevel INFO

# Authentication:

#LoginGraceTime 2m
PermitRootLogin yes
#StrictModes yes
#MaxAuthTries 6

#RSAAuthentication yes
#PubkeyAuthentication yes
#AuthorizedKeysFile .ssh/authorized_keys

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

# Change to yes to enable built-in password authentication.
PasswordAuthentication yes
#PermitEmptyPasswords no

# Change to no to disable PAM authentication
#ChallengeResponseAuthentication yes

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

# GSSAPI options
#GSSAPIAuthentication no
#GSSAPICleanupCredentials yes

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

#AllowTcpForwarding yes
#GatewayPorts no
#X11Forwarding yes
#X11DisplayOffset 10
#X11UseLocalhost yes
#PrintMotd yes
#PrintLastLog yes
#TCPKeepAlive yes
#UseLogin no
#UsePrivilegeSeparation yes
#PermitUserEnvironment no
#Compression delayed
#ClientAliveInterval 0
#ClientAliveCountMax 3
#UseDNS yes
#PidFile /var/run/sshd.pid
#MaxStartups 10

# no default banner path
#Banner /some/path

# override default of no subsystems
Subsystem sftp /usr/libexec/sftp-server
HINT: Now when I'm rebooting using VNC Viewer I only write "root" and automatically warp me to root# (without password)
QualityHost is offline  
Old 12/25/2013, 20:38   #2
 
Coniesan's Avatar
 
elite*gold: 1000
Join Date: Mar 2009
Posts: 1,408
Received Thanks: 1,007
Perhaps wrong firewall config's?
You could add me in Skype, and I look over it
Coniesan is offline  
Old 12/26/2013, 15:25   #3
 
Mashkin's Avatar
 
elite*gold: 44
Join Date: May 2010
Posts: 2,053
Received Thanks: 1,747
What error do you get?

If it's something like "Permission denied", then you should try changing your config to
Code:
UsePAM yes
Also, you should set a password on the root user by logging in to it and using
Code:
passwd
There are more options like PermitRootLogin no that would make your server safer but it requires you to setup another user that may use the su command to get root privileges when necessary.
However, most Metin2 admins are either too dumb, too ignorant, or too lazy (ar all of it) to avoid the root user completely (you should never start server applications or anything else as root unless necessary).
Mashkin is offline  
Reply


Similar Threads Similar Threads
anyone have problems in login?
08/06/2013 - Guild Wars 2 - 3 Replies
the title says everything
login problems
04/02/2011 - Metin2 - 6 Replies
Hallo ich kann keine verbindung zum server EliteMT2 Herstelhen mit den Neonblue client 4.5 kann mir da einer helfen ? :rtfm: wäre nett thx im voraus
sro login problems
04/10/2010 - Silkroad Online - 7 Replies
hallo ich kann mich nicht einlogen es dauert sehr lange kannn es sein das es ist weil ich files von dem teil im ordner hab das man früher brauchte um sich einzulogen une das das fenster schließt ka es dauert sehr lange kahm noch net rein ihr ??? p.s. rechtschreibfehler sind menschlich... :D
help login problems
12/01/2008 - EO PServer Hosting - 8 Replies
Everytime I try to connect I start to connect with the client but once it reaches the welcome to ..... it says "error: Connection to server interrupted. Please try again." Any ideas
Login problems
03/26/2007 - Silkroad Online - 4 Replies
man im so sick of "server traffic" this image code shit is gay



All times are GMT +1. The time now is 13:27.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.