Re: OpenSSH return codes (ssh/sftp/scp)
- From: "René Berber" <rberber@xxxxxxxxxxxxxxx>
- Date: 26 Jun 2006 15:38:55 -0700
huijstee wrote:
After searchng for a few hours I give up. It seems almost impossibe to
find the meaning of the exit codes for the ssh/sftp/scp binaries for
OpenSSH.
Is there anyone who can supply me with this? I need it for my automated
tasks.
sftp is an interactive command, so exit codes are irrelevant.
The others, from their man page:
ssh
ssh exits with the exit status of the remote command or with 255
if an
error occurred.
scp
scp exits with 0 on success or >0 if an error occurred.
Isn't that enough for your "automated tasks"?
--
René Berber
.
- Follow-Ups:
- Re: OpenSSH return codes (ssh/sftp/scp)
- From: Richard E. Silverman
- Re: OpenSSH return codes (ssh/sftp/scp)
- References:
- OpenSSH return codes (ssh/sftp/scp)
- From: huijstee
- OpenSSH return codes (ssh/sftp/scp)
- Prev by Date: Re: OpenSSH return codes (ssh/sftp/scp)
- Next by Date: Re: OpenSSH return codes (ssh/sftp/scp)
- Previous by thread: Re: OpenSSH return codes (ssh/sftp/scp)
- Next by thread: Re: OpenSSH return codes (ssh/sftp/scp)
- Index(es):
Relevant Pages
|
|