sftp.0 (214979) | sftp.0 (218767) |
---|---|
1SFTP(1) OpenBSD Reference Manual SFTP(1) 2 3NAME 4 sftp - secure file transfer program 5 6SYNOPSIS 7 sftp [-1246Cpqrv] [-B buffer_size] [-b batchfile] [-c cipher] | 1SFTP(1) OpenBSD Reference Manual SFTP(1) 2 3NAME 4 sftp - secure file transfer program 5 6SYNOPSIS 7 sftp [-1246Cpqrv] [-B buffer_size] [-b batchfile] [-c cipher] |
8 [-D sftp_server_path] [-F ssh_config] [-i identity_file] | 8 [-D sftp_server_path] [-F ssh_config] [-i identity_file] [-l limit] |
9 [-o ssh_option] [-P port] [-R num_requests] [-S program] 10 [-s subsystem | sftp_server] host 11 sftp [user@]host[:file ...] 12 sftp [user@]host[:dir[/]] 13 sftp -b batchfile [user@]host 14 15DESCRIPTION 16 sftp is an interactive file transfer program, similar to ftp(1), which --- 28 unchanged lines hidden (view full) --- 45 46 -b batchfile 47 Batch mode reads a series of commands from an input batchfile 48 instead of stdin. Since it lacks user interaction it should be 49 used in conjunction with non-interactive authentication. A 50 batchfile of `-' may be used to indicate standard input. sftp 51 will abort if any of the following commands fail: get, put, 52 rename, ln, rm, mkdir, chdir, ls, lchdir, chmod, chown, chgrp, | 9 [-o ssh_option] [-P port] [-R num_requests] [-S program] 10 [-s subsystem | sftp_server] host 11 sftp [user@]host[:file ...] 12 sftp [user@]host[:dir[/]] 13 sftp -b batchfile [user@]host 14 15DESCRIPTION 16 sftp is an interactive file transfer program, similar to ftp(1), which --- 28 unchanged lines hidden (view full) --- 45 46 -b batchfile 47 Batch mode reads a series of commands from an input batchfile 48 instead of stdin. Since it lacks user interaction it should be 49 used in conjunction with non-interactive authentication. A 50 batchfile of `-' may be used to indicate standard input. sftp 51 will abort if any of the following commands fail: get, put, 52 rename, ln, rm, mkdir, chdir, ls, lchdir, chmod, chown, chgrp, |
53 lpwd, df, and lmkdir. Termination on error can be suppressed on 54 a command by command basis by prefixing the command with a `-' 55 character (for example, -rm /tmp/blah*). | 53 lpwd, df, symlink, and lmkdir. Termination on error can be 54 suppressed on a command by command basis by prefixing the command 55 with a `-' character (for example, -rm /tmp/blah*). |
56 57 -C Enables compression (via ssh's -C flag). 58 59 -c cipher 60 Selects the cipher to use for encrypting the data transfers. 61 This option is directly passed to ssh(1). 62 63 -D sftp_server_path --- 4 unchanged lines hidden (view full) --- 68 Specifies an alternative per-user configuration file for ssh(1). 69 This option is directly passed to ssh(1). 70 71 -i identity_file 72 Selects the file from which the identity (private key) for public 73 key authentication is read. This option is directly passed to 74 ssh(1). 75 | 56 57 -C Enables compression (via ssh's -C flag). 58 59 -c cipher 60 Selects the cipher to use for encrypting the data transfers. 61 This option is directly passed to ssh(1). 62 63 -D sftp_server_path --- 4 unchanged lines hidden (view full) --- 68 Specifies an alternative per-user configuration file for ssh(1). 69 This option is directly passed to ssh(1). 70 71 -i identity_file 72 Selects the file from which the identity (private key) for public 73 key authentication is read. This option is directly passed to 74 ssh(1). 75 |
76 -l limit 77 Limits the used bandwidth, specified in Kbit/s. 78 |
|
76 -o ssh_option 77 Can be used to pass options to ssh in the format used in 78 ssh_config(5). This is useful for specifying options for which 79 there is no separate sftp command-line flag. For example, to 80 specify an alternate port use: sftp -oPort=24. For full details 81 of the options listed below, and their possible values, see 82 ssh_config(5). 83 --- 16 unchanged lines hidden (view full) --- 100 HashKnownHosts 101 Host 102 HostbasedAuthentication 103 HostKeyAlgorithms 104 HostKeyAlias 105 HostName 106 IdentityFile 107 IdentitiesOnly | 79 -o ssh_option 80 Can be used to pass options to ssh in the format used in 81 ssh_config(5). This is useful for specifying options for which 82 there is no separate sftp command-line flag. For example, to 83 specify an alternate port use: sftp -oPort=24. For full details 84 of the options listed below, and their possible values, see 85 ssh_config(5). 86 --- 16 unchanged lines hidden (view full) --- 103 HashKnownHosts 104 Host 105 HostbasedAuthentication 106 HostKeyAlgorithms 107 HostKeyAlias 108 HostName 109 IdentityFile 110 IdentitiesOnly |
111 IPQoS |
|
108 KbdInteractiveDevices | 112 KbdInteractiveDevices |
113 KexAlgorithms |
|
109 LogLevel 110 MACs 111 NoHostAuthenticationForLocalhost 112 NumberOfPasswordPrompts 113 PasswordAuthentication 114 PKCS11Provider 115 Port 116 PreferredAuthentications --- 103 unchanged lines hidden (view full) --- 220 Display local directory listing of either path or current 221 directory if path is not specified. ls-options may contain any 222 flags supported by the local system's ls(1) command. path may 223 contain glob(3) characters and may match multiple files. 224 225 lmkdir path 226 Create local directory specified by path. 227 | 114 LogLevel 115 MACs 116 NoHostAuthenticationForLocalhost 117 NumberOfPasswordPrompts 118 PasswordAuthentication 119 PKCS11Provider 120 Port 121 PreferredAuthentications --- 103 unchanged lines hidden (view full) --- 225 Display local directory listing of either path or current 226 directory if path is not specified. ls-options may contain any 227 flags supported by the local system's ls(1) command. path may 228 contain glob(3) characters and may match multiple files. 229 230 lmkdir path 231 Create local directory specified by path. 232 |
228 ln oldpath newpath 229 Create a symbolic link from oldpath to newpath. | 233 ln [-s] oldpath newpath 234 Create a link from oldpath to newpath. If the -s flag is 235 specified the created link is a symbolic link, otherwise it is a 236 hard link. |
230 231 lpwd Print local working directory. 232 233 ls [-1afhlnrSt] [path] 234 Display a remote directory listing of either path or the current 235 directory if path is not specified. path may contain glob(3) 236 characters and may match multiple files. 237 --- 74 unchanged lines hidden (view full) --- 312 ! Escape to local shell. 313 314 ? Synonym for help. 315 316SEE ALSO 317 ftp(1), ls(1), scp(1), ssh(1), ssh-add(1), ssh-keygen(1), glob(3), 318 ssh_config(5), sftp-server(8), sshd(8) 319 | 237 238 lpwd Print local working directory. 239 240 ls [-1afhlnrSt] [path] 241 Display a remote directory listing of either path or the current 242 directory if path is not specified. path may contain glob(3) 243 characters and may match multiple files. 244 --- 74 unchanged lines hidden (view full) --- 319 ! Escape to local shell. 320 321 ? Synonym for help. 322 323SEE ALSO 324 ftp(1), ls(1), scp(1), ssh(1), ssh-add(1), ssh-keygen(1), glob(3), 325 ssh_config(5), sftp-server(8), sshd(8) 326 |
320 T. Ylonen, S. Lehtinen, SSH File Transfer Protocol, | 327 T. Ylonen and S. Lehtinen, SSH File Transfer Protocol, |
321 draft-ietf-secsh-filexfer-00.txt, January 2001, work in progress 322 material. 323 | 328 draft-ietf-secsh-filexfer-00.txt, January 2001, work in progress 329 material. 330 |
324OpenBSD 4.8 February 8, 2010 OpenBSD 4.8 | 331OpenBSD 4.8 December 4, 2010 OpenBSD 4.8 |