Questions tagged [pscp]

PuTTY Secure Copy client (pscp) is a command-line SCP client for transferring files securely between computers using an SSH connection.

PSCP documentation: https://the.earth.li/~sgtatham/putty/latest/htmldoc/Chapter5.html

120 questions
98
votes
2 answers

How can I copy a file from a remote server to using Putty in Windows?

How do I copy a file from a remote server to my local Windows system using a Putty session?
Sandeep
  • 3,654
  • 5
  • 19
  • 22
37
votes
10 answers

Makefile error make (e=2): The system cannot find the file specified

I am using a makefile in windows to push some files on a Unix server (here a text file "blob.txt" in the same folder of my makefile). My makefile script is: setup: pscp blob.txt username@hostname:/folder/ I start a command prompt, go in the…
Colonel Beauvel
  • 30,423
  • 11
  • 47
  • 87
25
votes
7 answers

Command to automatically input password for pscp

I want to copy some file to a remote Linux system from my Windows PC using pscp (from putty). I wrote a small script that call the pscp commands in this way: "C:\Users\hp\Desktop\pscp.exe" -scp C:\Users\hp\Desktop\scripts\*…
MOHAMED
  • 41,599
  • 58
  • 163
  • 268
23
votes
3 answers

PSCP copy files from godaddy to my windows machine

I want to take backup of my website which is hosted on godaddy. I used pscp command from my windows dos and try to download whole public_html folder. my command is : pscp -r user@host:public_html/ d:\sites\; Files are downloading properly and…
Rajeev Roy
  • 285
  • 1
  • 2
  • 5
15
votes
1 answer

PSCP file from Windows to Linux using private/public keys

I can transfer file using PSCP: C:\>pscp -pw -r -p user@Server: But not using the public/private key. Steps followed: Generate public and private keys using PuTTYgen. Copy the public key to…
user3131119
  • 237
  • 3
  • 4
  • 10
15
votes
4 answers

PuTTY PSCP error "Local to local copy not supported" when username contains a slash

I am trying to move a file from my local Windows machine to a remote Linux server using PSCP. I am connected to the VPN so that I can access my remote Linux machine with my username and password. My PSCP command for transfer is: pscp…
j1897
  • 1,507
  • 5
  • 21
  • 41
9
votes
3 answers

I can't transfer files using pscp to amazon AWS ec2 instances. Key refused

I can connect to the server command line using Putty using the same private key. But when I try to use the same key to transfer a file from my PC over to the server": pscp -i C:\xxx.ppk "C:\xx\somefile.yy"…
Theoden
  • 297
  • 1
  • 2
  • 11
7
votes
1 answer

Getting "Command not found" when using pscp command

I am transferring a project folder to AWS instance using PuTTY pscp. I am able to connect using .ppk public keys file and ssh command opened successfully and logged-in. Here I am using command to transfer folder: pscp -r -i…
user6395764
  • 143
  • 1
  • 1
  • 11
6
votes
4 answers

using pscp.exe for sftp transfer is very slow compared to filezilla

I have a weird problem. I'm using pscp.exe from within a C# program (with process.start) to upload files to an SFTP server. Now I have set up a new server with the same program, where I upload to the same SFTP server as before, but It runs…
Keller
  • 151
  • 1
  • 2
  • 12
5
votes
1 answer

Windows PuTTY PSCP command exclude files or folder not to be transferred to server

How to exclude files or folder not to be transferred to server with Windows PuTTY PSCP command? My command: pscp -r -i "D:\my-key.ppk" D:\wamp\www\abc\* ec2-user@58.55.86.157:/var/www/html It transfers all files and directories. I want to exclude…
Shahid Karimi
  • 4,096
  • 17
  • 62
  • 104
5
votes
2 answers

Skip host checking when using pscp.exe

We have a Windows service running under the default Windows Local System account. This service tries to transfer a file to a server using pscp.exe. This is the exact command we fire: pscp.exe -batch -r -q -v -l **** -pw **** C:/temp/test…
Vaibhav Desai
  • 2,618
  • 1
  • 16
  • 16
5
votes
5 answers

Transfer files from Linux to Windows using pscp or some other tool

Problem Statement- I want to copy some files from remote machine (linux) to my windows machine. I know I can do it using pscp. I tried looking on the internet, I found several articles, but in those articles I was not able to understand and I was…
arsenal
  • 23,366
  • 85
  • 225
  • 331
4
votes
1 answer

How to prevent MSYS from converting remote file path for pscp

I'm using msys2 bash 4.3.26 (i686-pc-msys) on Windows, and recently I find that it breaks my pscp and scp (msys1): When I run pscp req.py hostname:/home/user/xxx/yyy/: msys will change the second args to hostname;D:\msys\home\user\xxx\yyy\ and then…
Dahan Gong
  • 182
  • 8
4
votes
3 answers

C++ Error RC2104 trying to compile PuTTY-PSCP (for Windows) on Visual Studio 6.0

I was about to use PuTTY Development source code for Windows to create my own client application (found here: http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html) but as I tried to compile the PSCP project (SCP Client), I got the…
user4861542
3
votes
1 answer

pscp files to aws with proxy

Need to pscp java war file to aws. however, we are not able to do as connection needs a proxy and there is no option to pass proxy along with pscp command. we tried explicitly setting http_proxy on the cmd. still, it didn't work. Has anyone found…
Linz
  • 354
  • 2
  • 14
1
2 3 4 5 6 7 8