milodewit
Posts: 1
Joined: Sun Feb 26, 2017 3:42 pm

Copy with SSH

Sun Feb 26, 2017 3:45 pm

Hello,

I want to know how to copy files from my Raspberry Pi 3 model b to my windows computer.
I have a windows 10 computer with Putty. Using putty, i login to the ssh of the Rpi3. Now I want to know, how do i copy a file from the Rpi3 to my windows computer? I've read about using scp, but it makes no sense to me. Can anyone please help me?

User avatar
FTrevorGowen
Forum Moderator
Forum Moderator
Posts: 5618
Joined: Mon Mar 04, 2013 6:12 pm
Location: Bristol, U.K.
Contact: Website

Re: Copy with SSH

Sun Feb 26, 2017 4:04 pm

milodewit wrote:Hello,
I want to know how to copy files from my Raspberry Pi 3 model b to my windows computer.
I have a windows 10 computer with Putty. Using putty, i login to the ssh of the Rpi3. Now I want to know, how do i copy a file from the Rpi3 to my windows computer? I've read about using scp, but it makes no sense to me. Can anyone please help me?
Personally I use FileZilla** which supports SFTP (Secure, via SSH, FTP) protocol on port 22 (you login/connect to your Pi in a similar fashion to PuTTY with your Linux username & password). It's a "dual-paned" GUI window which, if you're mainly used to Windows you will probably be more comfortable with.
Trev.
** Edit. On another computer, which could be Windows based, or another Pi.
Still running Raspbian Jessie or Stretch on some older Pi's (an A, B1, 2xB2, B+, P2B, 3xP0, P0W, 2xP3A+, P3B+, P3B, B+, and a A+) but Buster on the P4B's. See: https://www.cpmspectrepi.uk/raspberry_pi/raspiidx.htm

Ernst
Posts: 1334
Joined: Sat Feb 04, 2017 9:39 am
Location: Germany

Re: Copy with SSH

Sun Feb 26, 2017 4:08 pm

milodewit wrote:Hello,

I want to know how to copy files from my Raspberry Pi 3 model b to my windows computer.
I have a windows 10 computer with Putty. Using putty, i login to the ssh of the Rpi3. Now I want to know, how do i copy a file from the Rpi3 to my windows computer? I've read about using scp, but it makes no sense to me. Can anyone please help me?
scp will not help because you do not have an ssh server running on your windows 10 computer. What this means is that you can not enter the scp command on the Raspberry to copy a file to a Windows 10 computer.

What you need is a windows scp program like winscp or pscp. You may have pscp already on your windows computer because it is related to putty. if not see here: http://www.chiark.greenend.org.uk/~sgta ... atest.html

For more information on pscp see: https://the.earth.li/~sgtatham/putty/0. ... pter5.html
The road to insanity is paved with static ip addresses

User avatar
KLL
Posts: 1453
Joined: Wed Jan 09, 2013 3:05 pm
Location: thailand
Contact: Website

Re: Copy with SSH

Sun Feb 26, 2017 4:22 pm

if you insist on something what integrates into file manager [network] on windows and RPI
can install samba ( server and client ) on the RPI.
( in windows it is included )
viewtopic.php?p=1114891#p1114891

Return to “Beginners”