Package nl.vpro.util

Class Ssh

java.lang.Object
nl.vpro.util.Ssh

public class Ssh extends Object
Wrapper around the command line tools 'ssh' and 'scp'.
Since:
3.1
Author:
Michiel Meeuwissen
  • Constructor Details

    • Ssh

      public Ssh(String remoteHostName, String remoteHostUser, String privateKeyFile)
    • Ssh

      public Ssh(String remoteHostName, String remoteHostUser)
  • Method Details

    • exec

      public void exec(String... command)
    • upload

      public void upload(File localFrom, String remotePath)
    • download

      public void download(String remotePath, File localTo)