« Tech Tip: Deploying Mitel IP Phones in a VLAN/DHCP Environment | Main | Unhappy surprise: Firebird SQL's backup/restore uses magic words for stdin and stdout »

May 30, 2012

Comments

s h

cant this issue be gotten around by simply using PSCP instead, which does return errorlevel of zero only if successful?

PSCP returns an ERRORLEVEL of zero (success) only if the files were correctly transferred.

[Not all SFTP servers are configured to allow SCP, and the two unrelated servers I was working with were of this type, and were not something I could change -- SJF]

ios developers

The developer of rssh quit the development of rssh two years ago. I wouldn’t recommend to use rssh since security issues won’t be fixed. Better use scponly…

Ge

Thanks for the patch. I have similar problem and your patch helped me.

J.R.

I worked around this by having the last step of my command file execute a local command to create an empty local file. My script that calls psftp then checks for that file.

Prasanna

i have the similar problem. Can you please tell me how to use this patch.

The comments to this entry are closed.

ABOUT STEVE

  • Steve Friedl is a software and network security consultant in Southern California. He has been a C and UNIX developer since 1981 and has an exceptionally broad background in this area. Some areas of expertise include:

    • C and C++ systems software development on the UNIX and Win32 platforms
    • Communications, including serial and TCP/IP based controllers
    • Enterprise internet security administration and configuration
    • Penetration tests, audits, and network reviews
    • Security forensics, reverse engineering, and tools development
    • General UNIX and Windows system/network administration
    • The Windows Printing System
    • Database software development
    • Technology problem solving and research
    • Technical writing and standup training

Unix Wiz

Stephen J. FriedlSoftware ConsultantOrange County, CA USASteve@unixwiz.net