A stupid little utility for downloading files off my seedbox.
Perl
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.pod
kungfu
kungfurc

README.pod

NAME

kungfu

SYNOPSIS

# in .kungfurc
host: "myserver.tld"
user: "gcj"
dir:  "/home/gcj/Downloads/"
port: 2222

# in terminal
$~ kungfu
0 ) photo1.jpg
1 ) taxes.ods
2 ) archlinux-2013.08.01-dual.iso

Enter the file you wish to download: 2

Executing: program ssh host myserver.tld, user root, command scp -v -r -f    -- /home/gcj/Downloads/archlinux-2013.08.01-dual.iso
OpenSSH_5.6p1, OpenSSL 0.9.8x 10 May 2012
debug1: Reading configuration data /etc/ssh_config
debug1: Applying options for *
debug1: Applying options for *
debug1: mux_client_request_session: master session id: 2
Sending file modes: C0644 551550976 archlinux-2013.08.01-dual.iso
Sink: C0644 551550976 archlinux-2013.08.01-dual.iso
debug1: mux_client_request_session: master session id: 2
Download completed successfully

DESCRIPTION

kungfu is a really simple wrapper around SSH for me to grab remote files from a server. The author's original use case was quickly grabbing files downloaded via BitTorrent from a seedbox.

DEPENDENCIES

Net::OpenSSH
File::HomeDir
YAML
Scalar::Util

AUTHOR

Gatlin Johnson http://niltag.net gatlin@niltag.net