Find knowledge base article(s) by searching for keywords in the title e.g. type linux in the search box below
Find knowledge base article(s) by browsing the subject categories of articles
Technology quick references, cheatsheets, user manuals etc.
Shop Online through ShopifyLite
Tutorials on various IT applications.
Search Title    (UL:0 |SS:f)

Software >> SSH >> Client >> Putty >> How to use plink to connect to remote SSH server and execute a shell script or a command at the server

To run a script 

E.g. using public key authentication

plink -i path-to-local-privatekey-ppk-file user@ssh-server /path-to-script/some-script.sh

To run a command

e.g.

plink -i path-to-local-privatekey-ppk-file user@ssh-server "ls -la"

 

[ © 2008-2021 myfaqbase.com - A property of WPDC Consulting ]