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 Masi@11.111.11.111:/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 Masi@11.111.11.111
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.
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