Jumpserver stepping stone

Source: Internet
Author: User

I,Jumpserver Introduction

Umpserver is an open-source stepping stone (bastion host) system compiled by python, which implements the functions of the stepping stone. It is managed based on the SSH protocol, and the agent does not need to be installed on the client.

Ii. features:

It is fully open-source and compiled in Python. It is easy to re-develop and implement the basic functions of the stepping stone. It authenticates, authorizes, audits, and integrates ansible, batch Commands, automatic collection of hard information, video playback, command search, real-time monitoring, batch upload and download, etc.

Iii. establishment and deployment of jumpserver

1. Download Yum Source

Attach a CD:

[[Email protected] ~] # Mount/dev/sr0/Media/CDROM/
Mount: block device/dev/sr0 is write-protected, mounting read-only

Installation and download commands:

[[Email protected] yum. Repos. d] # Yum-y install wget

Download the Internet Yum Source:

[[Email protected] yum. Repos. d] # wget-O/etc/yum. Repos. d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repo

Http://mirrors.aliyun.com/repo/epel-6.repo wget-O/etc/yum. Repos. d/epel. Repo

Regenerate Yum cache:

[[Email protected] yum. Repos. d] # Yum-y clean all-> clear Cache

[[Email protected] yum. Repos. d] # Yum makecache-> regenerate Cache

 

2. Copy the source code package to the jumpserver and unpack the package.

[[Email protected] ~] # Tar xf jumpserver-0.3.2.tar.gz-C/usr/local/-> unzip
[[Email protected] ~] # Cd/usr/local/jumpserver-0.3.2/
[[Email protected] jumpserver-0.3.2] # pwd
/Usr/local/jumpserver-0.3.2

3. Run the automatic installation script provided by jumpserver.

[[Email protected] jumpserver-0.3.2] # cd install/
[[Email protected] install] # Python install. py-> Use python to parse and install

 

Test access through a browser:

[[Email protected] install] # netstat-antup | grep 8000-> View the listening port

 

4. jumpserver stepping stone

 

A user has been created. This information must be saved.

Download key

 

 

Sudo authorization

 

Sudo principle:

 

Add asset

 

 

Add system users

 

Managed end:

[[Email protected] install] # useradd Admin & Echo "111111" | passwd -- stdin Admin

 

 

Push Resources

 

 

Add authorization rules

 

Xshell Login

 

 

 

 

 

 

 

 

 

 

 

Jumpserver stepping stone

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.