mercredi 8 octobre 2014

Ubuntu und SFTP

Hi Jungs,

hab auf einem Ubuntu Server SFTP aktiviert mit Chroot, klappt auch für neu angelegte User in der sftpusers Group wunderbar, nur mit dem Root-User kann ich mich jetzt nicht mehr per SFTP einloggen.



Hier die SSH Config:


Code:



Port 8443

Protocol 2

HostKey /etc/ssh/ssh_host_rsa_key

HostKey /etc/ssh/ssh_host_dsa_key

HostKey /etc/ssh/ssh_host_ecdsa_key

HostKey /etc/ssh/ssh_host_ed25519_key

UsePrivilegeSeparation yes

KeyRegenerationInterval 3600

ServerKeyBits 1024

SyslogFacility AUTH

LogLevel INFO

LoginGraceTime 120

PermitRootLogin yes

StrictModes yes

RSAAuthentication yes

PubkeyAuthentication yes

IgnoreRhosts yes

RhostsRSAAuthentication no

HostbasedAuthentication no

PermitEmptyPasswords no

ChallengeResponseAuthentication no

X11Forwarding yes

X11DisplayOffset 10

PrintMotd no

PrintLastLog yes

TCPKeepAlive yes

AcceptEnv LANG LC_*

Subsystem sftp internal-sftp -f AUTH -1 VERBOSE

UsePAM yes

AllowGroups sftpusers sftp root

Match Group sftpusers

ChrootDirectory %h

AllowTCPForwarding no

X11Forwarding no

ForceCommand internal-sftp



Habt Ihr ne Idee? Als Fehlermeldung kann ich leider nur die von WinSCP liefern:

"Kann das SFTP nicht initialisieren. Läuft auf dem entfernten Rechner ein SFTP Server-Programm?"



Danke,

Basti



Edit: ich bin damals nach dieser Anleitung vorgegangen:

http://ift.tt/1r9qr2M




Aucun commentaire:

Enregistrer un commentaire