Issue with day 22 of 100 i completed task but still it says failed

I performed below steps to complete task anyone tell me what is wrong in it? The lab failed after I submit the task
thor@jumphost ~$ ssh [email protected]
The authenticity of host ‘ststor01.stratos.xfusioncorp.com (172.16.238.15)’ can’t be established.
ED25519 key fingerprint is SHA256:cGtMUJh+Fcl6x/L12HClPWJEMJ5Ldq7XlGo+eycYKfg.
This key is not known by any other names
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added ‘ststor01.stratos.xfusioncorp.com’ (ED25519) to the list of known hosts.
[email protected]’s password:
[natasha@ststor01 ~]$ whoami
natasha
[natasha@ststor01 ~]$ hostame
-bash: hostame: command not found
[natasha@ststor01 ~]$ hostname
ststor01.stratos.xfusioncorp.com
[natasha@ststor01 ~]$ cd /usr/src/kodekloudrepos
[natasha@ststor01 kodekloudrepos]$ ls
[natasha@ststor01 kodekloudrepos]$ sudo git clone /opt/media.git

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 natasha:
Cloning into ‘media’…
warning: You appear to have cloned an empty repository.
done.
[natasha@ststor01 kodekloudrepos]$ ls
media
[natasha@ststor01 kodekloudrepos]$ cd media
[natasha@ststor01 media]$ ls
[natasha@ststor01 media]$

Hi @SuryanshGupta

Thanks for your feedback. I also couldn’t pass it, it seems to be a valid issue. Let me inform the team to check and fix it.

can you try this command: sudo git clone /opt/news.git

  • removed extra ‘/’ at the end.

You can check this repo: https://github.com/imShakil/100-Days-Of-DevOps-Challenge-KodeKloud/blob/main/days/022.md

Yes please check it with the kodekloud team . I performed the task again . It seems correct to me but again it got failed after submission

no Again i checked but still fails

Hi shakil
Got the answer we should not use sudo git clone rather only use git clone as it must be run as natasha, not root user . This was the mistake we are doing :grinning: :grin:. Solved this issue myself. DON’t use sudo git clone just git clone. I know sudo solves most problem in git but not this time :joy:

Hi Raymond
Got the answer we should not use sudo git clone rather only use git clone as it must be run as natasha, not root user . This was the mistake we are doing :grinning: :grin:. Solved this issue myself

refer to my repo for solution