gpt4 book ai didi

linux - 如何rehup sshd进程?

转载 作者:塔克拉玛干 更新时间:2023-11-03 00:10:01 25 4
gpt4 key购买 nike

我已经遵循了

的指示

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/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com