Good morning,
I would like to send you a bug with openssh for windows - versions
OpenSSH_3.7.1p1, SSH protocols 1.5/2.0, OpenSSL 0.9.7b 10 Apr 2003
OpenSSH_3.8.1p1, OPENSSL 0.9.7.d 17 Mar 2004
When I try to execute a remote command via ssh from unix machine to windows
machine with openssh installed, the return code of ssh is always 0 even if
remote command fails.
Example :
ssh initiated from unix to windows (unix ssh version OpenSSH_3.4p1, SSH
protocols 1.5/2.0, OpenSSL 0x0090604f)
amd4 at hkmds1$ ssh bscsp at srvr15.rdm.cz \( /c/progra~1/openssh/bin/ls /d/f*
\) ;echo $?
/c/progra~1/openssh/bin/ls: /d/f*: No such file or directory
0
Correct behaviour : (unix ssh version OpenSSH_3.4p1, SSH protocols 1.5/2.0,
OpenSSL 0x0090604f)
ssh initiated from unix to unix :
amd4 at hkmds1$ ssh amd4 at amd ls /d/f* ;echo $?
/d/f* not found
2
Even if I use the same versions on both windows machines, the return codes of
executed commands are 0 .
Regards
Petr Smetana
---------- Disclaimer ----------
Informace obsa?en? v tomto e-mailu jsou ur?eny v?lu?n? pro pot?eby jeho
adres?ta. Text nebo p??lohy mohou obsahovat utajovan? informace, informace
pova?ovan? spole?nost? T-Mobile za obchodn? tajemstv?, p??padn? jin? informace
podl?haj?c? ochran? dle p??slu?n?ch pr?vn?ch p?edpis?. Pokud V?m tento e-mail
byl omylem doru?en, zdr?te se, pros?m, jak?koli manipulace s textem ?i
p??lohami, jako je kop?rov?n?, p?esm?rov?n?, zp??stupn?n? dal?? osob? a podobn?.
O chybn?m doru?en? informujte odes?latele a e-mail v?etn? p??loh vyma?te ze
sv?ho po??ta?e.
The information contained within this e-mail is intended only for the person or
entity to which it is addressed. The text or attachments may contain
confidential information, information considered a trade secret by T-Mobile or,
as the case may be, other information subject to protection under the relevant
legal regulations. If you receive this e-mail by mistake, please refrain from
copying, forwarding or disclosing the text or attachments to other persons, etc.
Inform the sender of the mistaken delivery and delete the e-mail, including all
attachments, from your computer.