0% found this document useful (0 votes)
199 views13 pages

BeyondTrust - Password Safe - Linux Tools Use Case - V1.0

Uploaded by

Narendra Reddy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
199 views13 pages

BeyondTrust - Password Safe - Linux Tools Use Case - V1.0

Uploaded by

Narendra Reddy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 13

Linux Tool Use Cases

Document Details

S. No. Name Role

1 Akash Bhosale Author

2 Sunil Sharma Project Manager

3 Document Status Release 1

4 Document Version 1.0

Document Details.

Document Name: Linux Tool Use Cases

Version No: 1.0

Owner: Akash Bhosale

Page 1
Contents
Linux Tool Use Cases .................................................................................................................................... 1
A. WinSCP to connect to Linux Managed Systems via PAM Direct Connect ............................................ 3
B. MobaXTerm to connect to Linux Managed Systems via PAM Direct Connect ..................................... 6
C. X11 Forwarding through putty.............................................................................................................. 8
D. For quick connect using SSH to target Linux Server............................................................................ 11

List of Figures
Figure 1 WINSCP Tool Advance option ......................................................................................................... 3
Figure 2 WINSCP Tool Endurance option ...................................................................................................... 4
Figure 3 Password Safe Portal SSH Session Page .......................................................................................... 4
Figure 4 Password Safe SSH Session Connection Page ................................................................................. 5
Figure 5 WINSCP Login Page ......................................................................................................................... 5
Figure 6 WINSCP Connection to Server ........................................................................................................ 6
Figure 7 WINSCP Working Session ................................................................................................................ 6
Figure 8 Password Safe SSH Session Page .................................................................................................... 7
Figure 9 Password Safe SSH Session Connection Page ................................................................................. 7
Figure 10 MobaXTerm Login Page ................................................................................................................ 8
Figure 11 MobaXTeram Working Session after logged in............................................................................. 8
Figure 12 X11 App Setting 1 .......................................................................................................................... 9
Figure 13 Putty Setting for Use of X11 .......................................................................................................... 9
Figure 14 Password Safe SSH Session Page .................................................................................................. 9
Figure 15 Password Safe SSH Connection Page .......................................................................................... 10
Figure 16 Putty Login Page for X11 ............................................................................................................. 10
Figure 17 X11 Login Session ........................................................................................................................ 11
Figure 18 Gedit............................................................................................................................................ 11
Figure 19 Server Name in Password Safe for SSH Connection ................................................................... 12
Figure 20 Putty Page for Direct Connect..................................................................................................... 12
Figure 21 Prompt for normal WBI Account Password on SSH Console ...................................................... 13

Page 2
A. WinSCP to connect to Linux Managed Systems via PAM Direct
Connect

Below steps to use WINSCP tool for file transfer using PAM Solution.

Note: Beyond Trust PAM Solution Does not Support SCP Protocol to use it via WINSCP

Pre-requisites:-

If the reconnect is enabled and the one time token is used. It can cause repeated invalid session
requests, So it is recommend unchecking the Automatic reconnect in WinSCP.

The Automatic Reconnect settings can be found under Advanced → Logging then go to Endurance

Figure 1 WINSCP Tool Advance option

Uncheck All three Option under Auto reconnect.

Page 3
Figure 2 WINSCP Tool Endurance option

Method:-

1. Login to Password Safe Portal, Request for SSH Session

Figure 3 Password Safe Portal SSH Session Page

2. Launch WINSCP tool from local machine.


3. Under Session Option > Select File transfer protocol as SFTP
Note: SCP protocol is not supported from PAM Solution.
4. From password safe portal, click on Open SSH Session Button.
5. Copy the Username/IP parameter. This is the one time token.

Page 4
Figure 4 Password Safe SSH Session Connection Page

6. In WINSCP tool paste the copied Username/IP Parameter in Hostname section. Enter port
number 4422. For you can see hostname is pam.nxp.com and string in username.

Figure 5 WINSCP Login Page

7. Then Click on Login directly.


8. Session will establish for WINSCP.

Page 5
Figure 6 WINSCP Connection to Server

Figure 7 WINSCP Working Session

B. MobaXTerm to connect to Linux Managed Systems via PAM Direct


Connect

This document shows how to allow users to use MobaXterm to connect to Managed System through
Password Safe via Direct Connect.

Method:-

1. Login to Password Safe Portal, Request for SSH Session

Page 6
Figure 8 Password Safe SSH Session Page

2. Launch MobaXTerm tool from local machine.


3. From password safe portal, click on Open SSH Session Button.
4. Copy the Username/IP parameter. This is the one time token.

Figure 9 Password Safe SSH Session Connection Page

5. In MobaXTerm tool paste the copied Username/IP Parameter in Remote Host section. Enter
port number 4422

Page 7
Figure 10 MobaXTerm Login Page

6. Then Click on Ok directly.


7. Session will establish for WINSCP.

Figure 11 MobaXTeram Working Session after logged in

C. X11 Forwarding through putty


This document shows how to allow users to launch SSH session with X11 forwarding

Pre-requisites:-

1. In Xming Application Display settings dialog box, select Multiple windows and set the Display
number as 0.

Page 8
Figure 12 X11 App Setting 1

2. In putty Set the X display location as :0.0, go to Connection > SSH > X11

Figure 13 Putty Setting for Use of X11

Method:-

1. Login to Password Safe Portal, Request for SSH Session

Figure 14 Password Safe SSH Session Page

2. Launch MobaXTerm tool from local machine.

Page 9
3. From password safe portal, click on Open SSH Session Button.
4. Copy the Username/IP parameter. This is the one time token.

Figure 15 Password Safe SSH Connection Page

5. In Putty tool paste the copied Username/IP Parameter in Host Name section. Enter port number
4422

Figure 16 Putty Login Page for X11

6. Then Click on open directly.


7. Launch Xclock

Page 10
Figure 17 X11 Login Session

8. Launch Gedit

Figure 18 Gedit

D. For quick connect using SSH to target Linux Server


Use below method to login,

Format of String:
<WBIDomainName>\<WBIAccountName>@<IAMOUDDomainName>\<LinuxAdminAccountName>@<Ta
rgetServerNameShowingInPAM>@<PAMSolutionName>

Example:

WBI Domain Name: wbi.nxp.com

End User Normal WBI ID: nxf123

IAM OUD Domain Name: oldap-nlnym01.nxp.com

End User Linux Admin Account Name: nxf123-a

Target Server Name (Shows in PAM) : abcdserver

Example given below,

Page 11
Figure 19 Server Name in Password Safe for SSH Connection

PAM Solution Name: pam.nxp.com

wbi.nxp.com\[email protected]\nxf123-a@[email protected]

1. Open Putty
2. Enter the above string format into Hostname Option
3. Enter the port number 4422

Figure 20 Putty Page for Direct Connect

4. Click on Open
5. SSH Console will prompt for your Normal WBI Account Password, enter.

Page 12
Figure 21 Prompt for normal WBI Account Password on SSH Console

6. You will directly logged into target machine.

Page 13

You might also like