By reading the sources, it is handled by a channel of type dynamic-tcpip.
Both the SSH RFC and IANA for SSH do not contain this string while they do contain the other types of port forwarding channels.
The internet and GitHub also do not contain much of this string.
Where is it specified?
In which RFC is ssh dynamic tunneling specified?
39 views Asked by Daniel At
1
There are 1 answers
Related Questions in SSH
- Is there a way to prevent vscode from forwarding ssh agent to remote dev container?
- problem to push files on a repository git
- How to connect to ssh server with domain name
- GIT SKIP EMPTY DIRECTORIES
- Share files from the server without data or internet usage
- Is it possible for `sudo` to fail temporarily with the correct password? Hacking suspected
- How to add a second ssh public key to authorized_keys file in the server?
- Termux: Different scrolling behaviour after "screen"-command
- Remote debugging via SSH Tunnel
- Why can I not login to a new linux system (amazon linux 2023) from an old one (CentOS 6)
- Can't establish ssh connection to IP address but can to git
- Using Maven to feed minikube on a VM
- Connect ssh to cisco switch with ansible
- PowerShell Command via SSH
- How to automate an SSH login with a batch file?
Related Questions in PORTFORWARDING
- where is the port-forward rule file stored in vscode?
- Error in port forwarding when using kubectl
- Is it possible to enable port forwarding on SageMaker Studio Lab instance?
- how to manually set a port forward rule?
- Setting up HTML page on port 8083 in NGINX
- How do I receive TCP messages on an android Emulator from a physcal device
- Framework error on cloudflare global network
- Accessing Flask app running inside a Docker container
- How to perform dynamic port forwarding in rust?
- In which RFC is ssh dynamic tunneling specified?
- nginx configuration for accessing ActiveMQ Artemis web console inside minikube
- 2 Cloud SQL server port forward to cloud proxy vm
- Error connecting to psql database through tunnel on docker port
- Problems with Vscode port forwarding to localhost when using a tunnel to VPS
- How to access localhost:port by domain names
Related Questions in RFC
- Confusing Wording in SSH-CONNECT [RFC4254]
- implementing EST server (RFC7030). does github.com/globalsign/est support both client and server properly?
- Reading multiple blocks from a CoAP block-wise transfer on SIM7080G modem
- AES key wrapping using another AES key and unwrapping to get the original key (RFC 3394 and RFC 5649)
- In which RFC is ssh dynamic tunneling specified?
- What does a single CR mean ? (telnet)
- What is the behaviour of GA without ECHO? (telnet)
- SIP IPV6Reference
- In the X.509 CRL v2 format, why is there a requirement to duplicate the "AlgorithmIdentifier" fields?
- In RFC 2409 does SIG_I and HASH_I refers to the same?
- How does one ascertain what the components of RFC 3615's examples represent?
- (JSON) RFC7158 vs RFC7159
- HTTP RFC Multiple headers with same name and different style
- How does RFC define a sequence of characters?
- AWS Application Load Balancer rejecting requests with content-length 0
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
I don't think "dynamic-tcpip" is a "real" channel type. It's a label used internally by the ssh client for dynamic port forward listening ports.
Both dynamic and non-dynamic port forwards open a "direct-tcpip" channel to the remote server for each individual forwarded client connection. The request to open the direct-tcpip channel includes the host and port which the channel should be forwarded to.
For a non-dynamic forward, the host and port is specified when you create the forward. When you run
ssh -L 1234:somehost:5678..., the remote host and port are "somehost" port 5678. For a dynamic forward, created by running something likessh -D 1234, a client will connect to the dynamic listening port and use the SOCKS protocol to send the host and port that it wants to connect to. Either way, the ssh client uses the host and port to create a direct-tcpip channel with the host and port as the target. It's not important to the remote server that the channel open request came from a dynamic forward instead of something else.In the source code, you'll see a function called
channel_pre_dynamic()handles connections to SOCKS listening ports. It decodes the SOCKS message from the client and opens a direct-tcpip channel to handle the connection:You will see "dynamic-tcpip" appear in messages from the client about the dynamic listening port:
Here, connecting to the dynamic listening port triggers a debug message mentioning the dynamic-tcpip channel type, and it also shows up in the list of channels from typing "~#".