在 Mac 上允许传入的 SCP 连接

Ale*_*lex 33 scp macos

如何scp在我的 Mac (OS X 10.6.4) 上允许来自同一网络上其他机器的传入连接?

每次我scp在机器上尝试某些东西时,我都会收到连接被拒绝的错误。

后期编辑:

使用的命令是这样的:

scp path/to/local.file user@remote.machine:
Run Code Online (Sandbox Code Playgroud)

答案是这样的:

ssh: connect to remothe.machine port 22: Connection refused
lost connection
Run Code Online (Sandbox Code Playgroud)

MaQ*_*eod 45

系统偏好设置面板?共享小程序?选中远程登录复选框。这将启用 SSH,进而启用 SCP。


小智 5

在设置中有激活 SSH 的选项。我认为它在共享下?远程登录