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]

Re: issue with transferring text files from windows to *INX using scp/sf

Subject: Re: issue with transferring text files from windows to *INX using scp/sftp
Date: Tue, 12 Feb 2008 09:32:35 -0600
Mike your problem is not with scp.  The scp tool just copies raw bytes.
The Control-M is already present in the file (it's the MS way).

The reason you didn't see this with ftp is because some ftp clients have
two data modes (binary and plain text).  Binary is the "genuine"
transfer method.  The latter is to accommodate this Control-M problem.
Some ftp clients even "auto-detect" the file type for you and choose the
"plain-text" method.

If you want to verify what I am telling you, just download a hex editor
for Windows (like AXE) and open one of your plain text files.  You will
see the Control-M characters.

On Mon, 2008-02-11 at 22:12 +0000, Mike Li wrote:
HI:
Each line of text files transferred from windows to
*INX using scp/sftp contains Control-M characters.
It is a pain to run dos2unix utils when there are a
few hundred files.
I did not experience issue when using ftp to transfer
files from windows to *INXs systems
Is there a switch or ssh_config configuration setting
to suppress the Crontrol-M during transfer ?
Thank you
Mike


      
____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping

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