blob: 1f517a40abd2dedc2133480cd1785d03a670be28 [file] [log] [blame]
Darren Tuckeraa4d5ed2007-06-05 18:27:13 +10001.\" $OpenBSD: sftp.1,v 1.64 2007/05/31 19:20:16 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.\"
Darren Tuckeraa4d5ed2007-06-05 18:27:13 +100025.Dd $Mdocdate: May 31 2007 $
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 Tucker62388b22006-01-20 11:31:47 +1100183.It RekeyLimit
Darren Tucker1f203942003-10-15 15:50:42 +1000184.It RhostsRSAAuthentication
185.It RSAAuthentication
Darren Tucker7a6c0662004-05-02 22:14:03 +1000186.It SendEnv
Damien Miller509b0102003-12-17 16:33:10 +1100187.It ServerAliveInterval
188.It ServerAliveCountMax
Darren Tucker1f203942003-10-15 15:50:42 +1000189.It SmartcardDevice
190.It StrictHostKeyChecking
Damien Miller12c150e2003-12-17 16:31:10 +1100191.It TCPKeepAlive
Darren Tucker1f203942003-10-15 15:50:42 +1000192.It UsePrivilegedPort
193.It User
194.It UserKnownHostsFile
195.It VerifyHostKeyDNS
Darren Tucker1f203942003-10-15 15:50:42 +1000196.El
197.It Fl P Ar sftp_server_path
Damien Miller50677922003-05-23 18:44:04 +1000198Connect directly to a local sftp server
Damien Miller81b6e782002-02-08 22:06:03 +1100199(rather than via
Darren Tucker0133a722004-12-06 22:44:32 +1100200.Xr ssh 1 ) .
Damien Miller81b6e782002-02-08 22:06:03 +1100201This option may be useful in debugging the client and server.
Damien Miller16a13332002-02-13 14:03:56 +1100202.It Fl R Ar num_requests
Damien Miller50677922003-05-23 18:44:04 +1000203Specify how many requests may be outstanding at any one time.
204Increasing this may slightly improve file transfer speed
205but will increase memory usage.
206The default is 16 outstanding requests.
Ben Lindstrom6a337632001-09-18 05:47:32 +0000207.It Fl S Ar program
208Name of the
209.Ar program
210to use for the encrypted connection.
211The program must understand
212.Xr ssh 1
213options.
Darren Tucker1f203942003-10-15 15:50:42 +1000214.It Fl s Ar subsystem | sftp_server
215Specifies the SSH2 subsystem or the path for an sftp server
216on the remote host.
217A path is useful for using
218.Nm
219over protocol version 1, or when the remote
220.Xr sshd 8
221does not have an sftp subsystem configured.
222.It Fl v
223Raise logging level.
224This option is also passed to ssh.
Damien Miller33804262001-02-04 23:20:18 +1100225.El
226.Sh INTERACTIVE COMMANDS
Damien Millerd7686fd2001-02-10 00:40:03 +1100227Once in interactive mode,
228.Nm
Ben Lindstrom24643222001-06-25 05:08:11 +0000229understands a set of commands similar to those of
Damien Miller33804262001-02-04 23:20:18 +1100230.Xr ftp 1 .
Darren Tucker16e254d2004-12-06 22:46:45 +1100231Commands are case insensitive.
232Pathnames that contain spaces must be enclosed in quotes.
233Any special characters contained within pathnames that are recognized by
234.Xr glob 3
235must be escaped with backslashes
236.Pq Sq \e .
237.Bl -tag -width Ds
Ben Lindstrom59e12492001-08-15 23:22:56 +0000238.It Ic bye
Damien Miller50677922003-05-23 18:44:04 +1000239Quit
240.Nm sftp .
Damien Millerd7686fd2001-02-10 00:40:03 +1100241.It Ic cd Ar path
Ben Lindstrom24643222001-06-25 05:08:11 +0000242Change remote directory to
Damien Millerd7686fd2001-02-10 00:40:03 +1100243.Ar path .
Damien Millerd7686fd2001-02-10 00:40:03 +1100244.It Ic chgrp Ar grp Ar path
Ben Lindstrom24643222001-06-25 05:08:11 +0000245Change group of file
Damien Millerd7686fd2001-02-10 00:40:03 +1100246.Ar path
247to
Damien Miller33804262001-02-04 23:20:18 +1100248.Ar grp .
Darren Tucker16e254d2004-12-06 22:46:45 +1100249.Ar path
250may contain
251.Xr glob 3
252characters and may match multiple files.
Damien Miller33804262001-02-04 23:20:18 +1100253.Ar grp
Damien Millerd7686fd2001-02-10 00:40:03 +1100254must be a numeric GID.
255.It Ic chmod Ar mode Ar path
Ben Lindstrom24643222001-06-25 05:08:11 +0000256Change permissions of file
Damien Millerd7686fd2001-02-10 00:40:03 +1100257.Ar path
258to
259.Ar mode .
Darren Tucker16e254d2004-12-06 22:46:45 +1100260.Ar path
261may contain
262.Xr glob 3
263characters and may match multiple files.
Damien Millerd7686fd2001-02-10 00:40:03 +1100264.It Ic chown Ar own Ar path
Ben Lindstrom24643222001-06-25 05:08:11 +0000265Change owner of file
Damien Millerd7686fd2001-02-10 00:40:03 +1100266.Ar path
267to
Damien Miller33804262001-02-04 23:20:18 +1100268.Ar own .
Darren Tucker16e254d2004-12-06 22:46:45 +1100269.Ar path
270may contain
271.Xr glob 3
272characters and may match multiple files.
Damien Miller33804262001-02-04 23:20:18 +1100273.Ar own
274must be a numeric UID.
Ben Lindstromc9b6eab2001-03-07 01:29:17 +0000275.It Ic exit
Damien Miller50677922003-05-23 18:44:04 +1000276Quit
277.Nm sftp .
Ben Lindstrom9d4f2c82001-02-15 03:22:45 +0000278.It Xo Ic get
Darren Tucker16e254d2004-12-06 22:46:45 +1100279.Op Fl P
Ben Lindstrom9d4f2c82001-02-15 03:22:45 +0000280.Ar remote-path
281.Op Ar local-path
282.Xc
Damien Miller33804262001-02-04 23:20:18 +1100283Retrieve the
Damien Millerd7686fd2001-02-10 00:40:03 +1100284.Ar remote-path
Damien Miller33804262001-02-04 23:20:18 +1100285and store it on the local machine.
286If the local
Ben Lindstrom24643222001-06-25 05:08:11 +0000287path name is not specified, it is given the same name it has on the
Damien Miller50677922003-05-23 18:44:04 +1000288remote machine.
Darren Tucker16e254d2004-12-06 22:46:45 +1100289.Ar remote-path
290may contain
291.Xr glob 3
292characters and may match multiple files.
293If it does and
294.Ar local-path
295is specified, then
296.Ar local-path
297must specify a directory.
Damien Miller50677922003-05-23 18:44:04 +1000298If the
Ben Lindstrom9d4f2c82001-02-15 03:22:45 +0000299.Fl P
Darren Tucker16e254d2004-12-06 22:46:45 +1100300flag is specified, then full file permissions and access times are
Ben Lindstrom9d4f2c82001-02-15 03:22:45 +0000301copied too.
Ben Lindstromc9b6eab2001-03-07 01:29:17 +0000302.It Ic help
303Display help text.
Darren Tucker1f203942003-10-15 15:50:42 +1000304.It Ic lcd Ar path
305Change local directory to
306.Ar path .
Damien Millerd7686fd2001-02-10 00:40:03 +1100307.It Ic lls Op Ar ls-options Op Ar path
Ben Lindstrom24643222001-06-25 05:08:11 +0000308Display local directory listing of either
Damien Miller33804262001-02-04 23:20:18 +1100309.Ar path
310or current directory if
311.Ar path
Damien Millerd7686fd2001-02-10 00:40:03 +1100312is not specified.
Darren Tucker16e254d2004-12-06 22:46:45 +1100313.Ar ls-options
314may contain any flags supported by the local system's
315.Xr ls 1
316command.
317.Ar path
318may contain
319.Xr glob 3
320characters and may match multiple files.
Damien Millerd7686fd2001-02-10 00:40:03 +1100321.It Ic lmkdir Ar path
Damien Miller33804262001-02-04 23:20:18 +1100322Create local directory specified by
Damien Millerd7686fd2001-02-10 00:40:03 +1100323.Ar path .
Damien Miller058316f2001-03-08 10:08:49 +1100324.It Ic ln Ar oldpath Ar newpath
Ben Lindstrom24643222001-06-25 05:08:11 +0000325Create a symbolic link from
Damien Miller058316f2001-03-08 10:08:49 +1100326.Ar oldpath
327to
328.Ar newpath .
Damien Millerd7686fd2001-02-10 00:40:03 +1100329.It Ic lpwd
330Print local working directory.
Damien Millere1a49812002-09-12 09:54:25 +1000331.It Xo Ic ls
Darren Tucker16e254d2004-12-06 22:46:45 +1100332.Op Fl 1aflnrSt
Damien Millere1a49812002-09-12 09:54:25 +1000333.Op Ar path
334.Xc
Darren Tucker16e254d2004-12-06 22:46:45 +1100335Display a remote directory listing of either
Damien Miller33804262001-02-04 23:20:18 +1100336.Ar path
Darren Tucker16e254d2004-12-06 22:46:45 +1100337or the current directory if
Damien Miller33804262001-02-04 23:20:18 +1100338.Ar path
Damien Miller50677922003-05-23 18:44:04 +1000339is not specified.
Darren Tucker16e254d2004-12-06 22:46:45 +1100340.Ar path
341may contain
342.Xr glob 3
343characters and may match multiple files.
Darren Tucker15ca6e82004-06-22 13:08:21 +1000344.Pp
Darren Tucker16e254d2004-12-06 22:46:45 +1100345The following flags are recognized and alter the behaviour of
Darren Tucker15ca6e82004-06-22 13:08:21 +1000346.Ic ls
Darren Tucker16e254d2004-12-06 22:46:45 +1100347accordingly:
348.Bl -tag -width Ds
349.It Fl 1
350Produce single columnar output.
351.It Fl a
352List files beginning with a dot
353.Pq Sq \&. .
354.It Fl f
355Do not sort the listing.
356The default sort order is lexicographical.
357.It Fl l
358Display additional details including permissions
359and ownership information.
360.It Fl n
361Produce a long listing with user and group information presented
362numerically.
363.It Fl r
364Reverse the sort order of the listing.
365.It Fl S
366Sort the listing by file size.
367.It Fl t
368Sort the listing by last modification time.
369.El
Damien Millerd7686fd2001-02-10 00:40:03 +1100370.It Ic lumask Ar umask
Ben Lindstrom24643222001-06-25 05:08:11 +0000371Set local umask to
Damien Millerd7686fd2001-02-10 00:40:03 +1100372.Ar umask .
373.It Ic mkdir Ar path
374Create remote directory specified by
375.Ar path .
Damien Miller62d57f62003-01-10 21:43:24 +1100376.It Ic progress
377Toggle display of progress meter.
Ben Lindstrom9d4f2c82001-02-15 03:22:45 +0000378.It Xo Ic put
Darren Tucker16e254d2004-12-06 22:46:45 +1100379.Op Fl P
Ben Lindstrom9d4f2c82001-02-15 03:22:45 +0000380.Ar local-path
Ben Lindstromd5767812002-12-23 02:23:37 +0000381.Op Ar remote-path
Ben Lindstrom9d4f2c82001-02-15 03:22:45 +0000382.Xc
Damien Miller33804262001-02-04 23:20:18 +1100383Upload
Damien Millerd7686fd2001-02-10 00:40:03 +1100384.Ar local-path
Damien Miller50677922003-05-23 18:44:04 +1000385and store it on the remote machine.
386If the remote path name is not specified, it is given the same name it has
387on the local machine.
Darren Tucker16e254d2004-12-06 22:46:45 +1100388.Ar local-path
389may contain
390.Xr glob 3
391characters and may match multiple files.
392If it does and
393.Ar remote-path
394is specified, then
395.Ar remote-path
396must specify a directory.
Damien Miller50677922003-05-23 18:44:04 +1000397If the
Ben Lindstrom9d4f2c82001-02-15 03:22:45 +0000398.Fl P
399flag is specified, then the file's full permission and access time are
400copied too.
Damien Millerd7686fd2001-02-10 00:40:03 +1100401.It Ic pwd
402Display remote working directory.
Damien Millerd7686fd2001-02-10 00:40:03 +1100403.It Ic quit
Damien Miller50677922003-05-23 18:44:04 +1000404Quit
405.Nm sftp .
Damien Millerd7686fd2001-02-10 00:40:03 +1100406.It Ic rename Ar oldpath Ar newpath
Damien Miller33804262001-02-04 23:20:18 +1100407Rename remote file from
408.Ar oldpath
409to
Damien Millerd7686fd2001-02-10 00:40:03 +1100410.Ar newpath .
Damien Millerd7686fd2001-02-10 00:40:03 +1100411.It Ic rm Ar path
Damien Miller33804262001-02-04 23:20:18 +1100412Delete remote file specified by
Damien Millerd7686fd2001-02-10 00:40:03 +1100413.Ar path .
Darren Tucker1f203942003-10-15 15:50:42 +1000414.It Ic rmdir Ar path
415Remove remote directory specified by
416.Ar path .
Damien Miller058316f2001-03-08 10:08:49 +1100417.It Ic symlink Ar oldpath Ar newpath
Ben Lindstrom24643222001-06-25 05:08:11 +0000418Create a symbolic link from
Damien Miller058316f2001-03-08 10:08:49 +1100419.Ar oldpath
420to
421.Ar newpath .
Damien Miller63421802003-01-08 14:05:23 +1100422.It Ic version
423Display the
424.Nm
425protocol version.
Damien Millerc2b98272003-09-03 12:13:30 +1000426.It Ic \&! Ar command
Ben Lindstrom24643222001-06-25 05:08:11 +0000427Execute
Damien Miller33804262001-02-04 23:20:18 +1100428.Ar command
Damien Millerd7686fd2001-02-10 00:40:03 +1100429in local shell.
Damien Millerc2b98272003-09-03 12:13:30 +1000430.It Ic \&!
Damien Millerd7686fd2001-02-10 00:40:03 +1100431Escape to local shell.
Damien Millerc2b98272003-09-03 12:13:30 +1000432.It Ic \&?
Damien Millerd7686fd2001-02-10 00:40:03 +1100433Synonym for help.
434.El
Damien Miller33804262001-02-04 23:20:18 +1100435.Sh SEE ALSO
Darren Tucker1f203942003-10-15 15:50:42 +1000436.Xr ftp 1 ,
Darren Tucker16e254d2004-12-06 22:46:45 +1100437.Xr ls 1 ,
Ben Lindstrom160ec622001-04-22 17:17:46 +0000438.Xr scp 1 ,
Damien Miller33804262001-02-04 23:20:18 +1100439.Xr ssh 1 ,
440.Xr ssh-add 1 ,
441.Xr ssh-keygen 1 ,
Darren Tucker16e254d2004-12-06 22:46:45 +1100442.Xr glob 3 ,
Ben Lindstrom3072aae2002-06-21 01:02:39 +0000443.Xr ssh_config 5 ,
Ben Lindstrom160ec622001-04-22 17:17:46 +0000444.Xr sftp-server 8 ,
445.Xr sshd 8
446.Rs
Ben Lindstrom90fd0602001-06-25 04:45:33 +0000447.%A T. Ylonen
448.%A S. Lehtinen
Ben Lindstrom160ec622001-04-22 17:17:46 +0000449.%T "SSH File Transfer Protocol"
450.%N draft-ietf-secsh-filexfer-00.txt
451.%D January 2001
452.%O work in progress material
453.Re