0

I'm trying the following command from the Pi to the PC (169.254.112.124):

sftp pi@169.254.112.124:/C:/Users/Desktop/testtest.xml

But I get this error:

ssh: connect to host 169.254.112.124 port 22: Connection refused Couldn't read packet: Connection reset by peer

I've enabled the 22 port in the server (a Windows 10 PC) by allowing inbound and outbound connections through that port. Also, the firewall is off. Any suggestions?

itd
  • 123
  • 6

1 Answers1

0

I followed this tutorial in order to configure SSH in the Windows PC where the files are and then, in the Pi I did:

sftp user@169.254.112.124:/C:/Users/Desktop/testtest.xml

The user is the Windows user for login and the IP is the Windows IP too. Then, it asks me for a password and it's the login password to my Windows PC.

itd
  • 123
  • 6