Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Secure-Shell
[Top] [All Lists]

Sftp return code problem

Subject: Sftp return code problem
Date: Mon, 27 Mar 2006 10:57:54 +0200
 
Hi all,

We want to use sftp in batch and we have a problem with the return code
openssh sftp retuns. If for example, you try to get/pit a file that does
not exist, you will receive a rc = 0. 

We have tested sftp -b test.txt -oBatchMode=yes donypie@10.33.2.142
2>debug.log

and then analyze debug.log with a perl BUT it will be a lot of work !.

Does anybody know how we can resolve this problem ? 

Thanks a lot.
Pierre. 


-----------------------------------------
Visit our website! http://www.nbb.be

"DISCLAIMER: The content of this e-mail message should not be
construed as binding on the part of the National Bank of Belgium
(NBB) unless otherwise and previously stated. The opinions
expressed in this message are solely those of the author and do not
necessarily reflect NBB viewpoints, particularly when the content
of this message, or part thereof, is private by nature or does not
fall within the professional scope of its author."


<Prev in Thread] Current Thread [Next in Thread>