小编wei*_*wei的帖子

为什么 sshd(openssh) 为每个连接创建两个进程?

登录前:

$ ps -elf | grep sshd
5 S root     26135     1  0  80   0 - 13115 ?      17:26 ?        00:00:00 /usr/sbin/sshd
0 S test     26480 21337  0  80   0 -  4154 -      18:41 pts/27   00:00:00 grep --colour=auto sshd
Run Code Online (Sandbox Code Playgroud)

登录后:

$ ps -elf | grep sshd
5 S root     26135     1  0  80   0 - 13115 ?      17:26 ?        00:00:00 /usr/sbin/sshd
4 S root     26577 26135  0  80   0 - 24204 ?      18:42 ?        00:00:00 sshd: test [priv] 
5 S …
Run Code Online (Sandbox Code Playgroud)

linux ssh

28
推荐指数
1
解决办法
9130
查看次数

在 Ubuntu 上使用 KVM 使用 libvirt 0.8.3 从主机到客户机的端口转发

主机有一个可用的外部 IP,因此我使用 NAT 设置了我的 KVM 来宾。

如何设置端口转发来转发一些来自外部的请求给客人?

我找不到任何关于此的文档。最接近的答案可能是这个答案,但也提到在 libvirt 0.8.3 中有更简单的方法来做到这一点。有谁知道更现代的方法来做到这一点?

ubuntu libvirt kvm-virtualization

14
推荐指数
1
解决办法
1万
查看次数

标签 统计

kvm-virtualization ×1

libvirt ×1

linux ×1

ssh ×1

ubuntu ×1