Use xshell to simplify login from the jump server to the Development Server

Source: Internet
Author: User
Document directory
  • Background
  • Normal Logon Process
  • Simplified process
  • Summary

Use xshell to simplify login from the jump server to the Development Server

By Ma Dongliang (cream Loki)

One man's war (http://blog.csdn.net/MDL13412)

Background

My work in Qunar is O & M development. Therefore, I need to connect to the remote development machine through a terminal. Due to security and other factors, I need to log on to the development machine first, connect to the development machine on the stepping stone, as shown in:

Normal Logon Process

  • Log on to the stepping stone using SSH commands, and enter your own password + Dynamic Password generated by token;
  • After logging on to the stepping stone, log on to the development machine by Using SSH commands in the terminal allocated by the stepping stone machine. The password-based SSH verification is used between the stepping stone machine and the development machine, therefore, you must enter the password of the SSH private key.

Shows the logon process:

Connect to the stepping stone

Enter User Name

Enter user password + token Dynamic Password

Stepping Stone login successful

Log on to the development server from the stepping stone

Login successful after entering the SSH private key password

Simplified process

Log on to the stepping stone and enter the user name. This process is simplified. You can use xshell to automatically enter the user name, as shown in:

After logging on to the jump server, you can set automatic logon to the development server.

After xshell is successfully logged on to the stepping stone, the following logon commands are automatically entered:

The key to the next issue is how to automatically enter the SSH private key password on the stepping stone to automatically log on to the development machine. To achieve automatic logon, we need to use the xagent tool with xshell;

First, find "tool"-> "xagent start (a)" in the menu bar, and add the SSH private key to be used to log on to the development machine, as shown below:

Next, you need to set the session for xshell login to the stepping stone, as shown below:

After the preceding settings are complete, log on to the system. The effect is as follows:

Summary

After setting xshell, we finally achieved the effect of the entire login process by entering the dynamic password for login from the stepping stone, which greatly simplifies the daily login process and saves time.

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.