summaryrefslogtreecommitdiff
path: root/sftp.0
diff options
context:
space:
mode:
Diffstat (limited to 'sftp.0')
-rw-r--r--sftp.032
1 files changed, 16 insertions, 16 deletions
diff --git a/sftp.0 b/sftp.0
index b72ea4700..c3ae0096f 100644
--- a/sftp.0
+++ b/sftp.0
@@ -1,4 +1,4 @@
1SFTP(1) BSD General Commands Manual SFTP(1) 1SFTP(1) OpenBSD Reference Manual SFTP(1)
2 2
3NAME 3NAME
4 sftp - secure file transfer program 4 sftp - secure file transfer program
@@ -15,8 +15,8 @@ DESCRIPTION
15 sftp is an interactive file transfer program, similar to ftp(1), which 15 sftp is an interactive file transfer program, similar to ftp(1), which
16 performs all operations over an encrypted ssh(1) transport. It may also 16 performs all operations over an encrypted ssh(1) transport. It may also
17 use many features of ssh, such as public key authentication and compres- 17 use many features of ssh, such as public key authentication and compres-
18 sion. sftp connects and logs into the specified host, then enters an 18 sion. sftp connects and logs into the specified host, then enters an in-
19 interactive command mode. 19 teractive command mode.
20 20
21 The second usage format will retrieve files automatically if a non-inter- 21 The second usage format will retrieve files automatically if a non-inter-
22 active authentication method is used; otherwise it will do so after suc- 22 active authentication method is used; otherwise it will do so after suc-
@@ -31,13 +31,13 @@ DESCRIPTION
31 sshd(8) and ssh-keygen(1) for details). The options are as follows: 31 sshd(8) and ssh-keygen(1) for details). The options are as follows:
32 32
33 -b batchfile 33 -b batchfile
34 Batch mode reads a series of commands from an input batchfile 34 Batch mode reads a series of commands from an input batchfile in-
35 instead of stdin. Since it lacks user interaction it should be 35 stead of stdin. Since it lacks user interaction it should be
36 used in conjunction with non-interactive authentication. sftp 36 used in conjunction with non-interactive authentication. sftp
37 will abort if any of the following commands fail: get, put, 37 will abort if any of the following commands fail: get, put,
38 rename, ln, rm, mkdir, chdir, ls, lchdir, chmod, chown, chgrp, 38 rename, ln, rm, mkdir, chdir, ls, lchdir, chmod, chown, chgrp,
39 lpwd and lmkdir. Termination on error can be suppressed on a 39 lpwd and lmkdir. Termination on error can be suppressed on a
40 command by command basis by prefixing the command with a M-bM-^@M-^X-M-bM-^@M-^Y 40 command by command basis by prefixing the command with a `-'
41 character (for example, -rm /tmp/blah*). 41 character (for example, -rm /tmp/blah*).
42 42
43 -o ssh_option 43 -o ssh_option
@@ -59,7 +59,7 @@ DESCRIPTION
59 files. Larger buffers require fewer round trips at the cost of 59 files. Larger buffers require fewer round trips at the cost of
60 higher memory consumption. The default is 32768 bytes. 60 higher memory consumption. The default is 32768 bytes.
61 61
62 -C Enables compression (via sshM-bM-^@M-^Ys -C flag). 62 -C Enables compression (via ssh's -C flag).
63 63
64 -F ssh_config 64 -F ssh_config
65 Specifies an alternative per-user configuration file for ssh(1). 65 Specifies an alternative per-user configuration file for ssh(1).
@@ -82,8 +82,8 @@ DESCRIPTION
82 82
83INTERACTIVE COMMANDS 83INTERACTIVE COMMANDS
84 Once in interactive mode, sftp understands a set of commands similar to 84 Once in interactive mode, sftp understands a set of commands similar to
85 those of ftp(1). Commands are case insensitive and pathnames may be 85 those of ftp(1). Commands are case insensitive and pathnames may be en-
86 enclosed in quotes if they contain spaces. 86 closed in quotes if they contain spaces.
87 87
88 bye Quit sftp. 88 bye Quit sftp.
89 89
@@ -108,7 +108,7 @@ INTERACTIVE COMMANDS
108 Retrieve the remote-path and store it on the local machine. If 108 Retrieve the remote-path and store it on the local machine. If
109 the local path name is not specified, it is given the same name 109 the local path name is not specified, it is given the same name
110 it has on the remote machine. If the -P flag is specified, then 110 it has on the remote machine. If the -P flag is specified, then
111 the fileM-bM-^@M-^Ys full permission and access time are copied too. 111 the file's full permission and access time are copied too.
112 112
113 help Display help text. 113 help Display help text.
114 114
@@ -140,10 +140,10 @@ INTERACTIVE COMMANDS
140 Toggle display of progress meter. 140 Toggle display of progress meter.
141 141
142 put [flags] local-path [remote-path] 142 put [flags] local-path [remote-path]
143 Upload local-path and store it on the remote machine. If the 143 Upload local-path and store it on the remote machine. If the re-
144 remote path name is not specified, it is given the same name it 144 mote path name is not specified, it is given the same name it has
145 has on the local machine. If the -P flag is specified, then the 145 on the local machine. If the -P flag is specified, then the
146 fileM-bM-^@M-^Ys full permission and access time are copied too. 146 file's full permission and access time are copied too.
147 147
148 pwd Display remote working directory. 148 pwd Display remote working directory.
149 149
@@ -175,7 +175,7 @@ SEE ALSO
175 scp(1), ssh(1), ssh-add(1), ssh-keygen(1), ssh_config(5), sftp-server(8), 175 scp(1), ssh(1), ssh-add(1), ssh-keygen(1), ssh_config(5), sftp-server(8),
176 sshd(8) 176 sshd(8)
177 177
178 T. Ylonen and S. Lehtinen, SSH File Transfer Protocol, draft-ietf-secsh- 178 T. Ylonen, and S. Lehtinen, SSH File Transfer Protocol, draft-ietf-secsh-
179 filexfer-00.txt, January 2001, work in progress material. 179 filexfer-00.txt, January 2001, work in progress material.
180 180
181BSD February 4, 2001 BSD 181OpenBSD 3.4 February 4, 2001 3