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 系列 手札
本文作者:陈景峯
转载请与作者联系,同时请务必标明文章原始出处和作者信息及本声明。

目录
打赏
0
0
0
0
26198
分享
相关文章
Linux(16)ssh_exchange_identification: read: Connection reset by peer问题
Linux(16)ssh_exchange_identification: read: Connection reset by peer问题
103 0
windows 11安装openSSH server 遇到的"kex_exchange_identification: read: Connection reset"问题
windows 11安装openSSH server 遇到的"kex_exchange_identification: read: Connection reset"问题
Disconnected: No supported authentication methods available)FileZilla通过SSH连接Linux服务器( CentOS)
Disconnected: No supported authentication methods available)FileZilla通过SSH连接Linux服务器( CentOS)
685 0
Disconnected: No supported authentication methods available)FileZilla通过SSH连接Linux服务器( CentOS)
『OpenSSH』 Windows开启SSH服务端
📣读完这篇文章里你能收获到 - 本文将以图文的形式带你打开Window自带的SSH
441 0
『OpenSSH』 Windows开启SSH服务端
Ubuntu Server 14.04配置apt-get源
1.在安装Ubuntu系统时候我们已经安装了ssh服务,所以直接xshell连接到ubuntu 2.下面进行apt-get源配置 注意:我们平时修改配置文件时候一定要先备份下原来的配置文件 备份源: zzq@ubuntu:~$ sudo cp /etc/apt/sources.
2419 0
AI助理

你好,我是AI助理

可以解答问题、推荐解决方案等