Created
October 18, 2019 13:20
-
-
Save technoknol/2d2438f778382aabb2745c89da2b3089 to your computer and use it in GitHub Desktop.
SSH into server and run commands - DEPLOYMENT on Linux server from Windows Server #deployment
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\path\to\putty\PLINK.EXE 167.XXX.XXX.XXX -l root -i C:\path\to\private\key\private.ppk (cd /commands\to\run\separated\by\semicolon;git pull) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Explanation
C:\path\to\putty\PLINK.EXE
167.XXX.XXX.XXX
root
C:\path\to\private\key\private.ppk
(cd /commands\to\run\separated\by\semicolon;git pull)