Questions tagged [pscp]
This tag should be used for questions related to use of PSCP; a freeware SCP (Secure CoPy) program for the Windows command line processor.
26
questions
1
vote
1
answer
320
views
Getting "Remote to remote not supported" when copy file from Windows host to remote Ubuntu server using pscp
I'm trying to copy a file from a Windows host to a remote Linux (Ubuntu) server using pscp.
This looks straight forward at first:
pscp -P 22 'C:\text.txt' user@ip:~/Downloads
However, I get the ...
0
votes
1
answer
1k
views
Transferring files from Windows to Ubuntu on the same machine
I work with PCs. So I installed Ubuntu on a Windows machine as I was told that I need a Linux system to be able to analyze my data. I have a file in a folder on this machine that I need to use Linux ...
0
votes
1
answer
2k
views
"more than one remote source not supported" while using pscp
I have Windows 10 pro and I'm using the latest version of pscp/putty through command prompt.
I I am trying to do a file transfer from my Windows 10 computer to an SSH server, but I'm running into the ...
0
votes
1
answer
73
views
Unable to copy SSH key from Win10 to Ubuntu server using PSCP
I'm trying to copy my .pub key to my server that is on the same router.
I keep getting a "No such file or directory" error and I just can't get why as the file is clearly there.
PS C:\Users\black> ...
0
votes
1
answer
2k
views
pscp "Cannot open file"
I am trying to deploy the files in my web application to the server using the pscp tool. It works for all the files in the directory, except sqlite (.db) file.
For the sqlite file, it throws this ...
1
vote
0
answers
485
views
PSCP - Copy extensionless files from Windows to Linux-based OS
So I have been struggling to copy a file without an extension from Windows to a Raspberry Pi using PSCP provided by PuTTY. However, Windows requires an extension in the command (just a dot after the ...
0
votes
2
answers
2k
views
How can I make Putty SCP not prompt about connecting to a new device?
I am attempting to use the Putty SCP program to copy files to a server. I am launching it with a Python subprocess:
subprocess.check_output(pscp + ' -r -l ' + self._properties['ssh user'] + ' -pw ' + ...
3
votes
1
answer
9k
views
PSCP Does not accept hostkey
I'm running pscp on Windows from a script. If I add
echo y | pscp.exe...
It works. However, I can't get it to accept the hostkey using
pscp.exe -hostkey aa:bb:cc...
I've also tried
pscp.exe -...
1
vote
1
answer
4k
views
PSCP copy files windows to windows over lan fails
Trying to copy from PC A to PC B but getting network error
Username and password are correct
Firewall is off
Able to ping each other
Folder C:\PCB to C:\B
I tried:
PSCP.exe -pw 1qaz@WSX [email protected]....
1
vote
2
answers
640
views
How to copy files with only 1 extension and not double in command prompt
I need to copy only .jpg and not .jpg.jpg from a particular folder.
When I do a copy c:\data\*.jpg D:\backup\ both .jpg and .jpg.jpg named files are copied over and I'm not sure how to omit the ...
-1
votes
1
answer
1k
views
Private keys work for putty but not pscp
I am using a Windows machine which is using private/public keys to connect to a Debian server. I have placed the public key in my user account at ~/.ssh/authorized_keys . I can log in successfully ...
2
votes
0
answers
2k
views
Is there a way to ignore symlinks when copying from Linux to Windows?
Ignoring symlinks when copying from one Linux machine to another is easy:
rsync -a --no-links <usr>@<ip>:<source> <destination>
For Linux to Windows, I'm currently using PSCP ...
4
votes
1
answer
3k
views
SCP connection doesn't close after file copy whereas for PSCP it does
Hi I have an InterNiche ssh server stack running on some custom hardware.
I was trying to copy some files from server to client pc using scp command like scp [email protected]:\\path\\to\\file /...
0
votes
1
answer
715
views
Is there any wildcards to copy a list of files from local to remote using PUTTY PSCP
Suppose I have a list of files(say - abc.pdf,xyz.pdf,pqr.pdf,uvw.pdf) on my local machine and I need to move all of these files to remote server using a single call to pscp.exe. I am calling this ...
3
votes
1
answer
1k
views
Using pscp With Remote Environment Variables
I'm using pscp.exe to transfer files from Windows to Linux. This command works fine:
pscp myfile.txt user@host:/airflow/dags
The location on the Linux host into which I want to transfer the files is ...