diff options
Diffstat (limited to 'sftp.1')
-rw-r--r-- | sftp.1 | 18 |
1 files changed, 14 insertions, 4 deletions
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: sftp.1,v 1.11 2001/03/06 15:10:42 deraadt Exp $ | 1 | .\" $OpenBSD: sftp.1,v 1.12 2001/03/07 10:11:23 djm Exp $ |
2 | .\" | 2 | .\" |
3 | .\" Copyright (c) 2001 Damien Miller. All rights reserved. | 3 | .\" Copyright (c) 2001 Damien Miller. All rights reserved. |
4 | .\" | 4 | .\" |
@@ -58,7 +58,7 @@ instead of | |||
58 | Since it lacks user interaction it should be used in conjuction with a | 58 | Since it lacks user interaction it should be used in conjuction with a |
59 | non-interactive authentication. Sftp will abort if any of the following | 59 | non-interactive authentication. Sftp will abort if any of the following |
60 | commands fail: | 60 | commands fail: |
61 | .Pa get, put, rename, rm, mkdir, chdir, lchdir | 61 | .Pa get, put, rename, ln, rm, mkdir, chdir, lchdir |
62 | and | 62 | and |
63 | .Pa lmkdir. | 63 | .Pa lmkdir. |
64 | .It Fl C | 64 | .It Fl C |
@@ -131,6 +131,11 @@ is not specified. | |||
131 | .It Ic lmkdir Ar path | 131 | .It Ic lmkdir Ar path |
132 | Create local directory specified by | 132 | Create local directory specified by |
133 | .Ar path . | 133 | .Ar path . |
134 | .It Ic ln Ar oldpath Ar newpath | ||
135 | Create a symbolic link from | ||
136 | .Ar oldpath | ||
137 | to | ||
138 | .Ar newpath . | ||
134 | .It Ic lpwd | 139 | .It Ic lpwd |
135 | Print local working directory. | 140 | Print local working directory. |
136 | .It Ic ls Op Ar path | 141 | .It Ic ls Op Ar path |
@@ -152,8 +157,8 @@ Create remote directory specified by | |||
152 | .Xc | 157 | .Xc |
153 | Upload | 158 | Upload |
154 | .Ar local-path | 159 | .Ar local-path |
155 | and store it on the remote machine. If the remote path name is not specified, | 160 | and store it on the remote machine. If the remote path name is not |
156 | it is given the same name it has on the local machine. If the | 161 | specified, it is given the same name it has on the local machine. If the |
157 | .Fl P | 162 | .Fl P |
158 | flag is specified, then the file's full permission and access time are | 163 | flag is specified, then the file's full permission and access time are |
159 | copied too. | 164 | copied too. |
@@ -172,6 +177,11 @@ Remove remote directory specified by | |||
172 | .It Ic rm Ar path | 177 | .It Ic rm Ar path |
173 | Delete remote file specified by | 178 | Delete remote file specified by |
174 | .Ar path . | 179 | .Ar path . |
180 | .It Ic symlink Ar oldpath Ar newpath | ||
181 | Create a symbolic link from | ||
182 | .Ar oldpath | ||
183 | to | ||
184 | .Ar newpath . | ||
175 | .It Ic ! Ar command | 185 | .It Ic ! Ar command |
176 | Execute | 186 | Execute |
177 | .Ar command | 187 | .Ar command |