LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to get PSCP to work? (https://www.linuxquestions.org/questions/linux-software-2/how-to-get-pscp-to-work-4175611607/)

Peter Laurie 08-09-2017 06:13 AM

How to get PSCP to work?
 
I use pscp (which comes with Putty) to transfer data to and from Win 7 to BBB.
The old distribution of Debian for the BBB booted as root and pscp worked fine.

The new (March 2017) release boots as 'debian', pwd 'temppwd' pscp has a flag -pw so you can set a password but I get asked for it when pscp runs and then ' access denied'.

Anyone have an idea how to fix this?
Thanks
Peter

wpeckham 08-09-2017 06:32 AM

Can you ssh to the node? Please try: the result will tell us a few things.

Have you set up keys for password-free authentication to the node?

Are you getting any log entries on either side?

Have you tried with diagnostic/verbose turned on?

scasey 12-16-2018 01:33 PM

Quote:

Originally Posted by seranoseran (Post 5937829)
Well I looked at that and I ran in to a different problem. Apparently WinSCP requires the SSH Host Key (which I don't have). When I was using PSCP there was a way to automate the acceptance of the Host Key. But from what I can tell in reading the WinSCP C# documentation there doesn't seem to be any way to automatically accept the Host Key. Any ideas?

1. ssh to the host using PuTTY and accept the host key.
2. WinSCP will then work.


All times are GMT -5. The time now is 03:58 AM.