作者热门文章
- iOS/Objective-C 元类和类别
- objective-c - -1001 错误,当 NSURLSession 通过 httpproxy 和/etc/hosts
- java - 使用网络类获取 url 地址
- ios - 推送通知中不播放声音
我已经遵循了
的指示https://www.digitalocean.com/community/tutorials/how-to-use-ssh-keys-with-digitalocean-droplets
但是我的终端看起来像
ps auxw | grep ssh
milenko 21891 0.0 0.0 21292 924 pts/4 S+ 16:24 0:00 grep --color=auto ssh
我应该杀死 21891
吗?grep --color auto 代表什么?有人可以详细说明一下吗?
最佳答案
grep --color=auto
是上面一行中的 grep
。当你稍后试图杀死它时,它不再存在,因为上面的命令结束了。
该行不只列出 grep ssh
的原因是,您为 grep
设置了别名以进行漂亮的着色:
$ which grep
alias grep='grep --color=auto'
/usr/bin/grep
TLDR 那里发生了什么:你的 sshd
服务器没有运行。
关于linux - 如何rehup sshd进程?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38983018/
我是一名优秀的程序员,十分优秀!