Browse Source

acollades

master
Benoît S. 1 year ago
parent
commit
aca14b550c
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      HowtoWordpress.md

+ 5
- 5
HowtoWordpress.md View File

@@ -42,11 +42,11 @@ Tutoriel détaillé : http://kbeezie.com/secure-wordpress-ssh2/

~~~
# vhost=siteweb
# install -d -o www-$vhost -g $vhost -m 750 /home/$vhost/sshkeys
# ssh-keygen -f /home/$vhost/sshkeys/wordpress
# chown www-$vhost: /home/$vhost/sshkeys/wordpress*
# cat /home/$vhost/sshkeys/wordpress.pub >> /home/$vhost/.ssh/authorized_keys
# sudo -u www-${vhost} ssh -i /home/$vhost/sshkeys/wordpress 127.0.0.1
# install -d -o www-${vhost} -g $vhost -m 750 /home/${vhost}/sshkeys
# ssh-keygen -f /home/${vhost}/sshkeys/wordpress
# chown www-${vhost}: /home/${vhost}/sshkeys/wordpress*
# cat /home/${vhost}/sshkeys/wordpress.pub >> /home/${vhost}/.ssh/authorized_keys
# sudo -u www-${vhost} ssh -i /home/${vhost}/sshkeys/wordpress ${vhost}@127.0.0.1
~~~

Modifier le fichier `wp-config.php` en conséquence:


Loading…
Cancel
Save