當您第一次設定個人伺服器時,您可能會發現自己有很多關於它是什麼或不能做什麼的問題。有鑑於此,今天的超級使用者問答帖子為一位好奇的讀者提供了答案。
今天的問答環節是由SuperUser提供的,SuperUser是Stack Exchange的一個分支,是一個由社群驅動的問答網站分組。
卡薩布蘭卡提供的截圖(維基百科共享)。
超級使用者讀者Sam3000想知道是否可能有多個SSH連線到同一個系統:
I have a Linux computer acting as a server that can accept incoming SSH connecti***. Is it possible to reliably connect multiple devices at the same time, such as my mobile phone and laptop, as well as other desktops, to the same server using SSH?
有可能有多個SSH連線到同一個系統嗎?
超級使用者badge be和Hastur為我們提供了答案。首先,徽章是:
The Short Answer
Yes, it usually works by default.
The Long Answer
It depends on what you are using it for. It may slow down with multiple connecti***, but that is a bandwidth issue, not an SSH issue.
接著是哈斯特的回答:
Yes it is possible, it is the default behavior. You can rely on it if you are using an updated version of SSH and it is no longer set to Protocol 1. The command below should give you Protocol 2.
Limits for the Connecti***
You can look upon SSH as an encrypted evolution of telnet, born to allow remote access to a server. Note that SSH connects over TCP and it is able to forward X-sessi*** (graphical sessi***) too. Multi-tasking and multiple users are a part of the inner nature of Unix (even if it is not without limits).
You can see some of those limits in the TCP and SSH limits:
The kern.ipc.somaxconn sysctl(8) variable limits the size of the listening queue for accepting new TCP connecti***. The default value of 128 is typically too low for robust handling of new connecti*** on a heavily loaded web server.
References
1. man ssh and man sshd on your computer
2. The man pages for sshd and sshd_config
有什麼要補充的解釋嗎?在評論中發出聲音。想從其他精通技術的Stack Exchange使用者那裡瞭解更多答案嗎?在這裡檢視完整的討論主題。
...工具箱中最有用的工具,但是livecd能幫你做多少呢?livecd可能是所有geek工具箱中最有用的工具。本live CD操作指南概述了live CD或DVD可提供的許多用途,從資料恢復到增強隱私。 ...
...馳。他們通常以易用性換取靈活性和開箱即用的功能。這可能不是對每個人都有好處,但對那些喜歡它的人來說可能非常非常有吸引力。 ...
... 你可能知道Pi不是唯一的小型計算機專案。在過去的幾年裡,一些精裝、低成本的電腦已經為愛好者們釋出,在某種程度上與上世紀70年代和80年代的黃金自制時代相呼應。 ...
...。SSH和VPN都為我們提供了一個額外的安全和隱私層——這可能是您選擇將它們融入數字生活的全部原因。 ...
...thinkserverts140。根據您的硬體和Linux發行版,SSH的準備工作可能略有不同。 ...
... 例如,如果你正在使用你的Pi和相機模組,你可能喜歡把它帶到外面,也許是為了捕捉一些延時攝影。如果沒有透過SSH連線到Pi的無線網路,您將需要另一個解決方案,它可以透過PC或移動裝置工作。 ...
... 你的Android**或平板電腦可能大部分時間都線上。但是什麼樣的應用程式和服務正在連線到網際網路,它們正在下載(或上傳)什麼資料,這些資料將流向哪裡? ...
... 引導過程不應該花費太長時間,但是螢幕可能會閃爍,有時會變成空白。預設登入使用者名稱為root,密碼為toor。 ...