Linux
Last updated
Last updated
kali$ ssh -L 8000:10.10.10.10:80 user@10.10.0.5 -fN
-f backgrounds the shell immediately so that we have our own terminal back.
-N tells SSH that it doesn't need to execute any commands
-L which creates a link to a Local port
ssh -D 9050 user@10.10.0.10 -fN
-D which creates a dynamic proxy
$ ssh -N -R 10.10.10.10:5901:127.0.0.1:5901 -i id_rsa pwned@10.10.10.11
┌──(pwned㉿kali)-[~/transfer/Lin-Tools]
└─$ netstat -tplun
(Not all processes could
When the server does not open port 22. But the application is using http proxy service, we can use tool proxytunnel to forward traffic to the remote server.
proxytunnel -p $ip:3128 -d 127.0.0.1:22 -a 4444
ssh john@127.0.0.1 -p 4444