- jmc@cvs.openbsd.org 2010/09/04 09:38:34

[ssh-add.1 ssh.1]
     two more EXIT STATUS sections;
This commit is contained in:
Damien Miller 2010-09-10 11:19:33 +10:00
parent 390f1532f2
commit daa7b2254f
3 changed files with 12 additions and 9 deletions

View File

@ -32,6 +32,9 @@
- jmc@cvs.openbsd.org 2010/09/03 11:09:29 - jmc@cvs.openbsd.org 2010/09/03 11:09:29
[scp.1] [scp.1]
add an EXIT STATUS section for /usr/bin; add an EXIT STATUS section for /usr/bin;
- jmc@cvs.openbsd.org 2010/09/04 09:38:34
[ssh-add.1 ssh.1]
two more EXIT STATUS sections;
20100831 20100831
- OpenBSD CVS Sync - OpenBSD CVS Sync

View File

@ -1,4 +1,4 @@
.\" $OpenBSD: ssh-add.1,v 1.53 2010/08/31 11:54:45 djm Exp $ .\" $OpenBSD: ssh-add.1,v 1.54 2010/09/04 09:38:34 jmc Exp $
.\" .\"
.\" -*- nroff -*- .\" -*- nroff -*-
.\" .\"
@ -37,7 +37,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\" .\"
.Dd $Mdocdate: August 31 2010 $ .Dd $Mdocdate: September 4 2010 $
.Dt SSH-ADD 1 .Dt SSH-ADD 1
.Os .Os
.Sh NAME .Sh NAME
@ -176,7 +176,7 @@ Identity files should not be readable by anyone but the user.
Note that Note that
.Nm .Nm
ignores identity files if they are accessible by others. ignores identity files if they are accessible by others.
.Sh DIAGNOSTICS .Sh EXIT STATUS
Exit status is 0 on success, 1 if the specified command fails, Exit status is 0 on success, 1 if the specified command fails,
and 2 if and 2 if
.Nm .Nm

12
ssh.1
View File

@ -34,8 +34,8 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\" .\"
.\" $OpenBSD: ssh.1,v 1.311 2010/08/31 21:14:58 jmc Exp $ .\" $OpenBSD: ssh.1,v 1.312 2010/09/04 09:38:34 jmc Exp $
.Dd $Mdocdate: August 31 2010 $ .Dd $Mdocdate: September 4 2010 $
.Dt SSH 1 .Dt SSH 1
.Os .Os
.Sh NAME .Sh NAME
@ -647,10 +647,6 @@ may additionally obtain configuration data from
a per-user configuration file and a system-wide configuration file. a per-user configuration file and a system-wide configuration file.
The file format and configuration options are described in The file format and configuration options are described in
.Xr ssh_config 5 . .Xr ssh_config 5 .
.Pp
.Nm
exits with the exit status of the remote command or with 255
if an error occurred.
.Sh AUTHENTICATION .Sh AUTHENTICATION
The OpenSSH SSH client supports SSH protocols 1 and 2. The OpenSSH SSH client supports SSH protocols 1 and 2.
The default is to use protocol 2 only, The default is to use protocol 2 only,
@ -1394,6 +1390,10 @@ See the
.Xr sshd 8 .Xr sshd 8
manual page for more information. manual page for more information.
.El .El
.Sh EXIT STATUS
.Nm
exits with the exit status of the remote command or with 255
if an error occurred.
.Sh SEE ALSO .Sh SEE ALSO
.Xr scp 1 , .Xr scp 1 ,
.Xr sftp 1 , .Xr sftp 1 ,