From a3ba2b70e93d88f0d505b9e105510a2887edb777 Mon Sep 17 00:00:00 2001 From: t0thkr1s Date: Fri, 10 Jan 2020 13:03:10 +0100 Subject: [PATCH] add data for sftp --- data/sftp.json | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 data/sftp.json diff --git a/data/sftp.json b/data/sftp.json new file mode 100644 index 0000000..e499f44 --- /dev/null +++ b/data/sftp.json @@ -0,0 +1,26 @@ +{ + "functions": { + "shell": [ + { + "code": "sftp [user@host]\n!/bin/sh\n" + } + ], + "file-upload": [ + { + "description": "Send local file to a SSH server.", + "code": "sftp [user@host]\nput [source_file] [destination_file]\n" + } + ], + "file-download": [ + { + "description": "Fetch a remote file from a SSH server.", + "code": "sftp [user@host]\nget [source_file] [destination_file]\n" + } + ], + "sudo": [ + { + "code": "sudo sftp [user@host]\n!/bin/sh\n" + } + ] + } +} \ No newline at end of file