Running any script on UNIX/Linux type server using WINSCP from windows.

Category:


Running any script on UNIX/Linux server using WinSCP from windows.

c:\Program Files\WinSCP\WinSCP.com /script=restart.script

Script is

  • option confirm off
  • open username:password@hostname
  • cd /pathToYourScripts
  • call ./myscript.sh


Application - 

You can use this technique to restart the servers , services on the application server remotely.


Happy Coding

Comments (0)

Post a Comment