Unable to scp from my server to my computer
Solution 1
You need to add the SSH service to the allowed applications in the firewall configuration of your Mac and change your firewall settings to “Set access for specific services and applications.”.
Having your firewall set to “Allow only essential services.” blocks incoming connections to services running on your machine.
See also on the Apple support site: http://docs.info.apple.com/article.html?path=Mac/10.5/en/11783.html
Solution 2
The scp command itself is OK.
As for your problem, impossible to say with the information given. Can you ping the machine? Try to ssh with the "-v" switch to see if you get some more relevant info about the connection procedure.
Comments
-
Michal aka Miki almost 2 years
The following code does not work
scp /home/username/public_html/site/pictures/* myUsernameAtMyMac@myIpAddress:/home/Masi/Desktop/
I have "Allow only essential services" in my Mac's firewall.
How can you solve the problem?
[edit]
I get the following error after I have "Remote Login" in the list of allowed services. I also allowed "All users".
scp favicon.ico [email protected]:/home/Masi/Dropbox/ ssh: connect to host 11.111.11.111 port 22: Connection timed out lost connection
[edit] I tried to login to my computer from another Macbook unsuccessfully by the following command
ssh [email protected]
I get an operation timeout error.
I managed once to connect from my server to my computer with the above command, but the connection was quickly timeout.