vi /etc/ssh/sshd_config
--
..
PermitRootLogin no
..
2. disable root login in phpmyadmin
vi config.inc.php
--
..
$cfg['Servers'][$i]['AllowRoot'] = FALSE;
..
vi /etc/ssh/sshd_config
--
..
PermitRootLogin no
..
vi config.inc.php
--
..
$cfg['Servers'][$i]['AllowRoot'] = FALSE;
..
ssh -D port user@host
# -C enable compression
# -N don't start a shell/command (SSH-2 only)
# -v show verbose messages
# -ssh force use of SSH protocol
# -L [listen-IP:]listen-port:host:port
# Forward local port to remote address
plink.exe -C -N -v -ssh -L local_port:remote_ip:remote_port -l ssh_username ssh_server_ip