SshDownloader Monitor
The SshDownloader monitor is able to download a file or folder from a remote host over SSH SFTP. The monitor supports password, keyboard, and private key authentication methods. The monitor is also able to delete files it has downloaded.
Parameters
-
Host — Host to ssh too
-
Username — Username for ssh
-
Password — Password for ssh account (optional, default is "")
-
KeyPath — Path to ssh key (optional, default is "")
-
File — File to download (optional, default is "")
-
Folder — Folder to download (optional, default is "")
-
Remove — Remove the remote file after download (optional, defaults to true)
Examples
Example
<Agent name="LocalAgent"> <Monitor class="SshDownloader"> <Param name="Host" value="my.target.com" /> <Param name="Username" value="tester" /> <Param name="Password" value="Password!" /> <Param name="File" value="/var/cores/core" /> <Param name="Remove" value="false" /> </Monitor> </Agent>