Ssh Transit server commands

Source: Internet
Author: User

Command purpose of the ssh Transit server: When a Server 1 can be remotely connected to the Internet, and other servers (such as server 2) can only be connected to the Intranet, You can first log on to Server 1, then run the ssh command to remotely connect to server 2. Www.2cto.com in three formats: 1. ssh IP address 2. ssh user @ IP address (to specify user logon, provided that the host has this user) by default, the user is logged on to the current host, if the current host uses root, the root user is used to log on to the target host. If the current host is logged on with an oracle user, the oracle user is used to log on to the target host, however, the premise is that the target host has the same user www.2cto.com. When you configure the ing between the host name and IP address in/etc/hosts, you can also: 3. for example, if the IP address 192.168.1.101 of the Host Name zhuji01 is configured in/etc/hosts, you can write ssh zhuji01

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.