blob: 6b500596c2fe3f0a47cc45fdd00b776a6c79498a [file] [log] [blame]
Damien Miller134eb812005-12-31 16:22:55 +11001.\" $OpenBSD: sftp.1,v 1.62 2005/12/30 16:59:00 jmc Exp $
Damien Miller33804262001-02-04 23:20:18 +11002.\"
Ben Lindstrom92a2e382001-03-05 06:59:27 +00003.\" Copyright (c) 2001 Damien Miller. All rights reserved.
Damien Miller33804262001-02-04 23:20:18 +11004.\"
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\" 1. Redistributions of source code must retain the above copyright
9.\" notice, this list of conditions and the following disclaimer.
10.\" 2. Redistributions in binary form must reproduce the above copyright
11.\" notice, this list of conditions and the following disclaimer in the
12.\" documentation and/or other materials provided with the distribution.
13.\"
14.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
15.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
16.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
17.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
18.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
19.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
20.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
21.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
23.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24.\"
Ben Lindstrom8ffeacf2001-04-10 02:43:57 +000025.Dd February 4, 2001
Damien Miller33804262001-02-04 23:20:18 +110026.Dt SFTP 1
27.Os
28.Sh NAME
29.Nm sftp
Damien Miller50677922003-05-23 18:44:04 +100030.Nd secure file transfer program
Damien Miller33804262001-02-04 23:20:18 +110031.Sh SYNOPSIS
Damien Millerd6ead282003-05-14 19:30:38 +100032.Nm sftp
Damien Miller495dca32003-04-01 21:42:14 +100033.Bk -words
Darren Tucker1f203942003-10-15 15:50:42 +100034.Op Fl 1Cv
Damien Miller81b6e782002-02-08 22:06:03 +110035.Op Fl B Ar buffer_size
Darren Tucker1f203942003-10-15 15:50:42 +100036.Op Fl b Ar batchfile
Damien Miller81b6e782002-02-08 22:06:03 +110037.Op Fl F Ar ssh_config
Darren Tucker1f203942003-10-15 15:50:42 +100038.Op Fl o Ar ssh_option
39.Op Fl P Ar sftp_server_path
Damien Miller16a13332002-02-13 14:03:56 +110040.Op Fl R Ar num_requests
Ben Lindstrom6a337632001-09-18 05:47:32 +000041.Op Fl S Ar program
Darren Tucker1f203942003-10-15 15:50:42 +100042.Op Fl s Ar subsystem | sftp_server
Ben Lindstrom6a337632001-09-18 05:47:32 +000043.Ar host
Damien Miller495dca32003-04-01 21:42:14 +100044.Ek
Damien Millerd6ead282003-05-14 19:30:38 +100045.Nm sftp
Damien Millerc2b98272003-09-03 12:13:30 +100046.Oo Oo Ar user Ns @ Oc Ns
Damien Miller495dca32003-04-01 21:42:14 +100047.Ar host Ns Oo : Ns Ar file Oo
48.Ar file Oc Oc Oc
Damien Millerd6ead282003-05-14 19:30:38 +100049.Nm sftp
Damien Millerc2b98272003-09-03 12:13:30 +100050.Oo Oo Ar user Ns @ Oc Ns
Damien Miller495dca32003-04-01 21:42:14 +100051.Ar host Ns Oo : Ns Ar dir Ns
52.Oo Ar / Oc Oc Oc
Damien Millerd6ead282003-05-14 19:30:38 +100053.Nm sftp
Damien Millerfb7508e2003-05-14 13:47:07 +100054.Fl b Ar batchfile
Damien Millerc2b98272003-09-03 12:13:30 +100055.Oo Ar user Ns @ Oc Ns Ar host
Damien Miller33804262001-02-04 23:20:18 +110056.Sh DESCRIPTION
57.Nm
58is an interactive file transfer program, similar to
59.Xr ftp 1 ,
60which performs all operations over an encrypted
61.Xr ssh 1
62transport.
63It may also use many features of ssh, such as public key authentication and
64compression.
65.Nm
66connects and logs into the specified
Ben Lindstromaafff9c2001-05-06 03:01:02 +000067.Ar host ,
Damien Miller33804262001-02-04 23:20:18 +110068then enters an interactive command mode.
69.Pp
Ben Lindstrom24643222001-06-25 05:08:11 +000070The second usage format will retrieve files automatically if a non-interactive
Ben Lindstromaafff9c2001-05-06 03:01:02 +000071authentication method is used; otherwise it will do so after
72successful interactive authentication.
Ben Lindstrom63667f62001-04-13 00:00:14 +000073.Pp
Darren Tucker16e254d2004-12-06 22:46:45 +110074The third usage format allows
75.Nm
76to start in a remote directory.
Ben Lindstrom63667f62001-04-13 00:00:14 +000077.Pp
Damien Miller50677922003-05-23 18:44:04 +100078The final usage format allows for automated sessions using the
Damien Millerfb7508e2003-05-14 13:47:07 +100079.Fl b
Damien Miller50677922003-05-23 18:44:04 +100080option.
Damien Miller134eb812005-12-31 16:22:55 +110081In such cases, it is necessary to configure non-interactive authentication
Damien Miller50677922003-05-23 18:44:04 +100082to obviate the need to enter a password at connection time (see
Damien Millerfb7508e2003-05-14 13:47:07 +100083.Xr sshd 8
Damien Millerd6ead282003-05-14 19:30:38 +100084and
Damien Millerfb7508e2003-05-14 13:47:07 +100085.Xr ssh-keygen 1
Damien Miller50677922003-05-23 18:44:04 +100086for details).
Damien Miller33804262001-02-04 23:20:18 +110087The options are as follows:
88.Bl -tag -width Ds
Darren Tucker1f203942003-10-15 15:50:42 +100089.It Fl 1
90Specify the use of protocol version 1.
91.It Fl B Ar buffer_size
92Specify the size of the buffer that
93.Nm
94uses when transferring files.
95Larger buffers require fewer round trips at the cost of higher
96memory consumption.
97The default is 32768 bytes.
Ben Lindstrom562c26b2001-03-07 01:26:48 +000098.It Fl b Ar batchfile
99Batch mode reads a series of commands from an input
Ben Lindstrom283cb822001-03-09 00:09:02 +0000100.Ar batchfile
Ben Lindstrom562c26b2001-03-07 01:26:48 +0000101instead of
Ben Lindstrom283cb822001-03-09 00:09:02 +0000102.Em stdin .
103Since it lacks user interaction it should be used in conjunction with
Damien Miller86a39682004-01-21 11:00:04 +1100104non-interactive authentication.
Damien Miller44f75c12004-01-21 10:58:47 +1100105A
Damien Miller86a39682004-01-21 11:00:04 +1100106.Ar batchfile
107of
108.Sq \-
Damien Miller44f75c12004-01-21 10:58:47 +1100109may be used to indicate standard input.
Ben Lindstrom283cb822001-03-09 00:09:02 +0000110.Nm
Ben Lindstrom24643222001-06-25 05:08:11 +0000111will abort if any of the following
112commands fail:
Ben Lindstrom3612bda2002-03-05 01:26:38 +0000113.Ic get , put , rename , ln ,
Damien Miller495dca32003-04-01 21:42:14 +1000114.Ic rm , mkdir , chdir , ls ,
Damien Miller956f3fb2003-01-10 21:40:00 +1100115.Ic lchdir , chmod , chown , chgrp , lpwd
Ben Lindstrom562c26b2001-03-07 01:26:48 +0000116and
Ben Lindstrom283cb822001-03-09 00:09:02 +0000117.Ic lmkdir .
Damien Miller495dca32003-04-01 21:42:14 +1000118Termination on error can be suppressed on a command by command basis by
119prefixing the command with a
Damien Miller86a39682004-01-21 11:00:04 +1100120.Sq \-
Damien Miller50677922003-05-23 18:44:04 +1000121character (for example,
122.Ic -rm /tmp/blah* ) .
Darren Tucker1f203942003-10-15 15:50:42 +1000123.It Fl C
124Enables compression (via ssh's
125.Fl C
126flag).
127.It Fl F Ar ssh_config
128Specifies an alternative
129per-user configuration file for
130.Xr ssh 1 .
131This option is directly passed to
132.Xr ssh 1 .
Damien Miller33804262001-02-04 23:20:18 +1100133.It Fl o Ar ssh_option
Ben Lindstrom14c62eb2001-08-15 23:25:46 +0000134Can be used to pass options to
135.Nm ssh
Ben Lindstrom3072aae2002-06-21 01:02:39 +0000136in the format used in
137.Xr ssh_config 5 .
138This is useful for specifying options
Ben Lindstrom14c62eb2001-08-15 23:25:46 +0000139for which there is no separate
140.Nm sftp
Damien Miller50677922003-05-23 18:44:04 +1000141command-line flag.
142For example, to specify an alternate port use:
Ben Lindstrom6a337632001-09-18 05:47:32 +0000143.Ic sftp -oPort=24 .
Darren Tucker1f203942003-10-15 15:50:42 +1000144For full details of the options listed below, and their possible values, see
145.Xr ssh_config 5 .
146.Pp
147.Bl -tag -width Ds -offset indent -compact
148.It AddressFamily
149.It BatchMode
150.It BindAddress
151.It ChallengeResponseAuthentication
152.It CheckHostIP
153.It Cipher
154.It Ciphers
Darren Tucker1f203942003-10-15 15:50:42 +1000155.It Compression
156.It CompressionLevel
157.It ConnectionAttempts
Darren Tucker3d5cbb72004-05-03 09:13:15 +1000158.It ConnectTimeout
Damien Miller0e220db2004-06-15 10:34:08 +1000159.It ControlMaster
160.It ControlPath
Darren Tucker1f203942003-10-15 15:50:42 +1000161.It GlobalKnownHostsFile
162.It GSSAPIAuthentication
163.It GSSAPIDelegateCredentials
Damien Miller27e9c512005-03-02 12:04:16 +1100164.It HashKnownHosts
Darren Tucker1f203942003-10-15 15:50:42 +1000165.It Host
166.It HostbasedAuthentication
167.It HostKeyAlgorithms
168.It HostKeyAlias
169.It HostName
170.It IdentityFile
Damien Millerbd394c32004-03-08 23:12:36 +1100171.It IdentitiesOnly
Darren Tucker636ca902004-11-05 20:22:00 +1100172.It KbdInteractiveDevices
Darren Tucker1f203942003-10-15 15:50:42 +1000173.It LogLevel
174.It MACs
175.It NoHostAuthenticationForLocalhost
176.It NumberOfPasswordPrompts
177.It PasswordAuthentication
178.It Port
179.It PreferredAuthentications
180.It Protocol
181.It ProxyCommand
182.It PubkeyAuthentication
Darren Tucker1f203942003-10-15 15:50:42 +1000183.It RhostsRSAAuthentication
184.It RSAAuthentication
Darren Tucker7a6c0662004-05-02 22:14:03 +1000185.It SendEnv
Damien Miller509b0102003-12-17 16:33:10 +1100186.It ServerAliveInterval
187.It ServerAliveCountMax
Darren Tucker1f203942003-10-15 15:50:42 +1000188.It SmartcardDevice
189.It StrictHostKeyChecking
Damien Miller12c150e2003-12-17 16:31:10 +1100190.It TCPKeepAlive
Darren Tucker1f203942003-10-15 15:50:42 +1000191.It UsePrivilegedPort
192.It User
193.It UserKnownHostsFile
194.It VerifyHostKeyDNS
Darren Tucker1f203942003-10-15 15:50:42 +1000195.El
196.It Fl P Ar sftp_server_path
Damien Miller50677922003-05-23 18:44:04 +1000197Connect directly to a local sftp server
Damien Miller81b6e782002-02-08 22:06:03 +1100198(rather than via
Darren Tucker0133a722004-12-06 22:44:32 +1100199.Xr ssh 1 ) .
Damien Miller81b6e782002-02-08 22:06:03 +1100200This option may be useful in debugging the client and server.
Damien Miller16a13332002-02-13 14:03:56 +1100201.It Fl R Ar num_requests
Damien Miller50677922003-05-23 18:44:04 +1000202Specify how many requests may be outstanding at any one time.
203Increasing this may slightly improve file transfer speed
204but will increase memory usage.
205The default is 16 outstanding requests.
Ben Lindstrom6a337632001-09-18 05:47:32 +0000206.It Fl S Ar program
207Name of the
208.Ar program
209to use for the encrypted connection.
210The program must understand
211.Xr ssh 1
212options.
Darren Tucker1f203942003-10-15 15:50:42 +1000213.It Fl s Ar subsystem | sftp_server
214Specifies the SSH2 subsystem or the path for an sftp server
215on the remote host.
216A path is useful for using
217.Nm
218over protocol version 1, or when the remote
219.Xr sshd 8
220does not have an sftp subsystem configured.
221.It Fl v
222Raise logging level.
223This option is also passed to ssh.
Damien Miller33804262001-02-04 23:20:18 +1100224.El
225.Sh INTERACTIVE COMMANDS
Damien Millerd7686fd2001-02-10 00:40:03 +1100226Once in interactive mode,
227.Nm
Ben Lindstrom24643222001-06-25 05:08:11 +0000228understands a set of commands similar to those of
Damien Miller33804262001-02-04 23:20:18 +1100229.Xr ftp 1 .
Darren Tucker16e254d2004-12-06 22:46:45 +1100230Commands are case insensitive.
231Pathnames that contain spaces must be enclosed in quotes.
232Any special characters contained within pathnames that are recognized by
233.Xr glob 3
234must be escaped with backslashes
235.Pq Sq \e .
236.Bl -tag -width Ds
Ben Lindstrom59e12492001-08-15 23:22:56 +0000237.It Ic bye
Damien Miller50677922003-05-23 18:44:04 +1000238Quit
239.Nm sftp .
Damien Millerd7686fd2001-02-10 00:40:03 +1100240.It Ic cd Ar path
Ben Lindstrom24643222001-06-25 05:08:11 +0000241Change remote directory to
Damien Millerd7686fd2001-02-10 00:40:03 +1100242.Ar path .
Damien Millerd7686fd2001-02-10 00:40:03 +1100243.It Ic chgrp Ar grp Ar path
Ben Lindstrom24643222001-06-25 05:08:11 +0000244Change group of file
Damien Millerd7686fd2001-02-10 00:40:03 +1100245.Ar path
246to
Damien Miller33804262001-02-04 23:20:18 +1100247.Ar grp .
Darren Tucker16e254d2004-12-06 22:46:45 +1100248.Ar path
249may contain
250.Xr glob 3
251characters and may match multiple files.
Damien Miller33804262001-02-04 23:20:18 +1100252.Ar grp
Damien Millerd7686fd2001-02-10 00:40:03 +1100253must be a numeric GID.
254.It Ic chmod Ar mode Ar path
Ben Lindstrom24643222001-06-25 05:08:11 +0000255Change permissions of file
Damien Millerd7686fd2001-02-10 00:40:03 +1100256.Ar path
257to
258.Ar mode .
Darren Tucker16e254d2004-12-06 22:46:45 +1100259.Ar path
260may contain
261.Xr glob 3
262characters and may match multiple files.
Damien Millerd7686fd2001-02-10 00:40:03 +1100263.It Ic chown Ar own Ar path
Ben Lindstrom24643222001-06-25 05:08:11 +0000264Change owner of file
Damien Millerd7686fd2001-02-10 00:40:03 +1100265.Ar path
266to
Damien Miller33804262001-02-04 23:20:18 +1100267.Ar own .
Darren Tucker16e254d2004-12-06 22:46:45 +1100268.Ar path
269may contain
270.Xr glob 3
271characters and may match multiple files.
Damien Miller33804262001-02-04 23:20:18 +1100272.Ar own
273must be a numeric UID.
Ben Lindstromc9b6eab2001-03-07 01:29:17 +0000274.It Ic exit
Damien Miller50677922003-05-23 18:44:04 +1000275Quit
276.Nm sftp .
Ben Lindstrom9d4f2c82001-02-15 03:22:45 +0000277.It Xo Ic get
Darren Tucker16e254d2004-12-06 22:46:45 +1100278.Op Fl P
Ben Lindstrom9d4f2c82001-02-15 03:22:45 +0000279.Ar remote-path
280.Op Ar local-path
281.Xc
Damien Miller33804262001-02-04 23:20:18 +1100282Retrieve the
Damien Millerd7686fd2001-02-10 00:40:03 +1100283.Ar remote-path
Damien Miller33804262001-02-04 23:20:18 +1100284and store it on the local machine.
285If the local
Ben Lindstrom24643222001-06-25 05:08:11 +0000286path name is not specified, it is given the same name it has on the
Damien Miller50677922003-05-23 18:44:04 +1000287remote machine.
Darren Tucker16e254d2004-12-06 22:46:45 +1100288.Ar remote-path
289may contain
290.Xr glob 3
291characters and may match multiple files.
292If it does and
293.Ar local-path
294is specified, then
295.Ar local-path
296must specify a directory.
Damien Miller50677922003-05-23 18:44:04 +1000297If the
Ben Lindstrom9d4f2c82001-02-15 03:22:45 +0000298.Fl P
Darren Tucker16e254d2004-12-06 22:46:45 +1100299flag is specified, then full file permissions and access times are
Ben Lindstrom9d4f2c82001-02-15 03:22:45 +0000300copied too.
Ben Lindstromc9b6eab2001-03-07 01:29:17 +0000301.It Ic help
302Display help text.
Darren Tucker1f203942003-10-15 15:50:42 +1000303.It Ic lcd Ar path
304Change local directory to
305.Ar path .
Damien Millerd7686fd2001-02-10 00:40:03 +1100306.It Ic lls Op Ar ls-options Op Ar path
Ben Lindstrom24643222001-06-25 05:08:11 +0000307Display local directory listing of either
Damien Miller33804262001-02-04 23:20:18 +1100308.Ar path
309or current directory if
310.Ar path
Damien Millerd7686fd2001-02-10 00:40:03 +1100311is not specified.
Darren Tucker16e254d2004-12-06 22:46:45 +1100312.Ar ls-options
313may contain any flags supported by the local system's
314.Xr ls 1
315command.
316.Ar path
317may contain
318.Xr glob 3
319characters and may match multiple files.
Damien Millerd7686fd2001-02-10 00:40:03 +1100320.It Ic lmkdir Ar path
Damien Miller33804262001-02-04 23:20:18 +1100321Create local directory specified by
Damien Millerd7686fd2001-02-10 00:40:03 +1100322.Ar path .
Damien Miller058316f2001-03-08 10:08:49 +1100323.It Ic ln Ar oldpath Ar newpath
Ben Lindstrom24643222001-06-25 05:08:11 +0000324Create a symbolic link from
Damien Miller058316f2001-03-08 10:08:49 +1100325.Ar oldpath
326to
327.Ar newpath .
Damien Millerd7686fd2001-02-10 00:40:03 +1100328.It Ic lpwd
329Print local working directory.
Damien Millere1a49812002-09-12 09:54:25 +1000330.It Xo Ic ls
Darren Tucker16e254d2004-12-06 22:46:45 +1100331.Op Fl 1aflnrSt
Damien Millere1a49812002-09-12 09:54:25 +1000332.Op Ar path
333.Xc
Darren Tucker16e254d2004-12-06 22:46:45 +1100334Display a remote directory listing of either
Damien Miller33804262001-02-04 23:20:18 +1100335.Ar path
Darren Tucker16e254d2004-12-06 22:46:45 +1100336or the current directory if
Damien Miller33804262001-02-04 23:20:18 +1100337.Ar path
Damien Miller50677922003-05-23 18:44:04 +1000338is not specified.
Darren Tucker16e254d2004-12-06 22:46:45 +1100339.Ar path
340may contain
341.Xr glob 3
342characters and may match multiple files.
Darren Tucker15ca6e82004-06-22 13:08:21 +1000343.Pp
Darren Tucker16e254d2004-12-06 22:46:45 +1100344The following flags are recognized and alter the behaviour of
Darren Tucker15ca6e82004-06-22 13:08:21 +1000345.Ic ls
Darren Tucker16e254d2004-12-06 22:46:45 +1100346accordingly:
347.Bl -tag -width Ds
348.It Fl 1
349Produce single columnar output.
350.It Fl a
351List files beginning with a dot
352.Pq Sq \&. .
353.It Fl f
354Do not sort the listing.
355The default sort order is lexicographical.
356.It Fl l
357Display additional details including permissions
358and ownership information.
359.It Fl n
360Produce a long listing with user and group information presented
361numerically.
362.It Fl r
363Reverse the sort order of the listing.
364.It Fl S
365Sort the listing by file size.
366.It Fl t
367Sort the listing by last modification time.
368.El
Damien Millerd7686fd2001-02-10 00:40:03 +1100369.It Ic lumask Ar umask
Ben Lindstrom24643222001-06-25 05:08:11 +0000370Set local umask to
Damien Millerd7686fd2001-02-10 00:40:03 +1100371.Ar umask .
372.It Ic mkdir Ar path
373Create remote directory specified by
374.Ar path .
Damien Miller62d57f62003-01-10 21:43:24 +1100375.It Ic progress
376Toggle display of progress meter.
Ben Lindstrom9d4f2c82001-02-15 03:22:45 +0000377.It Xo Ic put
Darren Tucker16e254d2004-12-06 22:46:45 +1100378.Op Fl P
Ben Lindstrom9d4f2c82001-02-15 03:22:45 +0000379.Ar local-path
Ben Lindstromd5767812002-12-23 02:23:37 +0000380.Op Ar remote-path
Ben Lindstrom9d4f2c82001-02-15 03:22:45 +0000381.Xc
Damien Miller33804262001-02-04 23:20:18 +1100382Upload
Damien Millerd7686fd2001-02-10 00:40:03 +1100383.Ar local-path
Damien Miller50677922003-05-23 18:44:04 +1000384and store it on the remote machine.
385If the remote path name is not specified, it is given the same name it has
386on the local machine.
Darren Tucker16e254d2004-12-06 22:46:45 +1100387.Ar local-path
388may contain
389.Xr glob 3
390characters and may match multiple files.
391If it does and
392.Ar remote-path
393is specified, then
394.Ar remote-path
395must specify a directory.
Damien Miller50677922003-05-23 18:44:04 +1000396If the
Ben Lindstrom9d4f2c82001-02-15 03:22:45 +0000397.Fl P
398flag is specified, then the file's full permission and access time are
399copied too.
Damien Millerd7686fd2001-02-10 00:40:03 +1100400.It Ic pwd
401Display remote working directory.
Damien Millerd7686fd2001-02-10 00:40:03 +1100402.It Ic quit
Damien Miller50677922003-05-23 18:44:04 +1000403Quit
404.Nm sftp .
Damien Millerd7686fd2001-02-10 00:40:03 +1100405.It Ic rename Ar oldpath Ar newpath
Damien Miller33804262001-02-04 23:20:18 +1100406Rename remote file from
407.Ar oldpath
408to
Damien Millerd7686fd2001-02-10 00:40:03 +1100409.Ar newpath .
Damien Millerd7686fd2001-02-10 00:40:03 +1100410.It Ic rm Ar path
Damien Miller33804262001-02-04 23:20:18 +1100411Delete remote file specified by
Damien Millerd7686fd2001-02-10 00:40:03 +1100412.Ar path .
Darren Tucker1f203942003-10-15 15:50:42 +1000413.It Ic rmdir Ar path
414Remove remote directory specified by
415.Ar path .
Damien Miller058316f2001-03-08 10:08:49 +1100416.It Ic symlink Ar oldpath Ar newpath
Ben Lindstrom24643222001-06-25 05:08:11 +0000417Create a symbolic link from
Damien Miller058316f2001-03-08 10:08:49 +1100418.Ar oldpath
419to
420.Ar newpath .
Damien Miller63421802003-01-08 14:05:23 +1100421.It Ic version
422Display the
423.Nm
424protocol version.
Damien Millerc2b98272003-09-03 12:13:30 +1000425.It Ic \&! Ar command
Ben Lindstrom24643222001-06-25 05:08:11 +0000426Execute
Damien Miller33804262001-02-04 23:20:18 +1100427.Ar command
Damien Millerd7686fd2001-02-10 00:40:03 +1100428in local shell.
Damien Millerc2b98272003-09-03 12:13:30 +1000429.It Ic \&!
Damien Millerd7686fd2001-02-10 00:40:03 +1100430Escape to local shell.
Damien Millerc2b98272003-09-03 12:13:30 +1000431.It Ic \&?
Damien Millerd7686fd2001-02-10 00:40:03 +1100432Synonym for help.
433.El
Damien Miller33804262001-02-04 23:20:18 +1100434.Sh SEE ALSO
Darren Tucker1f203942003-10-15 15:50:42 +1000435.Xr ftp 1 ,
Darren Tucker16e254d2004-12-06 22:46:45 +1100436.Xr ls 1 ,
Ben Lindstrom160ec622001-04-22 17:17:46 +0000437.Xr scp 1 ,
Damien Miller33804262001-02-04 23:20:18 +1100438.Xr ssh 1 ,
439.Xr ssh-add 1 ,
440.Xr ssh-keygen 1 ,
Darren Tucker16e254d2004-12-06 22:46:45 +1100441.Xr glob 3 ,
Ben Lindstrom3072aae2002-06-21 01:02:39 +0000442.Xr ssh_config 5 ,
Ben Lindstrom160ec622001-04-22 17:17:46 +0000443.Xr sftp-server 8 ,
444.Xr sshd 8
445.Rs
Ben Lindstrom90fd0602001-06-25 04:45:33 +0000446.%A T. Ylonen
447.%A S. Lehtinen
Ben Lindstrom160ec622001-04-22 17:17:46 +0000448.%T "SSH File Transfer Protocol"
449.%N draft-ietf-secsh-filexfer-00.txt
450.%D January 2001
451.%O work in progress material
452.Re