Transferring files through SSH, using PSCP/Putty

Here I have a windows client and an Ubuntu server with SSH port listening, You need to download all Putty Binaries

1 – in your ubuntu (server side) check the ip address:

>> ifconfig

for example my ubuntu ip address is = 192.168.1.3

2- Open a Command Prompt in Windows machine (client side) and set your putty directory as an environment variable :

c:\> set PATH = c:\directory\of\putty; %PATH%

(this setting is not permanent !)

3- Now use this command to send a file to the ubuntu server:

c:\> pscp -P 22 c:\destination\folder\filename user@192.168.1.3:/home/username/Desktop/filename

it requests your password and then transfers the file to server side!

for more information and detail about the settings check these two links:

link1      — link2

About these ads

About machinelearning1

This weblog is about Machine Learning and all related topics that one needs to challenge real world with artificial intelligence.
This entry was posted in programming, Linux, Ubuntu and tagged , , , , , , , , , . Bookmark the permalink.

One Response to Transferring files through SSH, using PSCP/Putty

  1. nkn says:

    for copy a file from the server to your client use this command:
    pscp reza@192.168.1.3:/home/dan/Documents/result.png c:\Users\dan\Desktop\result.png

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s