Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Keepass realizes automatic login and jump of Xshell

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

Online environment often can not directly use root users to log in, in order to secure the complexity of password setting is generally very high, relying on the human brain can not remember, keepass can help us to store passwords and achieve automatic login and jump to root users. Keepass is an open source product (download me)

Xshell allows us to log in by executing such a statement under the windows command line

C:\ Program Files (x86)\ NetSarang\ Xmanager Enterprise 5 >.\ Xshell.exe-url ssh://root:wuhfwuhf@192.168.92.137:22

So we can combine Keepass with Xshell.

1. Add a record

Title {TITLE}: 192.168.92.137VR 1024

User name {USERNAME}: test

Password {PASSWORD}: test123456

URL {URL}: cmd:// "C:\ Program Files (x86)\ NetSarang\ Xmanager Enterprise 5\ Xshell.exe"-url ssh:// {USERNAME}: {PASSWORD} @ {TITLE}

Remarks {Notes}: sudo su-root

two。 Change the default rule in the automatic input option

{Notes} {ENTER} {PASSWORD} {ENTER}

3. Click OK to add

Selected added record

Step 1: log in to the test user

Right-click-> URL-> Open

Shortcut key ctrl + V

Step 2: log in to the root user

Right-click-> perform automatic input

Shortcut key ctrl + U

4. Login Page

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report