diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2002-01-29 23:50:38 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2002-01-29 23:50:38 +0000 |
commit | cf644549feec1fc49b15055f91888a9f4360982d (patch) | |
tree | d2b8a9ae0165c28801b97380e67bbf65240654b4 /usr.bin/ssh | |
parent | ffeb093c5ce4a60c22019e8ae4bb75fadf7d0e7e (diff) |
mention exit status; ok stevesk@
Diffstat (limited to 'usr.bin/ssh')
-rw-r--r-- | usr.bin/ssh/scp.1 | 5 | ||||
-rw-r--r-- | usr.bin/ssh/ssh.1 | 10 |
2 files changed, 11 insertions, 4 deletions
diff --git a/usr.bin/ssh/scp.1 b/usr.bin/ssh/scp.1 index d51e680c777..69125c1ff81 100644 --- a/usr.bin/ssh/scp.1 +++ b/usr.bin/ssh/scp.1 @@ -9,7 +9,7 @@ .\" .\" Created: Sun May 7 00:14:37 1995 ylo .\" -.\" $OpenBSD: scp.1,v 1.20 2001/09/17 23:56:07 stevesk Exp $ +.\" $OpenBSD: scp.1,v 1.21 2002/01/29 23:50:37 markus Exp $ .\" .Dd September 25, 1999 .Dt SCP 1 @@ -134,6 +134,9 @@ Forces .Nm to use IPv6 addresses only. .El +.Sh DIAGNOSTICS +.Nm +exits with 0 on success or >0 if an error occurred. .Sh AUTHORS Timo Rinne <tri@iki.fi> and Tatu Ylonen <ylo@cs.hut.fi> .Sh HISTORY diff --git a/usr.bin/ssh/ssh.1 b/usr.bin/ssh/ssh.1 index 42aa37763ab..08f0c6ce88d 100644 --- a/usr.bin/ssh/ssh.1 +++ b/usr.bin/ssh/ssh.1 @@ -34,7 +34,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. .\" -.\" $OpenBSD: ssh.1,v 1.144 2002/01/16 17:42:33 stevesk Exp $ +.\" $OpenBSD: ssh.1,v 1.145 2002/01/29 23:50:37 markus Exp $ .Dd September 25, 1999 .Dt SSH 1 .Os @@ -207,8 +207,8 @@ the password cannot be seen by someone listening on the network. .Pp .Ss SSH protocol version 2 .Pp -When a user connects using the protocol version 2 -different authentication methods are available. +When a user connects using protocol version 2 +similar authentication methods are available. Using the default values for .Cm PreferredAuthentications , the client will try to authenticate first using the hostbased method; @@ -1490,6 +1490,10 @@ Contains additional definitions for environment variables, see section .Sx ENVIRONMENT above. .El +.Sh DIAGNOSTICS +.Nm +exits with the exit status of the remote command or with 255 +if an error occurred. .Sh AUTHORS OpenSSH is a derivative of the original and free ssh 1.2.12 release by Tatu Ylonen. |