Home > OS >  Want to use a bat directly remote closing centos, train of thought
Want to use a bat directly remote closing centos, train of thought

Time:09-19

Searched for half a day's train of thought, Linux platform can directly bind the secret key to run the SSH in the past,,,

CodePudding user response:

Windows can also, you can just find the SSH client:
Plink of putty suite, you can remote execution command line;
Windows 10 a little new versions are bringing the openssh,

CodePudding user response:

These depend on the client, I am a win2003 environment, want to do a simple key to run a bat, encapsulate the trouble,,

CodePudding user response:

reference 1/X - I - n reply:
Windows can also, you can just find the SSH client:
Plink of putty suite, you can remote execution command line;
Windows 10 are bringing the openssh, a little bit new version

These depend on the client, I am a win2003 environment, want to do a simple key to run a bat, encapsulate the trouble,,

CodePudding user response:

Plink don't need to install, only a single exe,

CodePudding user response:

Recorded in the iptables ping logging can realize: win2003 to ping centos server, the server from the log to determine IP from win2003, clear the log and shutdown, win2003 had a minute to go ping, if the server no response, determine success of shutdown,
  • Related