特殊:Badtitle/NS100:SSH
![]() |
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/SSH }} |
![]() |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:SSH | UbuntuHelp:SSH | {{#if: | :}}SSH}}/af | • {{#if: UbuntuHelp:SSH|Afrikaans| [[::SSH/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SSH | UbuntuHelp:SSH | {{#if: | :}}SSH}}/ar | • {{#if: UbuntuHelp:SSH|العربية| [[::SSH/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SSH | UbuntuHelp:SSH | {{#if: | :}}SSH}}/az | • {{#if: UbuntuHelp:SSH|azərbaycanca| [[::SSH/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SSH | UbuntuHelp:SSH | {{#if: | :}}SSH}}/bcc | • {{#if: UbuntuHelp:SSH|جهلسری بلوچی| [[::SSH/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SSH | UbuntuHelp:SSH | {{#if: | :}}SSH}}/bg | • {{#if: UbuntuHelp:SSH|български| [[::SSH/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SSH | UbuntuHelp:SSH | {{#if: | :}}SSH}}/br | • {{#if: UbuntuHelp:SSH|brezhoneg| [[::SSH/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SSH | UbuntuHelp:SSH | {{#if: | :}}SSH}}/ca | • {{#if: UbuntuHelp:SSH|català| [[::SSH/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SSH | UbuntuHelp:SSH | {{#if: | :}}SSH}}/cs | • {{#if: UbuntuHelp:SSH|čeština| [[::SSH/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SSH | UbuntuHelp:SSH | {{#if: | :}}SSH}}/de | • {{#if: UbuntuHelp:SSH|Deutsch| [[::SSH/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SSH | UbuntuHelp:SSH | {{#if: | :}}SSH}}/el | • {{#if: UbuntuHelp:SSH|Ελληνικά| [[::SSH/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SSH | UbuntuHelp:SSH | {{#if: | :}}SSH}}/es | • {{#if: UbuntuHelp:SSH|español| [[::SSH/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SSH | UbuntuHelp:SSH | {{#if: | :}}SSH}}/fa | • {{#if: UbuntuHelp:SSH|فارسی| [[::SSH/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SSH | UbuntuHelp:SSH | {{#if: | :}}SSH}}/fi | • {{#if: UbuntuHelp:SSH|suomi| [[::SSH/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SSH | UbuntuHelp:SSH | {{#if: | :}}SSH}}/fr | • {{#if: UbuntuHelp:SSH|français| [[::SSH/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SSH | UbuntuHelp:SSH | {{#if: | :}}SSH}}/gu | • {{#if: UbuntuHelp:SSH|ગુજરાતી| [[::SSH/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SSH | UbuntuHelp:SSH | {{#if: | :}}SSH}}/he | • {{#if: UbuntuHelp:SSH|עברית| [[::SSH/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SSH | UbuntuHelp:SSH | {{#if: | :}}SSH}}/hu | • {{#if: UbuntuHelp:SSH|magyar| [[::SSH/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SSH | UbuntuHelp:SSH | {{#if: | :}}SSH}}/id | • {{#if: UbuntuHelp:SSH|Bahasa Indonesia| [[::SSH/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SSH | UbuntuHelp:SSH | {{#if: | :}}SSH}}/it | • {{#if: UbuntuHelp:SSH|italiano| [[::SSH/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SSH | UbuntuHelp:SSH | {{#if: | :}}SSH}}/ja | • {{#if: UbuntuHelp:SSH|日本語| [[::SSH/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SSH | UbuntuHelp:SSH | {{#if: | :}}SSH}}/ko | • {{#if: UbuntuHelp:SSH|한국어| [[::SSH/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SSH | UbuntuHelp:SSH | {{#if: | :}}SSH}}/ksh | • {{#if: UbuntuHelp:SSH|Ripoarisch| [[::SSH/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SSH | UbuntuHelp:SSH | {{#if: | :}}SSH}}/mr | • {{#if: UbuntuHelp:SSH|मराठी| [[::SSH/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SSH | UbuntuHelp:SSH | {{#if: | :}}SSH}}/ms | • {{#if: UbuntuHelp:SSH|Bahasa Melayu| [[::SSH/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SSH | UbuntuHelp:SSH | {{#if: | :}}SSH}}/nl | • {{#if: UbuntuHelp:SSH|Nederlands| [[::SSH/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SSH | UbuntuHelp:SSH | {{#if: | :}}SSH}}/no | • {{#if: UbuntuHelp:SSH|norsk| [[::SSH/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SSH | UbuntuHelp:SSH | {{#if: | :}}SSH}}/oc | • {{#if: UbuntuHelp:SSH|occitan| [[::SSH/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SSH | UbuntuHelp:SSH | {{#if: | :}}SSH}}/pl | • {{#if: UbuntuHelp:SSH|polski| [[::SSH/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SSH | UbuntuHelp:SSH | {{#if: | :}}SSH}}/pt | • {{#if: UbuntuHelp:SSH|português| [[::SSH/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SSH | UbuntuHelp:SSH | {{#if: | :}}SSH}}/ro | • {{#if: UbuntuHelp:SSH|română| [[::SSH/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SSH | UbuntuHelp:SSH | {{#if: | :}}SSH}}/ru | • {{#if: UbuntuHelp:SSH|русский| [[::SSH/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SSH | UbuntuHelp:SSH | {{#if: | :}}SSH}}/si | • {{#if: UbuntuHelp:SSH|සිංහල| [[::SSH/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SSH | UbuntuHelp:SSH | {{#if: | :}}SSH}}/sq | • {{#if: UbuntuHelp:SSH|shqip| [[::SSH/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SSH | UbuntuHelp:SSH | {{#if: | :}}SSH}}/sr | • {{#if: UbuntuHelp:SSH|српски / srpski| [[::SSH/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SSH | UbuntuHelp:SSH | {{#if: | :}}SSH}}/sv | • {{#if: UbuntuHelp:SSH|svenska| [[::SSH/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SSH | UbuntuHelp:SSH | {{#if: | :}}SSH}}/th | • {{#if: UbuntuHelp:SSH|ไทย| [[::SSH/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SSH | UbuntuHelp:SSH | {{#if: | :}}SSH}}/tr | • {{#if: UbuntuHelp:SSH|Türkçe| [[::SSH/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SSH | UbuntuHelp:SSH | {{#if: | :}}SSH}}/vi | • {{#if: UbuntuHelp:SSH|Tiếng Việt| [[::SSH/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SSH | UbuntuHelp:SSH | {{#if: | :}}SSH}}/yue | • {{#if: UbuntuHelp:SSH|粵語| [[::SSH/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SSH | UbuntuHelp:SSH | {{#if: | :}}SSH}}/zh | • {{#if: UbuntuHelp:SSH|中文| [[::SSH/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SSH | UbuntuHelp:SSH | {{#if: | :}}SSH}}/zh-hans | • {{#if: UbuntuHelp:SSH|中文(简体)| [[::SSH/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SSH | UbuntuHelp:SSH | {{#if: | :}}SSH}}/zh-hant | • {{#if: UbuntuHelp:SSH|中文(繁體)| [[::SSH/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:SSH|:SSH|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :SSH/zh | | {{#ifexist: SSH/zh | | {{#ifeq: {{#titleparts:SSH|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:SSH|1|-1|}} | zh | | }}
- title SSH
Parent page: Internet and Networking
Introduction
SSH ("Secure SHell") is a protocol for securely accessing one computer from another. Despite the name, SSH allows you to run command line and graphical programs, transfer files, and even create secure virtual private networks over the Internet. To use SSH, you will need to install an SSH client on the computer you connect from, and an SSH server on the computer you connect to. The most popular Linux SSH client and Linux SSH server are maintained by the OpenSSH project. The OpenSSH client is included in Ubuntu by default. For information on connecting to an SSH server, see Connecting to an OpenSSH Server. To install the OpenSSH server, install the following package: openssh-server.
![]() |
Make sure you have a strong password before installing an SSH server (you may want to disable passwords altogether) |
Resources
Some information on using an SSH server is available below. To use these guides, you must be an Ubuntu user that's comfortable using the command-line, editing configuration files, and starting and stopping daemon programs.