Linux port ing

Source: Internet
Author: User
Tags ssh port
Article title: linux port ing. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

Ssh-C-g root@127.0.0.1-L 5000: 61.235.139.123: 5000

Enter the root password of the machine.

Background execution: ssh-C-f-N-g root@127.0.0.1-L 5000: 61.235.139.123: 5000

In addition:

Ssh-C-f-N-g-R remote_port: local: port user @ remotehost

You can bind a remote server port remote_port to the local port, where-C is used for data compression and-f is used for background operations. only when the user name and password are prompted Can you switch to the front server. -N is not used to execute remote commands. This command is useful when only port forwarding is performed. -G allows the remote host to connect to the local forwarding port. -R indicates that the remote host port is mapped to the local port. If it is-L, the local port is mapped to the remote host port.

In-depth example of ssh port forwarding:

Thursday, 5. 10000l 2007, 13:44:15

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.