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 Small Business Manager eCommerce ? Overview

Microsoft Business Solutions Small Business Manager is scaled down Great... Read More

Microsoft CRM Customization - Processing In/Out-Going Email Messages

We would like to give you several situations, when you... Read More

Microsoft CRM Integration With Microsoft Office Documents ? Overview For System Integrator

Microsoft CRM is CRM application, maintained and supported by Microsoft... Read More

An Introduction to .NET Framework

.Net Framework is a platform or development environment to seamlessly... Read More

Microsoft Great Plains Implementation: Collection Management ? Overview For Consultant

Microsoft Business Solutions Great Plains is very good fit for... Read More

Create ASP in Minutes

DBxtra goes ASPGetting to the information hidden within corporate databases... Read More

Databases ? How We Love to Hate Them!

You've finally created databases that you can actually use to... Read More

Cisco Certification: Introduction To ISDN, Part III

Configuring PPP PAP AuthenticationNow we know how the ISDN link... Read More

Microsoft Great Plains Customization Tools ? Overview

Former Great Plains Software Dynamics/eEnterprise, and currently Microsoft Business Solutions... Read More

How to Get The Best Accounting Software For Your Small Business

Buying accounting software is a major investment. It's an important... Read More

7 Things to Consider Before Buying Small Business Accounting Software

The world of small business accounting software can be a... Read More

Is Your Computer Sick?

Viruses and spyware usually show up on your computer one... Read More

Running a Program on a Remote Server Using SSH

How do you run a program on a remote server... Read More

Spyware - The Internet Devil Of Our Times!

Spyware and Adware infest over 90 percent of computers in... Read More

Most Common Ways to Accumulate Spyware (where It is Downloaded to Your PC)

It is possible that if one avoided all sources of... Read More

Importance of Coding Standards

Programming Help for BeginnersWe write programs to instruct computers. When... Read More

What is Fleet Maintenance Software?

Simply put, fleet maintenance allows companies to monitor and maintain... Read More

Anti-Virus Software

Anti-virus software is used to find, remove or fix files... Read More

40/sec to 500/sec

IntroductionSurprised, by the title? well, this is a tour of... Read More

Microsoft Great Plains Furniture & Fixtures ? Implementation & Customization Highlights

Microsoft Great Plains, former Great Plains Software Dynamics / eEnterprise... Read More

Microsoft Great Plains: Getting New Users Licenses ? Annual Service Plan FAQ

Microsoft Business Solutions Great Plains, Solomon, Navision, Axapta, Microsoft CRM... Read More

ERP Remote Support: Microsoft Great Plains Analysis ? Pluses & Minuses

Former Great Plains Software Dynamics/eEnterprise and currently Microsoft Business Solutions... Read More

Understanding XML Server

XML Server can be a Web Server that stores the... Read More

Protect Your Most Vital Business Asset with Security Software

Homeland security, airport security, Internet security â?" these days weâ??re... Read More

Lotus Domino: Reports and Connectors ? Crystal Reports, XML, ODBC/JDBC, OLE

Lotus Notes Domino is very efficient in electronic document workflow... Read More

Adware and Spyware Blockers

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

Fundraising Software ? How Can That Help Me?

Fundraising software lets you connect with donors in a way... Read More

Great Plains Custom Development: Dexterity, VBA, SQL, Crystal, eConnect ? Overview For Programmer

Microsoft Great Plains is main Microsoft Business Solutions accounting package... Read More

Seven Reasons Why a Hosted Inventory Management Solution Might Be Right For Your Organization

Upgrading. Downtime. Maintenance. Hardware obsolescence. Implementation issues. The litany of... Read More

Hear It in Digits

Music downloads are off the charts! We're listening to digital... Read More

Microsoft Great Plains - Typical Problems And Fixes ? Overview For IT Administrators

How to delete the user? This is the first problem... Read More

MCP Market News: Microsoft SQL Server & SQL Reporting Services

Are you ready? SQL Server 2005, the next-generation data management... Read More

Linux for Home Users

Hey Guys! Don't raise your eyebrows or fear by hearing... Read More