Skip to content
Derick Bailey edited this page Dec 4, 2010 · 1 revision

Connect to a remote PuTTY SSH Server And Execute Commands

How to use the PLink task

plink :unpack do |plink|
  plink.command = "path/to/plink.exe"
  plink.host = "mywebserver"
  plink.port = "1234"
  plink.user = "username"
  plink.key = "kefile"
  plink.remote_commands "cd /webapp/", "unzip website.zip"
end
Clone this wiki locally