Page 1 of 1

Strato Server | root sftp login | Problem

Posted: 2004-10-16 16:40
by surferx
Hi @ all!

Würde mich gern mit meinem WS-Ftp Pro 8 auf meinem Root Server über sftp als "root" einloggen.

Es kommt immer die Fehlermeldng:
The server rejected your login credentials. Retype your username and password and click OK to retry.

Enable the Save login information option to update and save your site login information.
Auf dem Server läuft SuSE 9.0. Da ich leider (noch) nicht so der Linux Profi bin, würde ich mich freuen hier Hilfe zu bekommen.

Danke im voraus!

P.S.: Habe ausgiebig die Suche benutzt, leider nichts passendes gefunden... :(

Re: Strato Server | root sftp login | Problem

Posted: 2004-10-16 21:20
by chris76
Nunja root wird halt keinen ftp zugang haben, und das ist auch gut so.

Re: Strato Server | root sftp login | Problem

Posted: 2004-10-16 21:31
by Joe User
sftp = ssh -> PermitRootLogin

Re: Strato Server | root sftp login | Problem

Posted: 2004-10-17 00:23
by surferx
Joe User wrote:sftp = ssh -> PermitRootLogin
Habe jetzt in der sshd_config PermitRootLogin aktiviert! Geht aber leider noch immer nicht... (ssh habe ich neu gestartet!)

Re: Strato Server | root sftp login | Problem

Posted: 2004-10-17 10:19
by Joe User

Re: Strato Server | root sftp login | Problem

Posted: 2004-10-17 16:42
by surferx
Beim WS FTP war alles korrekt eingestellt. Muss am Server liegen...

Re: Strato Server | root sftp login | Problem

Posted: 2004-10-17 19:59
by Joe User
SSH-Config?

Re: Strato Server | root sftp login | Problem

Posted: 2004-10-19 14:56
by surferx
Würde die Config jetzt hier gern posten, wie bekomme ich aber die Daten aus Putty in die Zwischenablage? ;) *duckundwegrenn*

Re: Strato Server | root sftp login | Problem

Posted: 2004-10-19 17:13
by Joe User
RTFM!

Re: Strato Server | root sftp login | Problem

Posted: 2004-10-19 17:49
by surferx
ReadTheFuckingManual I know! Hätte ja aber sein können, das das jemand weiss und mir darauf schnell ne Antwort geben kann... Ich habe immer geglaubt ein solches Forum wäre dazu da.

Aber naja, anscheinend wohl leider nicht... :(

Re: Strato Server | root sftp login | Problem

Posted: 2004-10-19 17:56
by surferx
So, hier mal die sshd_conifg:
# $OpenBSD: sshd_config,v 1.65 2003/08/28 12:54:34 markus 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.

#Port 22
#Protocol 2,1
Protocol 2
#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_rsa_key
#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

#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

# To disable tunneled clear text passwords, change to no here!
PasswordAuthentication no
#PermitEmptyPasswords no

# Change to no to disable s/key passwords
1,34-40 Top
#ChallengeResponseAuthentication yes

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

# GSSAPI options
#GSSAPIAuthentication no
#GSSAPICleanupCreds yes

# Set this to 'yes' to enable PAM authentication (via challenge-response)
# and session processing. Depending on your PAM configuration, this may
# bypass the setting of 'PasswordAuthentication'
UsePAM yes

#AllowTcpForwarding yes
#GatewayPorts no
X11Forwarding yes
#X11DisplayOffset 10
#X11UseLocalhost yes
#PrintMotd yes
#PrintLastLog yes
#KeepAlive yes
#UseLogin no
UsePrivilegeSeparation no
#PermitUserEnvironment no
#Compression yes
#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/lib/ssh/sftp-server
Und hier die SSH Config:
# $OpenBSD: ssh_config,v 1.19 2003/08/13 08:46:31 markus Exp $

# This is the ssh client system-wide configuration file. See
# ssh_config(5) for more information. This file provides defaults for
# users, and the values can be changed in per-user configuration files
# or on the command line.

# Configuration data is parsed as follows:
# 1. command line options
# 2. user-specific file
# 3. system-wide file
# Any configuration value is only changed the first time it is set.
# Thus, host-specific definitions should be at the beginning of the
# configuration file, and defaults at the end.

# Site-wide defaults for various options

Host *
# ForwardAgent no
# ForwardX11 no
# RhostsRSAAuthentication no
# RSAAuthentication yes
# PasswordAuthentication yes
# HostbasedAuthentication no
# BatchMode no
# CheckHostIP yes
# AddressFamily any
# ConnectTimeout 0
# StrictHostKeyChecking ask
# IdentityFile ~/.ssh/identity
# IdentityFile ~/.ssh/id_rsa
# IdentityFile ~/.ssh/id_dsa
# Port 22
# Protocol 2,1
# Cipher 3des
# Ciphers aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc
# EscapeChar ~
Weiss jetzt leider nicht welche von den beiden relevant ist. Hoffe das mir jeamand helfen kann, bin leider echt ein Newbie und habe den Server um zu lernen.

Re: Strato Server | root sftp login | Problem

Posted: 2004-10-19 17:58
by Joe User
Sorry, ich werde Dir weder Nachhilfe im Umgang mit Windows geben, noch werde ich Dir das Putty Manual vorlesen, es sei denn, Du kannst Dir meinen Stundenlohn leisten...

Re: Strato Server | root sftp login | Problem

Posted: 2004-10-19 19:37
by surferx
Die Postings haben sich jetzt wohl überschnitten.
Nachdem ich nun die FuckingManual gelesen habe, und die Configs posten konnte, kannst du mir vielleicht jetzt weiterhelfen! ;)
Wäre lieb und wünschenswert! :)

Re: Strato Server | root sftp login | Problem

Posted: 2004-10-20 15:35
by ernafragt
Mit der Maus (oder anders ) markieren, Strg und C drücken, fertig :wink:

Re: Strato Server | root sftp login | Problem

Posted: 2004-10-20 16:38
by surferx
Naja, das habe ich ja bereits gerafft, wie man sieht! ;)