The difference between VPN and SSH
Summary:Many netizens will ask: Which is better, VPN proxy or SSH proxy? Actually, this question is really difficult to answer because it depends on how you d…
This book is available as an e-book in EPUB format
PayPal sponsors this website for any amount. I will send you an EPUB e-book via email. Please send me an email
Email: shuxueha@outlook.com
PayPal: https://paypal.me/zhipinglei
You can also scan the PayPal QR code below to sponsor
You can also purchase this book on Amazon: click to enter the Amazon official website
Many netizens will ask: Which is better, VPN proxy or SSH proxy? Actually, this question is really difficult to answer because it depends on how you define it as' good '.
Professional point answer: SSH, as a security protocol created on the basis of application layer and transport layer, is located at a higher layer of network protocol (compared to VPN). I usually use SSH as a SOCKS5 proxy (some say it is located at the session layer, unconfirmed). Encapsulate HTTP messages in SSH packets and transmit them between the client and server. SSH proxy is very convenient to use. With Firefox's autoproxy extension or Chrome browser, it is easy to determine which websites can be accessed through SSH and which ones do not. It is very flexible and lightweight.
The advantage of VPN proxy is that it is more versatile. There are at least four VPN connection protocols widely used in practice: PPTP, L2TP, OpenVPN, and IPSec. Among them, L2TP and PPTP, as the oldest VPN connection protocols, work at the data link layer of the OSI seven layer model. From bottom to top, they are very low-level network communication protocols. As the underlying tunneling technology, what are the benefits? They do not require any modifications from the upper layer client, do not require the client to support proxy settings, do not require any settings from the client, and do not require any changes from the client. How did you use the network before. It simulates the network environment of VPN servers from the bottom layer, creating a false impression for upper layer applications using the network, making them think they are in the local area network where the VPN server is located, without walls or resets, everything is so beautiful.
The versatility of VPN also comes at a cost, which is that compared to SSH, VPN is not flexible enough. By default, when you connect to a VPN, all network traffic in the system will go through that VPN connection, which is often unnecessary. For example, when you go to a domestic website, you don't want the video content you see to be connected from Youku to a foreign VPN server and then back to your domestic client from the VPN server. After circling around, the packet loss rate and latency directly increase. Although there is now an intelligent connection mode that allows VPNs to access domestic websites without using VPN lines, it is still not as flexible as SSH in some website access situations.
For example, suppose xxx is a strongly blocked keyword, SSH proxy+AutoProxy can achieve this http://www.abc.com/xxx Go through agency, and http://www.abc.com/yyy Not using a proxy is beyond the capabilities of VPN. Of course, the VPN method also has its unique advantages, which is that it can be used without any settings for the application software. This is a great blessing for some application software that cannot set up proxies at all, which is also beyond the capabilities of SSH method. You can see the difference between SSH and VPN methods. SSH can filter URLs through encrypted channels at the URL level, while VPN can only filter IP addresses.
In fact, SSH is just one type of proxy. There are many types of proxies, such as HTTP proxy, reverse proxy, etc. These are not very useful in the domestic network environment mainly because their content transmission is in plaintext, and unencrypted content is easily sniffed by third parties, which then intercepts the connection. In general, guess who would do this???
SSH and VPN are both encrypted transmissions, relatively secure, and can finally survive in the harsh network environment in China.
| High-speed VPN | Fast VPN | Preferred Accelerator VPN | Reliable VPN |
| High quality VPN | Old fashioned VPN | Stable VPN(Recommend) | Smooth VPN |

