You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
561 B
JSON
26 lines
561 B
JSON
{
|
|
"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"
|
|
}
|
|
]
|
|
}
|
|
} |