使用secureCRT连接mac的本地终端

来源:互联网 发布:网络直销做什么产品好 编辑:程序博客网 时间:2024/05/21 08:58

1、首先需要启动MAC的sshd服务:

打开mac的命令终端,执行:sudo launchctl load -w /System/Library/LaunchDaemons/ssh.plist

2、停止sshd服务的方法:

在mac的终端执行:sudo launchctl unload -w /System/Library/LaunchDaemons/ssh.plist

3、查看sshd服务是否启动:

在mac终端执行:sudo launchctl list | grep ssh

下面的输出表示成功启动了:
--------------
- 0 com.openssh.sshd


转自:http://www.php230.com/use-securecrt-login-mac-computer-location.html

0 0
原创粉丝点击