blob: bcd7fdf7895641750d180e6750df94ab8734d738 [file] [log] [blame]
Darren Tucker16e254d2004-12-06 22:46:45 +11001.\" $OpenBSD: sftp.1,v 1.60 2004/12/05 23:55:07 jaredy 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.
81In such cases, it is usually necessary to configure public key authentication
82to 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
164.It Host
165.It HostbasedAuthentication
166.It HostKeyAlgorithms
167.It HostKeyAlias
168.It HostName
169.It IdentityFile
Damien Millerbd394c32004-03-08 23:12:36 +1100170.It IdentitiesOnly
Darren Tucker636ca902004-11-05 20:22:00 +1100171.It KbdInteractiveDevices
Darren Tucker1f203942003-10-15 15:50:42 +1000172.It LogLevel
173.It MACs
174.It NoHostAuthenticationForLocalhost
175.It NumberOfPasswordPrompts
176.It PasswordAuthentication
177.It Port
178.It PreferredAuthentications
179.It Protocol
180.It ProxyCommand
181.It PubkeyAuthentication
Darren Tucker1f203942003-10-15 15:50:42 +1000182.It RhostsRSAAuthentication
183.It RSAAuthentication
Darren Tucker7a6c0662004-05-02 22:14:03 +1000184.It SendEnv
Damien Miller509b0102003-12-17 16:33:10 +1100185.It ServerAliveInterval
186.It ServerAliveCountMax
Darren Tucker1f203942003-10-15 15:50:42 +1000187.It SmartcardDevice
188.It StrictHostKeyChecking
Damien Miller12c150e2003-12-17 16:31:10 +1100189.It TCPKeepAlive
Darren Tucker1f203942003-10-15 15:50:42 +1000190.It UsePrivilegedPort
191.It User
192.It UserKnownHostsFile
193.It VerifyHostKeyDNS
Darren Tucker1f203942003-10-15 15:50:42 +1000194.El
195.It Fl P Ar sftp_server_path
Damien Miller50677922003-05-23 18:44:04 +1000196Connect directly to a local sftp server
Damien Miller81b6e782002-02-08 22:06:03 +1100197(rather than via
Darren Tucker0133a722004-12-06 22:44:32 +1100198.Xr ssh 1 ) .
Damien Miller81b6e782002-02-08 22:06:03 +1100199This option may be useful in debugging the client and server.
Damien Miller16a13332002-02-13 14:03:56 +1100200.It Fl R Ar num_requests
Damien Miller50677922003-05-23 18:44:04 +1000201Specify how many requests may be outstanding at any one time.
202Increasing this may slightly improve file transfer speed
203but will increase memory usage.
204The default is 16 outstanding requests.
Ben Lindstrom6a337632001-09-18 05:47:32 +0000205.It Fl S Ar program
206Name of the
207.Ar program
208to use for the encrypted connection.
209The program must understand
210.Xr ssh 1
211options.
Darren Tucker1f203942003-10-15 15:50:42 +1000212.It Fl s Ar subsystem | sftp_server
213Specifies the SSH2 subsystem or the path for an sftp server
214on the remote host.
215A path is useful for using
216.Nm
217over protocol version 1, or when the remote
218.Xr sshd 8
219does not have an sftp subsystem configured.
220.It Fl v
221Raise logging level.
222This option is also passed to ssh.
Damien Miller33804262001-02-04 23:20:18 +1100223.El
224.Sh INTERACTIVE COMMANDS
Damien Millerd7686fd2001-02-10 00:40:03 +1100225Once in interactive mode,
226.Nm
Ben Lindstrom24643222001-06-25 05:08:11 +0000227understands a set of commands similar to those of
Damien Miller33804262001-02-04 23:20:18 +1100228.Xr ftp 1 .
Darren Tucker16e254d2004-12-06 22:46:45 +1100229Commands are case insensitive.
230Pathnames that contain spaces must be enclosed in quotes.
231Any special characters contained within pathnames that are recognized by
232.Xr glob 3
233must be escaped with backslashes
234.Pq Sq \e .
235.Bl -tag -width Ds
Ben Lindstrom59e12492001-08-15 23:22:56 +0000236.It Ic bye
Damien Miller50677922003-05-23 18:44:04 +1000237Quit
238.Nm sftp .
Damien Millerd7686fd2001-02-10 00:40:03 +1100239.It Ic cd Ar path
Ben Lindstrom24643222001-06-25 05:08:11 +0000240Change remote directory to
Damien Millerd7686fd2001-02-10 00:40:03 +1100241.Ar path .
Damien Millerd7686fd2001-02-10 00:40:03 +1100242.It Ic chgrp Ar grp Ar path
Ben Lindstrom24643222001-06-25 05:08:11 +0000243Change group of file
Damien Millerd7686fd2001-02-10 00:40:03 +1100244.Ar path
245to
Damien Miller33804262001-02-04 23:20:18 +1100246.Ar grp .
Darren Tucker16e254d2004-12-06 22:46:45 +1100247.Ar path
248may contain
249.Xr glob 3
250characters and may match multiple files.
Damien Miller33804262001-02-04 23:20:18 +1100251.Ar grp
Damien Millerd7686fd2001-02-10 00:40:03 +1100252must be a numeric GID.
253.It Ic chmod Ar mode Ar path
Ben Lindstrom24643222001-06-25 05:08:11 +0000254Change permissions of file
Damien Millerd7686fd2001-02-10 00:40:03 +1100255.Ar path
256to
257.Ar mode .
Darren Tucker16e254d2004-12-06 22:46:45 +1100258.Ar path
259may contain
260.Xr glob 3
261characters and may match multiple files.
Damien Millerd7686fd2001-02-10 00:40:03 +1100262.It Ic chown Ar own Ar path
Ben Lindstrom24643222001-06-25 05:08:11 +0000263Change owner of file
Damien Millerd7686fd2001-02-10 00:40:03 +1100264.Ar path
265to
Damien Miller33804262001-02-04 23:20:18 +1100266.Ar own .
Darren Tucker16e254d2004-12-06 22:46:45 +1100267.Ar path
268may contain
269.Xr glob 3
270characters and may match multiple files.
Damien Miller33804262001-02-04 23:20:18 +1100271.Ar own
272must be a numeric UID.
Ben Lindstromc9b6eab2001-03-07 01:29:17 +0000273.It Ic exit
Damien Miller50677922003-05-23 18:44:04 +1000274Quit
275.Nm sftp .
Ben Lindstrom9d4f2c82001-02-15 03:22:45 +0000276.It Xo Ic get
Darren Tucker16e254d2004-12-06 22:46:45 +1100277.Op Fl P
Ben Lindstrom9d4f2c82001-02-15 03:22:45 +0000278.Ar remote-path
279.Op Ar local-path
280.Xc
Damien Miller33804262001-02-04 23:20:18 +1100281Retrieve the
Damien Millerd7686fd2001-02-10 00:40:03 +1100282.Ar remote-path
Damien Miller33804262001-02-04 23:20:18 +1100283and store it on the local machine.
284If the local
Ben Lindstrom24643222001-06-25 05:08:11 +0000285path name is not specified, it is given the same name it has on the
Damien Miller50677922003-05-23 18:44:04 +1000286remote machine.
Darren Tucker16e254d2004-12-06 22:46:45 +1100287.Ar remote-path
288may contain
289.Xr glob 3
290characters and may match multiple files.
291If it does and
292.Ar local-path
293is specified, then
294.Ar local-path
295must specify a directory.
Damien Miller50677922003-05-23 18:44:04 +1000296If the
Ben Lindstrom9d4f2c82001-02-15 03:22:45 +0000297.Fl P
Darren Tucker16e254d2004-12-06 22:46:45 +1100298flag is specified, then full file permissions and access times are
Ben Lindstrom9d4f2c82001-02-15 03:22:45 +0000299copied too.
Ben Lindstromc9b6eab2001-03-07 01:29:17 +0000300.It Ic help
301Display help text.
Darren Tucker1f203942003-10-15 15:50:42 +1000302.It Ic lcd Ar path
303Change local directory to
304.Ar path .
Damien Millerd7686fd2001-02-10 00:40:03 +1100305.It Ic lls Op Ar ls-options Op Ar path
Ben Lindstrom24643222001-06-25 05:08:11 +0000306Display local directory listing of either
Damien Miller33804262001-02-04 23:20:18 +1100307.Ar path
308or current directory if
309.Ar path
Damien Millerd7686fd2001-02-10 00:40:03 +1100310is not specified.
Darren Tucker16e254d2004-12-06 22:46:45 +1100311.Ar ls-options
312may contain any flags supported by the local system's
313.Xr ls 1
314command.
315.Ar path
316may contain
317.Xr glob 3
318characters and may match multiple files.
Damien Millerd7686fd2001-02-10 00:40:03 +1100319.It Ic lmkdir Ar path
Damien Miller33804262001-02-04 23:20:18 +1100320Create local directory specified by
Damien Millerd7686fd2001-02-10 00:40:03 +1100321.Ar path .
Damien Miller058316f2001-03-08 10:08:49 +1100322.It Ic ln Ar oldpath Ar newpath
Ben Lindstrom24643222001-06-25 05:08:11 +0000323Create a symbolic link from
Damien Miller058316f2001-03-08 10:08:49 +1100324.Ar oldpath
325to
326.Ar newpath .
Damien Millerd7686fd2001-02-10 00:40:03 +1100327.It Ic lpwd
328Print local working directory.
Damien Millere1a49812002-09-12 09:54:25 +1000329.It Xo Ic ls
Darren Tucker16e254d2004-12-06 22:46:45 +1100330.Op Fl 1aflnrSt
Damien Millere1a49812002-09-12 09:54:25 +1000331.Op Ar path
332.Xc
Darren Tucker16e254d2004-12-06 22:46:45 +1100333Display a remote directory listing of either
Damien Miller33804262001-02-04 23:20:18 +1100334.Ar path
Darren Tucker16e254d2004-12-06 22:46:45 +1100335or the current directory if
Damien Miller33804262001-02-04 23:20:18 +1100336.Ar path
Damien Miller50677922003-05-23 18:44:04 +1000337is not specified.
Darren Tucker16e254d2004-12-06 22:46:45 +1100338.Ar path
339may contain
340.Xr glob 3
341characters and may match multiple files.
Darren Tucker15ca6e82004-06-22 13:08:21 +1000342.Pp
Darren Tucker16e254d2004-12-06 22:46:45 +1100343The following flags are recognized and alter the behaviour of
Darren Tucker15ca6e82004-06-22 13:08:21 +1000344.Ic ls
Darren Tucker16e254d2004-12-06 22:46:45 +1100345accordingly:
346.Bl -tag -width Ds
347.It Fl 1
348Produce single columnar output.
349.It Fl a
350List files beginning with a dot
351.Pq Sq \&. .
352.It Fl f
353Do not sort the listing.
354The default sort order is lexicographical.
355.It Fl l
356Display additional details including permissions
357and ownership information.
358.It Fl n
359Produce a long listing with user and group information presented
360numerically.
361.It Fl r
362Reverse the sort order of the listing.
363.It Fl S
364Sort the listing by file size.
365.It Fl t
366Sort the listing by last modification time.
367.El
Damien Millerd7686fd2001-02-10 00:40:03 +1100368.It Ic lumask Ar umask
Ben Lindstrom24643222001-06-25 05:08:11 +0000369Set local umask to
Damien Millerd7686fd2001-02-10 00:40:03 +1100370.Ar umask .
371.It Ic mkdir Ar path
372Create remote directory specified by
373.Ar path .
Damien Miller62d57f62003-01-10 21:43:24 +1100374.It Ic progress
375Toggle display of progress meter.
Ben Lindstrom9d4f2c82001-02-15 03:22:45 +0000376.It Xo Ic put
Darren Tucker16e254d2004-12-06 22:46:45 +1100377.Op Fl P
Ben Lindstrom9d4f2c82001-02-15 03:22:45 +0000378.Ar local-path
Ben Lindstromd5767812002-12-23 02:23:37 +0000379.Op Ar remote-path
Ben Lindstrom9d4f2c82001-02-15 03:22:45 +0000380.Xc
Damien Miller33804262001-02-04 23:20:18 +1100381Upload
Damien Millerd7686fd2001-02-10 00:40:03 +1100382.Ar local-path
Damien Miller50677922003-05-23 18:44:04 +1000383and store it on the remote machine.
384If the remote path name is not specified, it is given the same name it has
385on the local machine.
Darren Tucker16e254d2004-12-06 22:46:45 +1100386.Ar local-path
387may contain
388.Xr glob 3
389characters and may match multiple files.
390If it does and
391.Ar remote-path
392is specified, then
393.Ar remote-path
394must specify a directory.
Damien Miller50677922003-05-23 18:44:04 +1000395If the
Ben Lindstrom9d4f2c82001-02-15 03:22:45 +0000396.Fl P
397flag is specified, then the file's full permission and access time are
398copied too.
Damien Millerd7686fd2001-02-10 00:40:03 +1100399.It Ic pwd
400Display remote working directory.
Damien Millerd7686fd2001-02-10 00:40:03 +1100401.It Ic quit
Damien Miller50677922003-05-23 18:44:04 +1000402Quit
403.Nm sftp .
Damien Millerd7686fd2001-02-10 00:40:03 +1100404.It Ic rename Ar oldpath Ar newpath
Damien Miller33804262001-02-04 23:20:18 +1100405Rename remote file from
406.Ar oldpath
407to
Damien Millerd7686fd2001-02-10 00:40:03 +1100408.Ar newpath .
Damien Millerd7686fd2001-02-10 00:40:03 +1100409.It Ic rm Ar path
Damien Miller33804262001-02-04 23:20:18 +1100410Delete remote file specified by
Damien Millerd7686fd2001-02-10 00:40:03 +1100411.Ar path .
Darren Tucker1f203942003-10-15 15:50:42 +1000412.It Ic rmdir Ar path
413Remove remote directory specified by
414.Ar path .
Damien Miller058316f2001-03-08 10:08:49 +1100415.It Ic symlink Ar oldpath Ar newpath
Ben Lindstrom24643222001-06-25 05:08:11 +0000416Create a symbolic link from
Damien Miller058316f2001-03-08 10:08:49 +1100417.Ar oldpath
418to
419.Ar newpath .
Damien Miller63421802003-01-08 14:05:23 +1100420.It Ic version
421Display the
422.Nm
423protocol version.
Damien Millerc2b98272003-09-03 12:13:30 +1000424.It Ic \&! Ar command
Ben Lindstrom24643222001-06-25 05:08:11 +0000425Execute
Damien Miller33804262001-02-04 23:20:18 +1100426.Ar command
Damien Millerd7686fd2001-02-10 00:40:03 +1100427in local shell.
Damien Millerc2b98272003-09-03 12:13:30 +1000428.It Ic \&!
Damien Millerd7686fd2001-02-10 00:40:03 +1100429Escape to local shell.
Damien Millerc2b98272003-09-03 12:13:30 +1000430.It Ic \&?
Damien Millerd7686fd2001-02-10 00:40:03 +1100431Synonym for help.
432.El
Damien Miller33804262001-02-04 23:20:18 +1100433.Sh SEE ALSO
Darren Tucker1f203942003-10-15 15:50:42 +1000434.Xr ftp 1 ,
Darren Tucker16e254d2004-12-06 22:46:45 +1100435.Xr ls 1 ,
Ben Lindstrom160ec622001-04-22 17:17:46 +0000436.Xr scp 1 ,
Damien Miller33804262001-02-04 23:20:18 +1100437.Xr ssh 1 ,
438.Xr ssh-add 1 ,
439.Xr ssh-keygen 1 ,
Darren Tucker16e254d2004-12-06 22:46:45 +1100440.Xr glob 3 ,
Ben Lindstrom3072aae2002-06-21 01:02:39 +0000441.Xr ssh_config 5 ,
Ben Lindstrom160ec622001-04-22 17:17:46 +0000442.Xr sftp-server 8 ,
443.Xr sshd 8
444.Rs
Ben Lindstrom90fd0602001-06-25 04:45:33 +0000445.%A T. Ylonen
446.%A S. Lehtinen
Ben Lindstrom160ec622001-04-22 17:17:46 +0000447.%T "SSH File Transfer Protocol"
448.%N draft-ietf-secsh-filexfer-00.txt
449.%D January 2001
450.%O work in progress material
451.Re