You need to follow previous posts related to
port knocking and
password-less ssh. Here is a script that combines both:
@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.
The only thing you have to do is create a shortcut to your quick launch toolbar and you are done.
No comments :
Post a Comment