22
0
Fork 0

modification test ssh

This commit is contained in:
Benoît S. 2019-08-01 16:37:18 +02:00
parent b8f634b2d4
commit 5609a41bf6
1 changed files with 1 additions and 2 deletions

View File

@ -46,8 +46,7 @@ Tutoriel détaillé : http://kbeezie.com/secure-wordpress-ssh2/
# 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
# su - $vhost
$ ssh 127.0.0.1
# sudo -u www-${vhost} ssh -i /home/$vhost/sshkeys/wordpress 127.0.0.1
~~~
Modifier le fichier `wp-config.php` en conséquence: