Weg von pureFTP zu SFTP
Posted: 2017-08-11 11:32
Hallo,
ich möchte gerne weg von FTP und zukünftig auf SFTP setzten.
Auszug von meiner sshd_conf:
Was muss ich tun damit der Pfad auf /usr/local/www/phoenix angenommen, der User und die Gruppe besteht, wird ohne Passwort, da sonst mein Wordpress nicht aktualisieren kann. Und ungerne möchte ich in irgendeiner *php einen Schlüssel für die Authentifizierung hinterlegen.
ich möchte gerne weg von FTP und zukünftig auf SFTP setzten.
Auszug von meiner sshd_conf:
Code: Select all
Subsystem sftp internal-sftp -u 0027
AllowGroups wheel admin sshusers sftponly
Match User root
ChrootDirectory none
PasswordAuthentication no
Match Group admin
ChrootDirectory none
PasswordAuthentication no
Match Group sshusers
ChrootDirectory none
PasswordAuthentication no
Match Group sftponly
ChrootDirectory /home
PasswordAuthentication yes
ForceCommand internal-sftp -d %u