[Bug 341] New: Return Code unpredictable
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Tue Jul 9 00:53:50 EST 2002
http://bugzilla.mindrot.org/show_bug.cgi?id=341
Summary: Return Code unpredictable
Product: Portable OpenSSH
Version: -current
Platform: Other
OS/Version: AIX
Status: NEW
Severity: normal
Priority: P3
Component: ssh
AssignedTo: openssh-unix-dev at mindrot.org
ReportedBy: norbert.weuster at mgi.de
hello,
I try to use ssh in a script (ttt.ksh) like this:
#!/bin/ksh
ssh <hostname> date
echo $?
if I start ttt.ksh, it will always work and return 0.
if I start ttt.ksh without a tty, e.g. "echo ttt.ksh|at now",
it will always work, but the return code will be unpredictable 255 or 0.
any hints or solutions?
best regards
Norbert Weuster
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the openssh-unix-dev
mailing list