Use Xshell to simplify the logon operation of the springboard to the development machine

Source: Internet
Author: User
Tags ssh

use Xshell to simplify the logon operation of the springboard to the development machine

by Ma Dongliang (Frost Loki)

A man's War (http://blog.csdn.net/MDL13412) background

My work in Qunar is devops development, so need to connect to the remote development machine through the terminal to work, due to security and other factors, login to the development machine needs to log on to the springboard machine, and then on the springboard machine is actually connected to the development machine, as shown in the figure below:




Normal sign-in process

Use the SSH command to log in to the springboard, enter your own settings password +token generated dynamic password, log on board machine after successful, in the terminal assigned to the board to use the SSH command to login to the development machine, the springboard and the development machine with password SSH authentication, so you need to enter the password of the SSH private key.

The logon process is shown in the following figure:

Connecting a springboard Machine
















Enter user name










Enter user password +token dynamic password









Springboard Machine Login Successful








Log in to the development machine from a springboard machine









Login successful after entering SSH private key password






Streamline Processes

Log on to the springboard, enter the user name this process can be simplified by using Xshell to automatically complete the user name input, as shown in the following figure:























Log on the board successfully, you can set up the automatic login development machine























The following figure is a login development machine command that is automatically entered after the Xshell login springboard is successful:





The key to the next issue is how the springboard automatically enters the SSH private key password to enable the automatic login development machine. In order to achieve automatic login, we need to use the Xshell xagent tool;

First find "Tools", "xagent Start (A)" In the menu bar, and add the SSH private key used by the login developer as follows:





























The next step is to set up a session for the Xshell logon board, as follows:






















After making the above settings, log in, the effect is as follows:











Summary

After the setting of the Xshell, we finally realized, just enter the springboard machine login dynamic password, can complete the effect of the entire login process, greatly simplifying the daily login process, saving 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.