Secure Data Transfer Level 1 Linux KodeKloud Engineer Task Success

Ticker

6/recent/ticker-posts

Secure Data Transfer Level 1 Linux KodeKloud Engineer Task Success

Question :  A Nautilus developer has stored confidential data on the jump host within Stratos DC. To ensure security and compliance, this data must be transferred to one of the app servers. Given developers lack direct access to these servers, the system admin team has been enlisted for assistance.

Copy /tmp/nautilus.txt.gpg file from jump server to App Server 1 placing it in the directory /home/opt.

Please Note :-  Perform the below commands based on your question  server,  user name & other details might differ . So please read task carefully before executing. All the Best 👍


Solution:  

1. At first scp the file to stapp01 ( Please refer server as per given in your task)    

thor@jumphost ~$ ls -l /tmp/

total 32

-rw-r--r-- 1 thor thor 5218 Aug  1 08:35 demofile2.json

-rw-r--r-- 1 root root  105 Aug  1 08:30 nautilus.txt.gpg

drwx------ 3 root root 4096 Aug  1 08:30 systemd-private-97dfd3636478405e8ee133b772c1d726-dbus-broker.service-vPtlup

drwx------ 3 root root 4096 Aug  1 08:30 systemd-private-97dfd3636478405e8ee133b772c1d726-rtkit-daemon.service-59tPZA

drwx------ 3 root root 4096 Aug  1 08:34 systemd-private-97dfd3636478405e8ee133b772c1d726-systemd-hostnamed.service-Lz8uik

drwx------ 3 root root 4096 Aug  1 08:30 systemd-private-97dfd3636478405e8ee133b772c1d726-systemd-logind.service-MN1VIw

drwx------ 3 root root 4096 Aug  1 08:30 systemd-private-97dfd3636478405e8ee133b772c1d726-upower.service-Ppqc6B

thor@jumphost ~$

thor@jump_host ~$ sudo scp /tmp/nautilus.txt.gpg  tony@stapp01:/home/opt

We trust you have received the usual lecture from the local System

Administrator. It usually boils down to these three things:

    #1) Respect the privacy of others.

    #2) Think before you type.

    #3) With great power comes great responsibility.


[sudo] password for thor: 

The authenticity of host 'stapp01 (172.16.238.10)' can't be established.

ED25519 key fingerprint is SHA256:ax6zL/B2vK/pQ9wsjg7Jw+3XgEp55PjxGDBhRGOaohI.

This key is not known by any other names

Are you sure you want to continue connecting (yes/no/[fingerprint])? yes

Warning: Permanently added 'stapp01' (ED25519) to the list of known hosts.

tony@stapp01's password: 

nautilus.txt.gpg                                                                                  100%  105   158.0KB/s   00:00    

thor@jumphost ~$ 

2. Login on app server as per the given in your task

thor@jumphost ~$ ssh tony@stapp01

The authenticity of host 'stapp01 (172.16.238.10)' can't be established.

ED25519 key fingerprint is SHA256:ax6zL/B2vK/pQ9wsjg7Jw+3XgEp55PjxGDBhRGOaohI.

This key is not known by any other names

Are you sure you want to continue connecting (yes/no/[fingerprint])? yes

Warning: Permanently added 'stapp01' (ED25519) to the list of known hosts.

tony@stapp01's password: 

[tony@stapp01 ~]$

3. validate the file folder location

[tony@stapp01 ~]$ ls -l /home/opt

total 4

-rw-r--r-- 1 tony tony 105 Aug  1 08:38 nautilus.txt.gpg

[tony@stapp01 ~]$ 


4.  Click on Finish & Confirm to complete the task successful

Happy Learning!!!!


Apart from this if you need more clarity,  I have made a  tutorial video on this , please go through and share your comments. Like and share the knowledge

Post a Comment

0 Comments

Latest Posts

 Restrict Cron Access Level 1 Linux KodeKloud Engineer Task Success