I am using putty in windows. I am logging to putty with an IP:Port number. What I have to do is I have to write a script which will open another putty terminal and do login there with its username and password
Purpose:- I am trying to automate my work using scripts, I have five users with there username and password and all of the terminal should be opened in putty and so there task. please guide me in this direction.
I am running my script in ssh shell
My code:-
putty.exe -pw "password" [email protected] hello.sh ok-1
I have only executable file of putty, I have not installed putty, just copy and paste the exe file from another machine.Its working fine manually.