Putty

” PuTTY (/ˈpʌti/) is a free and open-source terminal emulator, serial console and network file transfer application. It supports several network protocols, including SCP, SSH, Telnet, rlogin, and raw socket connection. It can also connect to a serial port. “

Copy Files

You can copy files to/from the Linux host with batch scripts:

1
2
3
4
5
set PATH=C:\Program Files\PuTTY

pscp C:\Dev\obfuscation\publish.zip carl@192.168.31.129:/home/carl/obfuscation/publish.zip

echo "DONE"

Tunneling

If ports on you network are closed off you can use putty to tunnel to the box and hit the intended port, example if your container is running on port 7000:

  1. open putty, select the entry for your session and click load
  2. then on the left go to tunnels
  3. in the bottom half…
    1. enter a source port 7000
  4. in destination enter 127.0.0.1:7000
    1. click add
  5. You should see it listed in forwarded ports
  6. go back to sessions (right at the top in the left section)
    1. click save
    2. now when you connected, go to http://localhost:7000 in your browser

Check SSH Server Running Is Running

1
ps aux | grep openssh