wagon-ssh-1.0-beta-2.jar usage problem
Did anybody开发者_JAVA技巧 use wagon-ssh-1.0-beta-2.jar (http://grepcode.com/snapshot/repository.jboss.org/maven2/org.apache.maven.wagon/wagon-ssh/1.0-beta-2) library for scp upload files in Java ? Can anybody give me example how to upload scp file with this ?
This is an SSH provider for Maven Wagon. It doesn't make any sense unless used from a Maven context.
If you want to use SCP from Java, check out this previous question: SCP via Java
精彩评论