Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/crypto/dist/ssh OpenSSH 2.5.0 as of 2001/2/17
details: https://anonhg.NetBSD.org/src/rev/625cbb9898ac
branches: trunk
changeset: 503858:625cbb9898ac
user: itojun <itojun%NetBSD.org@localhost>
date: Fri Feb 16 15:41:22 2001 +0000
description:
OpenSSH 2.5.0 as of 2001/2/17
diffstat:
crypto/dist/ssh/channels.h | 3 ++-
crypto/dist/ssh/sftp.1 | 24 +++++++++++++++++++-----
crypto/dist/ssh/sshconnect.h | 4 +++-
3 files changed, 24 insertions(+), 7 deletions(-)
diffs (89 lines):
diff -r c6eec5d7723b -r 625cbb9898ac crypto/dist/ssh/channels.h
--- a/crypto/dist/ssh/channels.h Fri Feb 16 15:34:39 2001 +0000
+++ b/crypto/dist/ssh/channels.h Fri Feb 16 15:41:22 2001 +0000
@@ -32,7 +32,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-/* RCSID("$OpenBSD: channels.h,v 1.26 2001/01/31 20:37:23 markus Exp $"); */
+/* RCSID("$OpenBSD: channels.h,v 1.27 2001/02/15 23:19:59 markus Exp $"); */
#ifndef CHANNELS_H
#define CHANNELS_H
@@ -75,6 +75,7 @@
int wfd; /* write fd */
int efd; /* extended fd */
int sock; /* sock fd */
+ int isatty; /* rfd is a tty */
Buffer input; /* data read from socket, to be sent over
* encrypted connection */
Buffer output; /* data received over encrypted connection for
diff -r c6eec5d7723b -r 625cbb9898ac crypto/dist/ssh/sftp.1
--- a/crypto/dist/ssh/sftp.1 Fri Feb 16 15:34:39 2001 +0000
+++ b/crypto/dist/ssh/sftp.1 Fri Feb 16 15:41:22 2001 +0000
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sftp.1,v 1.6 2001/02/10 00:45:52 djm Exp $
+.\" $OpenBSD: sftp.1,v 1.7 2001/02/14 09:46:03 djm Exp $
.\"
.\" Copyright (c) 2001 Damien Miller. All rights reserved.
.\"
@@ -94,13 +94,20 @@
must be a numeric UID.
.It Ic help
Display help text.
-.It Ic get Ar remote-path Op Ar local-path
+.It Xo Ic get
+.Op Ar flags
+.Ar remote-path
+.Op Ar local-path
+.Xc
Retrieve the
.Ar remote-path
and store it on the local machine.
If the local
path name is not specified, it is given the same name it has on the
-remote machine.
+remote machine. If the
+.Fl P
+flag is specified, then the file's full permission and access time are
+copied too.
.It Ic lls Op Ar ls-options Op Ar path
Display local directory listing of either
.Ar path
@@ -124,11 +131,18 @@
.It Ic mkdir Ar path
Create remote directory specified by
.Ar path .
-.It Ic put Ar local-path Op Ar remote-path
+.It Xo Ic put
+.Op Ar flags
+.Ar local-path
+.Op Ar local-path
+.Xc
Upload
.Ar local-path
and store it on the remote machine. If the remote path name is not specified,
-it is given the same name it has on the local machine.
+it is given the same name it has on the local machine. If the
+.Fl P
+flag is specified, then the file's full permission and access time are
+copied too.
.It Ic pwd
Display remote working directory.
.It Ic exit
diff -r c6eec5d7723b -r 625cbb9898ac crypto/dist/ssh/sshconnect.h
--- a/crypto/dist/ssh/sshconnect.h Fri Feb 16 15:34:39 2001 +0000
+++ b/crypto/dist/ssh/sshconnect.h Fri Feb 16 15:41:22 2001 +0000
@@ -1,4 +1,4 @@
-/* $OpenBSD: sshconnect.h,v 1.5 2001/01/29 01:58:18 niklas Exp $ */
+/* $OpenBSD: sshconnect.h,v 1.6 2001/02/15 23:19:59 markus Exp $ */
/*
* Copyright (c) 2000 Markus Friedl. All rights reserved.
@@ -66,4 +66,6 @@
void ssh_kex2(char *host, struct sockaddr *hostaddr);
void ssh_userauth2(const char *server_user, char *host);
+void ssh_put_password(char *password);
+
#endif
Home |
Main Index |
Thread Index |
Old Index