<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" xmlns:its="http://www.w3.org/2005/11/its" type="topic" style="task" version="1.0 if/1.0" id="sharing-secure-shell" xml:lang="zh-CN">

  <info>
    <link type="guide" xref="sharing"/>
    <link type="guide" xref="prefs-sharing"/>

    <include xmlns="http://www.w3.org/2001/XInclude" href="legal.xml"/>

    <desc>允许使用 SSH 通过网络远程登录您的计算机。</desc>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>TeliuTe</mal:name>
      <mal:email>teliute@163.com</mal:email>
      <mal:years>2011, 2012</mal:years>
    </mal:credit>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>tuberry</mal:name>
      <mal:email>orzun@foxmail.com</mal:email>
      <mal:years>2021</mal:years>
    </mal:credit>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Victor_Trista</mal:name>
      <mal:email>ljlzjzm@hotmail.com</mal:email>
      <mal:years>2023</mal:years>
    </mal:credit>
  </info>

  <title>启用通过 SSH 远程访问</title>

  <note style="important">
    <p>You need to have <app>OpenSSH Server</app> installed on your computer to
    change this setting.</p>
    <if:if xmlns:if="http://projectmallard.org/if/1.0/" test="action:install">
      <p><link style="button" action="install:openssh-server">Install
      <app>OpenSSH Server</app></link></p>
    </if:if>
  </note>

  <p>您可以允许网络上的另一台设备通过 SSH 远程登录您的计算机。配置 <gui>SSH</gui> 以允许远程登录。</p>

  <p>您需要<link xref="user-admin-explain">管理员权限</link>来配置 SSH。</p>

  <steps>
    <item>
      <p>打开<gui xref="shell-introduction#activities">活动</gui>概览后输入<gui>系统</gui>。</p>
    </item>
    <item>
      <p>点击<gui>系统</gui>打开面板。</p>
    </item>
    <item>
      <p>点击 <gui>SSH</gui>。</p>
    </item>
    <item>
      <p>打开<gui>SSH</gui>。这将允许通过 SSH 远程访问此计算机。连接到您的网络的人员将能够尝试登录您的计算机。</p>
      <note style="info">
        <p>您可以使用 <gui>SSH 登录命令</gui>通过网络连接到您的计算机。此命令使用您配置的<link xref="about-hostname">设备名称</link>。</p>
      </note>
    </item>
  </steps>

</page>
