WinFuture-Forum.de: SFTP vs. FTP für autom. Updates in WordPress - WinFuture-Forum.de

Zum Inhalt wechseln

Beiträge in diesem Forum erhöhen euren Beitragszähler nicht.
Seite 1 von 1

SFTP vs. FTP für autom. Updates in WordPress


#1 Mitglied ist offline   el_pelajo 

  • Gruppe: aktive Mitglieder
  • Beiträge: 67
  • Beigetreten: 15. Dezember 21
  • Reputation: 15

geschrieben 07. März 2022 - 16:25

Hallo und guten Abend, :smokin:

gibt es denn einen Weg die updates für Wordpress ohne den Einsatz von FTP durchzüführen - aber dafür mit SFTP (also was ja im Grunde auch SSH nutzt)? Mein Serversetup ist so dass ich einen SFTP-Client einsetzen kann - ( aber keinen SSH access habe)

Es geht mir um die autom. Updates der Plugins - wo ja nach den FTP-Credentials gefragt wird.
Ich habe schon mal gelesen dass es in den Konfigurations-Instruktionen in Codex hier noch Möglichkeiten gibt - das zu ermöglichen:


Enabling SSH Upgrade Access recommend either" ( https://wordpress.or...-upgrade-access ) Also - es geht hier um zwei Möglichkeiten - soweit ich das überblicke:

1. Using SSH SFTP Updater Support plugin from official repository (cf.: https://wordpress.or...pdater-support/ )
2. Using built–in SSH2 support, which requires the PECL SSH2 extension installed on the server.


mit Verweis zu diesem Tutorial: "Using SSH to Install/Upgrade"(vgl http://www.jonathan....pgrade-ssh.html )

oder hier: Enabling SSH Upgrade Access #Enabling SSH Upgrade Access ; https://wordpress.or...-upgrade-access

dort steht: There are two ways to upgrade using SSH2.

Zitat

The first is to use the SSH SFTP Updater Support plugin. The second is to use the built-in SSH2 upgrader, which requires the pecl SSH2 extension be installed. To install the pecl SSH2 extension you will need to issue a command similar to the following or talk to your web hosting provider to get this installed:

pecl install ssh2

After installing the pecl ssh2 extension you will need to modify your PHP configuration to automatically load this extension.

pecl is provided by the pear package in most linux distributions. To install pecl in Redhat/Fedora/CentOS:

yum -y install php-pear

To install pecl in Debian/Ubuntu:
apt-get install php-pear

It is recommended to use a private key that is not pass-phrase protected. There have been numerous reports that pass phrase protected private keys do not work properly. If you decide to try a pass phrase protected private key you will need to enter the pass phrase for the private key as FTP_PASS, or entering it in the “Password” field in the presented credential field when installing updates.



Also ich hab den SFTP-Zugang mit dem ich für WordPress Dinge hochlade -
Hier hab ich auch einen Key-File und natürlich einen Username und ein Passwd.
Elektronik & IT-Fan - Raspi, Arduino - u. die neue Knowledge-Base: https://affine.pro :: WordPress Ressourcen News: https://wptavern.com :: Entwicklung: https://make.wordpress.org/core/ ::

Anzeige



Thema verteilen:


Seite 1 von 1

1 Besucher lesen dieses Thema
Mitglieder: 0, Gäste: 1, unsichtbare Mitglieder: 0