Read the SSH Overview section first if you are unfamiliar with SSH in general or are just getting started.This can be used as a quick reference when you need to know how to connect to or configure your server in different ways. In this cheat sheet-style guide, we will cover some common ways of connecting with SSH to achieve your objectives. After connecting, all commands you type in your local terminal are sent to the remote server and executed there. It provides a text-based interface by spawning a remote shell. SSH is a secure protocol used as the primary means of connecting to Linux servers remotely. Changing Port Forwarding Options on an Existing SSH Connection.Placing an SSH Session into the Background.Forcing a Disconnect from the Client-Side (How to Exit Out of a Stuck or Frozen Session).Using SSH Escape Codes to Control Connections.Configuring Dynamic Tunneling to a Remote Server.Configuring Remote Tunneling to a Server.Configuring Local Tunneling to a Server.Multiplexing SSH Over a Single TCP Connection.Keeping Connections Alive to Avoid Timeout.Defining Server-Specific Connection Information.Forwarding X Application Displays to the Client.Allowing Root Access for Specific Commands.Limiting the Users Who can Connect Through SSH.Changing the Port that the SSH Daemon Runs On.Forwarding your SSH Credentials to Use on a Server.Adding your SSH Keys to an SSH Agent to Avoid Typing the Passphrase.Logging in to a Server with a Different Port.Running a Single Command on a Remote Server.Copying your Public SSH Key to a Server Manually.Copying your Public SSH Key to a Server Without SSH-Copy-ID.Copying your Public SSH Key to a Server with SSH-Copy-ID.Removing or Changing the Passphrase on a Private Key.Generate an SSH Key Pair with a Larger Number of Bits.For example, ss://1.2.3.4:1324_ make remote connection to the first shadowsocks proxy server, and then tunnel to the second http proxy server. URIs can be joined by "_" to indicate tunneling by relay. The username, colon ':', and the password.Valid plugins: /,tls1.2_ticket_auth,verify_simple.Supported plugins: plain, origin, http_simple, tls1.2_ticket_auth, verify_simple, verify_deflate It can be or or Valid localbind: It can be multiple plugins joined by ",".If the hostname is empty, server will listen on all interfaces. It can be "hostname:port" or "/unix_domain_socket".To enable OTA encryption with shadowsocks, add '!' immediately after cipher name. Try install pycryptodome and use C version cipher instead. Some pure python ciphers (aes-256-cfb1-py) is quite slow, and is not recommended to use without PyPy speedup. Otherwise, use pure python cipher.ĪEAD ciphers use additional payload after each packet. Program will switch to C cipher if there is C implementation available within pycryptodome. Pproxy ciphers have pure python implementations. So cipher string with "YWVzLTEyOC1nY206dGVzdA=" is equal to "aes-128-gcm:test". Valid schemes: http+socks4+socks5://, http+ssl://, ss+secure://, http+socks5+ss://Ĭipher's format: "cipher_name:cipher_key". You can use + to link multiple protocols together. supported scheme: http, socks, ss, ssl, secure. Python 2 will not be supported in the future.įrom proxy 1.3.0, the minimal Python requirement is 3.6, since Python 3.7 make the async/ await/ reserved words, we cannot make pproxy compatible with older versions. This tool was to demonstrate these new syntax, so the minimal Python requirement was 3.6.įrom pproxy 1.1.0, the minimal Python requirement is 3.3, since old python versions are still widely used and PyP圓 only has 3.3 support currently. Python 3.6 added new syntax formatted string literals. Python 3.5 added new syntax async def and await to make asyncio programming easier. PAC support for javascript configuration.(http_simple, verify_simple, tls1.2_ticket_auth, etc) Regex pattern file to route/block by hostname.Basic authentication for all protocols.Lightweight (~500 lines) and powerful by leveraging python builtin asyncio library.Single-thread asynchronous IO with high availability and scalability.$ export http_proxy= $ export https_proxy= Features
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |