add data for sftp
parent
33af25c128
commit
a3ba2b70e9
@ -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"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue