SSH (SCP) Send Files from Windows to Your Linux Box

Not all of us have the luxury of working both at home and at work on a UNIX based system. However that doesn't mean you can't transfer files safely and securely between the two systems.

Due to a firewall, I'm unable to use FTP on a non-standard port, from my work, however I am able to use SSH to connect to my home computer.

There are many different clients for Windows based systems for SSH connections, however I am fond of PuTTy myself. This document will give you a very brief overview of how to send files from your Windows PC, from a command prompt, to your UNIX style server.

Once you have installed the PuTTy Client (full package not just the putty.exe), open a command prompt on your Windows PC (start menu > run > cmd).

You.re putty client may not be in your path, so change directory to where the program is installed, or copy the 'pscp' executable to your c: for ease of use.

Pscp is the SCP client that comes with the PuTTy package. Normally SCP is used for transferring files securely between UNIX based systems, but it's been ported over with the windows based clients.

The following is an example of how to transfer a file using pscp:

C:pscp -l yourname C:PicturesPictures*.jpg
my.server.com:/home/yourname/tmp/

This will transfer all the jpg files from the Pictures directory one at a time to your server. After you hit enter the server should ask you for your password on that system before it continues. There are many additional options for you to use that will help you make things a bit quicker, like the recursive option, so all subdirectories will get moved also.

Some of the more important options are as follows:

-P 1234 Specifies port 1234 is open for SSH

-l yourname Specifies the username you want to login with

-r Specifies recursive transfer of all subdirectories

-v Specifies verbose mode

-q Specifies quiet mode, and will not display the little statistics bar during the transfer

-C Specifies compress is enabled

-pw yourpass Specifies your password, if you do not use this, it will prompt you instead.

This pretty much covers the basics of transferring files from windows to unix via SCP.

Ken Dennis
Ken.Dennis@Gmail.com
http://KenDennis-RSS.homeip.net/

In The News:


pen paper and inkwell


cat break through


Microsoft Great Plains: Interest Calculation Example ? Stored Procedure for Crystal Report

This is intermediate level SQL scripting article for DB Administrator,... Read More

Computer Based Language Development and Spell-checking

Language development computer: Computer-based method for aiding language development seems... Read More

Making The Decision To Automate Your Software Testing

Not every software testing project can or should be automated.... Read More

Constructionalist Parsing - Deciphering Natural Language

The research in the field of Natural Language Processing usually... Read More

Information Products: A Business Owners Best Friend

We live in a post-industrial age where information is the... Read More

Navision Attain C/ODBC Crystal Report ? Customization Example

Microsoft Business Solutions Navision is main ERP application for European,... Read More

New Web-Based HR Tool is Max From NAS, Hannibal, and InfoLink

Three highly respected names in Human Resources have joined forces... Read More

Know Linux

Linux essentials:It's free for download but you have to pay... Read More

Microsoft CRM ? Typical Customizations

Microsoft CRM was designed to be easily customizable. Microsoft CRM... Read More

Adware and Spyware Blockers

The most important things you can do for your computer... Read More

Microsoft Business Solutions Partner ? How to Launch New IT Consulting Practice

In the new era of internet marketing the problem of... Read More

Linux ? Keyboard Or Mouse

Just stress testing one of the latest Linux distributions. Been... Read More

Think Of This

Think of this, first we had the HAM Radio, then... Read More

Microsoft Great Plains Beverage Production & Distribution ? Implementation & Customization Highlight

Microsoft Business Solutions Great Plains has many years of successful... Read More

Groupware Finds Home in American Business: Collaboration Tool Analysis

What is Groupware?Have you ever had to manage document collaboration... Read More

Secure File Transfer Using SSH Plus Additional Audit & Automation - FSA Reporting

In order to meet regulatory and corporate compliance requirements reporting... Read More

Microsoft Great Plains SOP: Sales Order Processing

Microsoft Business Solutions Great Plains is marketed for mid-size companies... Read More

Intro to UNIX Shells

A UNIX Shell is in simplest terms, a command line... Read More

What is a Document Manager without Version History?

Document Manager and Version HistoryIn previous articles I have discussed... Read More

Protect Your Computer...and Your Business!

We all take the computer for granted. I mean, all... Read More

Microsoft CRM ? Consulting in the Post-Recession Time

New post-recession era has new features, which didn't exist in... Read More

International Support - Microsoft Great Plains VAR/Partner Selection ? Overview for V.P. IT

Looks like Microsoft Great Plains becomes more and more popular,... Read More

Putting Screensavers Under Control

No matter how much you enjoy your favorite screensavers, sometimes... Read More

Microsoft CRM Customization: Integration with Third Party SQL Application/Database

Microsoft CRM ? Client Relationship Management package from Microsoft Business... Read More

Integrating Microsoft Great Plains Accounting/ERP: RMS, CRM, eCommerce, Lotus Domino ? overview

Microsoft Business Solutions Great Plains has substantial market share among... Read More

Great Plains Dexterity Customization Options ? Overview For Developers

Looks like Microsoft Great Plains becomes more and more popular,... Read More

Crystal Reports for Microsoft Great Plains ? Overview for Developer

Microsoft Great Plains is main accounting / ERP application... Read More

Understanding Document Management

The term "document management" and "paperless office" is the subject... Read More

OEComplete ? A Personal Information Manager

OEComplete is a utility for managing the personal information of... Read More

Snort for Network IDS

What is Snort?Snort is an open source network intrusion detection... Read More

When is a Software Engineer Not a Software Engineer?

The title of "software engineer" has got to be among... Read More

The True Meaning of Freeware

The vast majority of us will have, at some point,... Read More

Looking for an Alternative to Microsoft Office? You Should Be!

Now is the time to look at an alternative to... Read More