diff options
| author | SkyperTHC | 2026-03-03 06:28:55 +0000 |
|---|---|---|
| committer | SkyperTHC | 2026-03-03 06:28:55 +0000 |
| commit | 5d3573ef7a109ee70416fe94db098fe6a769a798 (patch) | |
| tree | dc2d5b294c9db8ab2db7433511f94e1c4bb8b698 /other/ssharp/sftp.0 | |
| parent | c6c59dc73cc4586357f93ab38ecf459e98675cc5 (diff) | |
packetstorm sync
Diffstat (limited to 'other/ssharp/sftp.0')
| -rw-r--r-- | other/ssharp/sftp.0 | 132 |
1 files changed, 132 insertions, 0 deletions
diff --git a/other/ssharp/sftp.0 b/other/ssharp/sftp.0 new file mode 100644 index 0000000..7d3bc90 --- /dev/null +++ b/other/ssharp/sftp.0 | |||
| @@ -0,0 +1,132 @@ | |||
| 1 | |||
| 2 | SFTP(1) System Reference Manual SFTP(1) | ||
| 3 | |||
| 4 | NAME | ||
| 5 | sftp - Secure file transfer program | ||
| 6 | |||
| 7 | SYNOPSIS | ||
| 8 | sftp [-vC] [-b batchfile] [-o ssh_option] [host] | ||
| 9 | sftp [[user@]host[:file [file]]] | ||
| 10 | sftp [[user@]host[:dir[/]]] | ||
| 11 | |||
| 12 | DESCRIPTION | ||
| 13 | sftp is an interactive file transfer program, similar to ftp(1), which | ||
| 14 | performs all operations over an encrypted ssh(1) transport. It may also | ||
| 15 | use many features of ssh, such as public key authentication and compresM-- | ||
| 16 | sion. sftp connects and logs into the specified hostname, then enters an | ||
| 17 | interactive command mode. | ||
| 18 | |||
| 19 | The second usage format will fetch files automaticly if a non-interactive | ||
| 20 | authentication is used, else it do so after an interactive authentication | ||
| 21 | is used. | ||
| 22 | |||
| 23 | The last usage format allows the sftp client to start in a remote direcM-- | ||
| 24 | tory. | ||
| 25 | |||
| 26 | The options are as follows: | ||
| 27 | |||
| 28 | -b batchfile | ||
| 29 | Batch mode reads a series of commands from an input batchfile inM-- | ||
| 30 | stead of stdin. Since it lacks user interaction it should be used | ||
| 31 | in conjunction with non-interactive authentication. sftp will | ||
| 32 | abort if any of the following commands fail: get, put, rename, | ||
| 33 | ln, rm and lmkdir. | ||
| 34 | |||
| 35 | -C Enables compression (via ssh's -C flag) | ||
| 36 | |||
| 37 | -o ssh_option | ||
| 38 | Specify an option to be directly passed to ssh(1). | ||
| 39 | |||
| 40 | -v Raise logging level. This option is also passed to ssh. | ||
| 41 | |||
| 42 | INTERACTIVE COMMANDS | ||
| 43 | Once in interactive mode, sftp understands a set of commands similar to | ||
| 44 | those of ftp(1). Commands are case insensitive and pathnames may be enM-- | ||
| 45 | closed in quotes if they contain spaces. | ||
| 46 | |||
| 47 | cd path | ||
| 48 | Change remote directory to path. | ||
| 49 | |||
| 50 | lcd path | ||
| 51 | Change local directory to path. | ||
| 52 | |||
| 53 | chgrp grp path | ||
| 54 | Change group of file path to grp. grp must be a numeric GID. | ||
| 55 | |||
| 56 | chmod mode path | ||
| 57 | Change permissions of file path to mode. | ||
| 58 | |||
| 59 | chown own path | ||
| 60 | Change owner of file path to own. own must be a numeric UID. | ||
| 61 | |||
| 62 | exit Quit sftp. | ||
| 63 | |||
| 64 | get [flags] remote-path [local-path] | ||
| 65 | Retrieve the remote-path and store it on the local machine. If | ||
| 66 | the local path name is not specified, it is given the same name | ||
| 67 | it has on the remote machine. If the -P flag is specified, then | ||
| 68 | the file's full permission and access time are copied too. | ||
| 69 | |||
| 70 | help Display help text. | ||
| 71 | |||
| 72 | lls [ls-options [path]] | ||
| 73 | Display local directory listing of either path or current direcM-- | ||
| 74 | tory if path is not specified. | ||
| 75 | |||
| 76 | lmkdir path | ||
| 77 | Create local directory specified by path. | ||
| 78 | |||
| 79 | ln oldpath newpath | ||
| 80 | Create a symbolic link from oldpath to newpath. | ||
| 81 | |||
| 82 | lpwd Print local working directory. | ||
| 83 | |||
| 84 | ls [path] | ||
| 85 | Display remote directory listing of either path or current direcM-- | ||
| 86 | tory if path is not specified. | ||
| 87 | |||
| 88 | lumask umask | ||
| 89 | Set local umask to umask. | ||
| 90 | |||
| 91 | mkdir path | ||
| 92 | Create remote directory specified by path. | ||
| 93 | |||
| 94 | put [flags] local-path [local-path] | ||
| 95 | Upload local-path and store it on the remote machine. If the reM-- | ||
| 96 | mote path name is not specified, it is given the same name it has | ||
| 97 | on the local machine. If the -P flag is specified, then the | ||
| 98 | file's full permission and access time are copied too. | ||
| 99 | |||
| 100 | pwd Display remote working directory. | ||
| 101 | |||
| 102 | quit Quit sftp. | ||
| 103 | |||
| 104 | rename oldpath newpath | ||
| 105 | Rename remote file from oldpath to newpath. | ||
| 106 | |||
| 107 | rmdir path | ||
| 108 | Remove remote directory specified by path. | ||
| 109 | |||
| 110 | rm path | ||
| 111 | Delete remote file specified by path. | ||
| 112 | |||
| 113 | symlink oldpath newpath | ||
| 114 | Create a symbolic link from oldpath to newpath. | ||
| 115 | |||
| 116 | ! command | ||
| 117 | Execute command in local shell. | ||
| 118 | |||
| 119 | ! Escape to local shell. | ||
| 120 | |||
| 121 | ? Synonym for help. | ||
| 122 | |||
| 123 | AUTHORS | ||
| 124 | Damien Miller <djm@mindrot.org> | ||
| 125 | |||
| 126 | SEE ALSO | ||
| 127 | scp(1), ssh(1), ssh-add(1), ssh-keygen(1), sftp-server(8), sshd(8) | ||
| 128 | |||
| 129 | T. Ylonen, and S. Lehtinen, SSH File Transfer Protocol, draft-ietf-secsh- | ||
| 130 | filexfer-00.txt, January 2001, work in progress material. | ||
| 131 | |||
| 132 | BSD Experimental February 4, 2001 2 | ||
