SSH SFTP 업데이트 지원

설명

서버에서 SFTP를 사용하는 경우 워드프레스 설치를 최신 상태로 유지하고 번거롭지 않은 방식으로 플러그인을 설치하는 것은 그리 쉬운 일이 아닙니다. 워드프레스용 “SSH SFTP 업데이터 지원”은 phpseclib를 사용하여 이 결함을 해결합니다.

이를 사용하려면 플러그인을 설치하고 활성화한 후 wp-config.php의 코드 초기에 필요한 상수를 추가하십시오.

a) define('FS_METHOD', 'ssh2');

b) Others as detailed in the official WP codex

이 플러그인은 WP 커뮤니티에 무료 서비스로 제공 및 유지 관리됩니다. 아래의 다른 최고의 플러그인으로 워드프레스 사이트를 향상시키는 데 관심이 있을 수도 있습니다.

  • UpdraftPlus simplifies backups and restoration. It is the #1 most-used backup/restore plugin, with over a million currently-active installs.
  • UpdraftCentral – a highly efficient way to manage, optimize, update and backup multiple websites from one place.
  • WP-Optimize helps you to optimize and clean your WordPress database so that it runs at maximum efficiency.
  • More quality plugins: Premium WooCommerce extensions | Other useful plugins

설치

  1. 파일을 /wp-content/plugins/ssh-sftp-updater-support 디렉토리에 업로드합니다.

  2. 워드프레스의 ‘플러그인’ 메뉴에서 플러그인을 활성화하세요.

  3. wp-config.php의 코드 초기에 필요한 상수를 추가합니다.

a) define('FS_METHOD', 'ssh2');

b) Others as detailed in the official WP codex or various other articles (Google for things like WordPress updates via SFTP).

후기

2023년 8월 28일
Just what I needed to update my Wordpress plugins on Linode. On Dreamhost it happens automatically, but I can't run a socket server there.
2018년 7월 26일
Simple, easy, and save lot of work TY
2018년 5월 11일
This solved my problems with setting up proper SFTP update/installation. Works perfectly, thank you!
2018년 4월 21일 1 reply
Attempting to update from Wordpress 4.9.4 to 4.9.5, when I click on the update instead of giving me the screen from this plugin to enter the ssh details it goes straight to attempting to download from the Wordpress site and fails. I can still update plugins in 4.9.4 using this plugin successfully. Tried on two different sites. It looks like something in Wordpress 4.9.4 broke the compatibility with this and it was only revealed when attempting to use it to upgrade to 4.9.5
모든 99 평가 읽기

기여자 & 개발자

“SSH SFTP 업데이트 지원”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “SSH SFTP 업데이트 지원”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

0.8.5 – 2022/Dec/08

  • TWEAK: Update URL reference to current location

0.8.4 – 2020/Dec/30

  • TWEAK: Remove obsolete references to other plugins
  • TWEAK: Replace some further deprecated jQuery styles
  • 변경: phpseclib의 최신 1.0.x 버전으로 업데이트

0.8.3 – 2020/Dec/19

  • TWEAK: Replace deprecated jQuery style

0.8.2 – 2019/Jun/22

  • TWEAK: Make the FTP_ constants apply.

0.8.1 – 2019/Apr/13

  • TWEAK: Don’t require phpseclib classes if they already exist

0.8.0 – 2018/Dec/14

  • TWEAK: Replaced the deprecated ‘var’ visibility indicator
  • TWEAK: Add various sanity checks to return error codes instead of causing fatal errors if another component calls the WP_Filesystem API incorrectly
  • TWEAK: Add an extra sanity check that should prevent a fatal error if a component directly requests the ‘direct’ filesystem method but WP won’t let it have it

0.7.6 – 2018/Nov/26

  • TWEAK: Clarify the installation instructions
  • TWEAK: Add function visibility markers throughout WP_Filesystem_SSH2

0.7.5 – 2018/Oct/13

  • TWEAK: Replace use of the submit_button() function (one user was seeing a fatal error related to it)

0.7.4 – 2018/Aug/25

  • TWEAK: Update phpseclib to latest version (1.0.10)
  • TWEAK: Replace deprecated constructor for WP_Filesystem_SSH2 class
  • TWEAK: Adds a “Other useful plugins” link on the plugin listing page and ‘thank you’ notice

0.7.3

  • TWEAK: Update phpseclib to latest version (1.0.10)
  • TWEAK: Ship complete phpseclib library so that other plugins using it after we have loaded it don’t have problems
  • TWEAK: Some minor internal re-factoring
  • TWEAK: Adds a dismissable (and won’t reappear for 12 months) notice about other plugins users may be interested in.

0.7.2

  • update phpseclib to latest version

0.7.1

  • remove deprecated function

0.7.0

  • disable modal dialog and use full screen real page when prompting for information

0.6.1

  • fix a few compatibility issues with 4.2

0.6

  • update phpseclib to latest version
  • make plugin work with 4.2’s new modal dialog

0.5

  • update phpseclib to latest version

0.4

  • fix an E_NOTICE (thanks, runblip!)
  • make it so keys that are copy / pasted in are saved with HTML5’s localStorage (thanks, kkzk!)
  • update phpseclib to latest Git

0.3

  • update phpseclib to latest SVN
  • read file when FTP_PRIKEY is defined (thanks, lkraav!)

0.2

  • recursive deletes weren’t working correctly (directories never got deleted – just files)
  • use SFTP for recursive chmod instead of SSH / exec
  • fix plugin for people using custom WP_CONTENT_DIR values (thanks, dd32!)
  • plugin prevented non-SFTP install methods from being used
  • make it so private keys can be uploaded in addition to being copy / pasted

0.1

  • Initial Release