From 8f12ef9df15e5741442a83ccce432ad385960e6a Mon Sep 17 00:00:00 2001 From: darksun Date: Tue, 13 Feb 2018 14:41:53 +0800 Subject: [PATCH] translate done: 20110917 Have I been hacked by root-notty- - Sysadmin World.md --- ... hacked by root-notty- - Sysadmin World.md | 23 ------------------- ... hacked by root-notty- - Sysadmin World.md | 22 ++++++++++++++++++ 2 files changed, 22 insertions(+), 23 deletions(-) delete mode 100644 sources/tech/20110917 Have I been hacked by root-notty- - Sysadmin World.md create mode 100644 translated/tech/20110917 Have I been hacked by root-notty- - Sysadmin World.md diff --git a/sources/tech/20110917 Have I been hacked by root-notty- - Sysadmin World.md b/sources/tech/20110917 Have I been hacked by root-notty- - Sysadmin World.md deleted file mode 100644 index 853fd11791..0000000000 --- a/sources/tech/20110917 Have I been hacked by root-notty- - Sysadmin World.md +++ /dev/null @@ -1,23 +0,0 @@ -translating by lujun9972 -Have I been hacked by root@notty? – Sysadmin World -====== - -If you see sshd:root@notty in the output of `ps aux` and wonder what kind of host notty is and if that’s the name of a hacker’s computer, don’t worry; notty actually just stands for no tty. - -When you login locally to a linux machine the terminal will appear in the process list as tty (e.g. tty7). If you login to a remote server via ssh you will see something like root@pts/0. - -However if a connection is made via sftp or you are copying files with scp then it will show as no tty (notty). - -If you are still wondering on what is going on you might want to check the output of ps auxf to see a tree of processes or run `netstat -vatn` to examine all TCP connections. - --------------------------------------------------------------------------------- - -via: http://www.sysadminworld.com/2011/ps-aux-shows-sshd-rootnotty/ - -作者:[sysadminworld][a] -译者:[lujun9972](https://github.com/lujun9972) -校对:[校对者ID](https://github.com/校对者ID) - -本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出 - -[a]:http://www.sysadminworld.com diff --git a/translated/tech/20110917 Have I been hacked by root-notty- - Sysadmin World.md b/translated/tech/20110917 Have I been hacked by root-notty- - Sysadmin World.md new file mode 100644 index 0000000000..11ace10e66 --- /dev/null +++ b/translated/tech/20110917 Have I been hacked by root-notty- - Sysadmin World.md @@ -0,0 +1,22 @@ +我是被 root@notty 黑了吗? +====== + +当你在 `ps aux` 的输出中看到 `sshd:root@notty` 时会觉得很奇怪吧,`notty` 算是哪门子的主机,是不是黑客计算机的名字啊。不过不用担心; `notty` 仅仅是表示 `no tty` 而已。 + +当你在本地登陆 linux 机器时,登陆终端会在进程列表中显示为 `tty`( 比如。tty7)。若你通过 ssh 登陆一台远程服务器,则会看到类似 `root@pts/0` 这样的东西。 + +而若某个连接是由 sftp 或者是由 scp 拷贝文件而创建的,则该连接会会显示成 no tty (notty)。 + +如果你仍然想知道服务器上发生了什么事情,可以检查 `ps auxf` 的输出来查看进程树,或者运行 `netstat -vatn` 来检查所有的 TCP 连接。 + +-------------------------------------------------------------------------------- + +via: http://www.sysadminworld.com/2011/ps-aux-shows-sshd-rootnotty/ + +作者:[sysadminworld][a] +译者:[lujun9972](https://github.com/lujun9972) +校对:[校对者ID](https://github.com/校对者ID) + +本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出 + +[a]:http://www.sysadminworld.com