Results 1 to 4 of 4
I want to copy a file from my linux machine to remote windows machine. I use the following command: scp somefile username@hostname:'d:\temp' I get the following message: ssh: connect to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 04-20-2007 #1
- Join Date
- Oct 2006
copying files from linux to windows using scp
scp somefile username@hostname:'d:\temp'
I get the following message:
ssh: connect to host ###### port 22: Connection refused
what is wrong?
- 04-20-2007 #2
Is ssh setup on Windows? If so, is your firewall on Windows, set to allow incoming ssh connections?
- 04-23-2007 #3
- Join Date
- Apr 2007
Yes, as daark.child says you will firstly need to make sure that ssh is running on your windows box as a server/service. I use openssh/cygwin but there are a number of options, just google around there are loads of tutorials on the subject.
- 04-23-2007 #4
Alternatively what you could do is use Remote Desktop to connect to Windows, and loop back to run Putty/SCP from there. It's easier to setup as Putty and SCP are only two self contained exe's with no install.