Keepass realizes automatic login and jump of Xshell
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