everybody.
Pierre.
-Original Message-
From: Patrick Morris [mailto:[EMAIL PROTECTED]
Sent: vendredi 5 mai 2006 21:27
To: secureshell@securityfocus.com
Subject: RE: FW: SSH/SFTP rc problem in Solaris.
Just tried this on a Red Hat box (EL4). I get a return code of 0 for
the same commands
as
possible.
Thanks everybody.
Pierre.
-Original Message-
From: Patrick Morris [mailto:[EMAIL PROTECTED]
Sent: vendredi 5 mai 2006 21:27
To: secureshell@securityfocus.com
Subject: RE: FW: SSH/SFTP rc problem in Solaris.
Just tried this on a Red Hat box (EL4). I get a return code of 0
Just tried this on a Red Hat box (EL4). I get a return code of 0 for the
same commands.
We have a SSH return code problem when we use SSH in batch in Solaris.
We haven't this problem on RedHat.
bash-2.05$ cat a.sftp
ls -l
pwd
get b.txt
ls -l
bash-2.05$ sftp -b a.sftp
The second ls -l command successfully completes. Therefore the return code
is zero.
We have a SSH return code problem when we use SSH in batch in Solaris.
We haven't this problem on RedHat.
bash-2.05$ cat a.sftp
ls -l
pwd
get b.txt
ls -l
bash-2.05$ sftp -b a.sftp
Hi dony,
I see an error when the get command try get the file b.txt, because
this file not exist!, what's the idea with this script?
Regards,
Marcelo Ravilet
El mié, 03-05-2006 a las 16:42 +0200, Dony Pierre escribió:
Hi all,
I use SSH client and server on a Solaris 9 server,
Hi
I think that the situation is that the latest return code displayed was
the one returned by the latest command executed, in this case the ls -l
command.
So I cannot see a problem in this particular case.
HTH
Marco Correnti
ESACERT
Marcelo Ravilet [EMAIL PROTECTED] wrote on 04/05/2006
Hi all,
I use SSH client and server on a Solaris 9 server, version is :
Client :
bash-2.05# pkginfo -l SUNWsshu
PKGINST: SUNWsshu
NAME: SSH Client and utilities, (Usr)
CATEGORY: system
ARCH: sparc
VERSION: 11.9.0,REV=2002.04.06.15.27
BASEDIR: /