upgrade plugins without ftp credentials.
wp-config.php:
define('FS_METHOD','direct');
ssh -L 8888:www.linuxhorizon.ro:80 user@computer -N
+----------+<--port 22-->+----------+<--port 80-->o-----------+ |SSH Client|-------------|ssh_server|-------------| host | +----------+ +----------+ o-----------+ localhost:8888 computer www.linuxhorizon.ro:80
other example:
ssh -R 28:10.10.10.8:25 -R 29:10.10.10.1:25 root@server.ro -N
To enable GatewayPorts:
/etc/sshd_config:
GatewayPorts yes