Richard Rublev Richard Rublev - 2 months ago 7
Linux Question

How to rehup sshd process?

I have followed instructions from

But my terminal looks like

ps auxw | grep ssh
milenko 21891 0.0 0.0 21292 924 pts/4 S+ 16:24 0:00 grep --color=auto ssh

Should I
kill 21891
What does grep --color auto stand for?Can someone elaborate more om this?


grep --color=auto is the grep from the line above. When you would try to kill it later, it will no longer be there, because the above command ended.

The reason why the line does not list only grep ssh is, that you have alias for grep to be nicely colored:

$ which grep
alias grep='grep --color=auto'

TLDR what is going on there: Your sshd server is not running.