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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Ssh.SshException
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
download(String remotePath, File localTo)
void
exec(String... command)
void
upload(File localFrom, String remotePath)
-