Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How can I allow incoming scp connections on my mac (Mac OS X 10.6.4) from other machines on the same network?
Every time I'm trying to scp something on the machine I get a Connection refused error.

Thanks!

Later edit:
the command used is this:
scp path/to/local.file user@remote.machine:

the reply is this:
ssh: connect to remothe.machine port 22: Connection refused
lost connection

share|improve this question
    
can you post the format of the statement you are using to make this connection? –  MaQleod Sep 20 '10 at 8:08
    
@MaQleod: see my edit –  Alex Sep 20 '10 at 8:16
    
It sounds as if you need to enable SSH/SCP. –  MaQleod Sep 20 '10 at 8:30

3 Answers 3

up vote 15 down vote accepted

System Preferences pane → Sharing applet → check the Remote Login checkbox. This will enable SSH, and in turn, SCP.

share|improve this answer

In the settings there is the option to activate SSH. I think it’s under SharingRemote Login.

share|improve this answer

You might have to open a port. My router's address is 192.168.0.1, it's default name is admin and password is, I think, password. Yours might be the same. Check the bottom of your router. Default port is 22.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.