@echo off set ip=XXX.XXX.XXX.XXX cd nmap-5.00 cmd /c knockin.cmd %ip% AAA BBB CCC DDD cd ..\putty start putty.exe -file deby %ip%Here are few comments to the script:
- Both nmap-5.00 and putty are sub directories of the script location.
- Replace XXX.XXX.XXX.XXX with your remote host ip address
- Replace AAA BBB CCC DDD with your knockin code
- Putty uses file session (settings) stored in file deby.