43.4. OpenSSH Tunnel

简介:
+关注继续查看

mysql tunnel

$ ssh -L 3306:127.0.0.1:3306 user@example.org
		

testing

$ mysql -h 127.0.0.1 -uroot -p test
		

43.4.1. SOCKS v5 Tunnel

			
ssh -D 1080 <远程主机地址>
or
ssh -D 7070 <远程主机地址>
			
			

I prefer 1080 to 7070. the reason is 1080 default for SOCKS port.

ssh neo@www.example.com -D 1080
			




原文出处:Netkiller 系列 手札
本文作者:陈景峯
转载请与作者联系,同时请务必标明文章原始出处和作者信息及本声明。

目录
相关文章
|
网络协议
|
关系型数据库
|
网络安全
|
数据安全/隐私保护 网络安全
|
网络安全 开发工具 网络协议
|
安全 网络安全 数据安全/隐私保护
|
安全 Linux 网络安全
|
安全 算法 网络安全
|
安全 网络协议 Shell
|
SQL MySQL 关系型数据库