summaryrefslogtreecommitdiff
path: root/sftp.1
diff options
context:
space:
mode:
Diffstat (limited to 'sftp.1')
-rw-r--r--sftp.124
1 files changed, 19 insertions, 5 deletions
diff --git a/sftp.1 b/sftp.1
index 3b9d5124e..635c07b2e 100644
--- a/sftp.1
+++ b/sftp.1
@@ -1,4 +1,4 @@
1.\" $OpenBSD: sftp.1,v 1.6 2001/02/10 00:45:52 djm Exp $ 1.\" $OpenBSD: sftp.1,v 1.7 2001/02/14 09:46:03 djm Exp $
2.\" 2.\"
3.\" Copyright (c) 2001 Damien Miller. All rights reserved. 3.\" Copyright (c) 2001 Damien Miller. All rights reserved.
4.\" 4.\"
@@ -94,13 +94,20 @@ to
94must be a numeric UID. 94must be a numeric UID.
95.It Ic help 95.It Ic help
96Display help text. 96Display help text.
97.It Ic get Ar remote-path Op Ar local-path 97.It Xo Ic get
98.Op Ar flags
99.Ar remote-path
100.Op Ar local-path
101.Xc
98Retrieve the 102Retrieve the
99.Ar remote-path 103.Ar remote-path
100and store it on the local machine. 104and store it on the local machine.
101If the local 105If the local
102path name is not specified, it is given the same name it has on the 106path name is not specified, it is given the same name it has on the
103remote machine. 107remote machine. If the
108.Fl P
109flag is specified, then the file's full permission and access time are
110copied too.
104.It Ic lls Op Ar ls-options Op Ar path 111.It Ic lls Op Ar ls-options Op Ar path
105Display local directory listing of either 112Display local directory listing of either
106.Ar path 113.Ar path
@@ -124,11 +131,18 @@ Set local umask to
124.It Ic mkdir Ar path 131.It Ic mkdir Ar path
125Create remote directory specified by 132Create remote directory specified by
126.Ar path . 133.Ar path .
127.It Ic put Ar local-path Op Ar remote-path 134.It Xo Ic put
135.Op Ar flags
136.Ar local-path
137.Op Ar local-path
138.Xc
128Upload 139Upload
129.Ar local-path 140.Ar local-path
130and store it on the remote machine. If the remote path name is not specified, 141and store it on the remote machine. If the remote path name is not specified,
131it is given the same name it has on the local machine. 142it is given the same name it has on the local machine. If the
143.Fl P
144flag is specified, then the file's full permission and access time are
145copied too.
132.It Ic pwd 146.It Ic pwd
133Display remote working directory. 147Display remote working directory.
134.It Ic exit 148.It Ic exit