logo

sshpaste

Simple paste script to a server having SSH+HTTP daemons
commit: 603108f7b665f60f8d5211da55d57d1b7a51b790
parent: b30f60178bac8d353360850ed2001f10963eac94
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Mon, 30 Apr 2018 01:37:54 +0200

README: Add Usage

Diffstat:

MREADME8++++++++
1 file changed, 8 insertions(+), 0 deletions(-)

diff --git a/README b/README @@ -2,8 +2,16 @@ A mostly POSIX shell script inspired by wgetpaste but for pushing to your own server. +## Usage Please modify target_ssh and target_www to the appropriate servers and paths. +``` +sshpaste: [options] [file(s)] + Options: + -x read input from clipboard (requires xclip) + -c COMMAND paste COMMAND and the output of COMMAND +``` + ## Dependencies * POSIX system * scp(1): tested with OpenSSH