org.apache.maven.wagon.providers.ssh.jsch
Class ScpWagon
- CommandExecutor, SshWagon, Wagon
A base class for deployers and fetchers using protocols from SSH2 family and
JSch library for underlying implementation
This is responsible for authentification stage of the process.
We will first try to use public keys for authentication and if that doesn't
work then we fall back to using the login and password
$Id: ScpWagon.java 477374 2006-11-20 22:34:46Z brett $
void | get(String resourceName, File destination) - Downloads specified resource from the repository to given file.
|
void | get(String basedir, Resource resource, File destination)
|
void | put(File source, String destination) - Copy a file from local system to remote
|
void | put(File source, String basedir, Resource resource, String octalMode)
|
protected String | readLine(InputStream in)
|
protected static void | sendEom(OutputStream out)
|
executeCommand , getDirectoryMode , getFileList , getIfNewer , getInteractiveUserInfo , getKnownHostsProvider , getOctalMode , getOctalMode , getPort , getPrivateKey , getResource , getResourceDirectory , getResourceFilename , handleGetException , openConnection , putDirectory , resourceExists , setInteractiveUserInfo , setKnownHostsProvider , supportsDirectoryCopy |
addSessionListener , addTransferListener , closeConnection , connect , connect , connect , connect , createParentDirectories , createZip , disconnect , fireGetCompleted , fireGetInitiated , fireGetStarted , firePutCompleted , firePutInitiated , firePutStarted , fireSessionConnectionRefused , fireSessionDebug , fireSessionDisconnected , fireSessionDisconnecting , fireSessionError , fireSessionLoggedIn , fireSessionLoggedOff , fireSessionOpened , fireSessionOpening , fireTransferDebug , fireTransferError , fireTransferProgress , getAuthenticationInfo , getFileList , getPath , getProxyInfo , getRepository , getSessionEventSupport , getTransfer , getTransfer , getTransferEventSupport , hasSessionListener , hasTransferListener , isInteractive , postProcessListeners , putDirectory , putTransfer , removeSessionListener , removeTransferListener , resourceExists , setInteractive , setSessionEventSupport , setTransferEventSupport , supportsDirectoryCopy , transfer , transfer , transfer |
readLine
protected String readLine(InputStream in)
throws IOException
sendEom
protected static void sendEom(OutputStream out)
throws IOException