
- Ubuntu Tutorial
- Ubuntu - Home
- Ubuntu - Overview
- Ubuntu - Flavors
- Ubuntu - Environment
- Ubuntu - Device Drivers
- Ubuntu - Software Center
- Ubuntu - Browsers
- Ubuntu - Email
- Ubuntu - Messaging
- Ubuntu - Media Players
- Ubuntu - User Management
- Ubuntu - Files & Folders
- Ubuntu - Word Writer
- Ubuntu - Spreadsheets
- Ubuntu - LibreOffice
- Ubuntu - Command Line
- Ubuntu - Scripting
- Ubuntu - Networking
- Ubuntu - Server Installation
- Ubuntu - Secure Shell
- Ubuntu - Development
- Ubuntu - Nginx
- Ubuntu - Virtual Machines
- Ubuntu - Installing MySQL & Python
- Ubuntu - Node.js
- Ubuntu - Docker
- Ubuntu - On the Cloud
- Ubuntu Useful Resources
- Ubuntu - Quick Guide
- Ubuntu - Useful Resources
- Ubuntu - Discussion
Ubuntu-安全外壳
Linux 中的Secure Shell (SSH)用于以加密且安全的方式登录机器。这有助于提供安全通道来简化对 Ubuntu 服务器的所有请求。SSH 使用加密密钥登录服务器。
在 Windows 上,对 Linux 服务器执行安全 shell 的最常用工具是putty。在本章中,我们将学习如何使用 putty 将 Secure Shell 连接到服务器中。
步骤 1 - 从http://www.putty.org/站点下载 putty。

步骤 2 - 在连接使用 putty 之前,我们需要知道 Ubuntu 盒子的 IP 地址。为此,请在 Ubuntu 服务器的命令 shell 中键入 ifconfig。

从上面的截图我们知道服务器的IP地址是192.168.0.20
步骤 3 - 下一步是在服务器上安装 SSH。为了通过 SSH 连接到服务器,您需要确保它已安装。在 Ubuntu 服务器命令提示符会话中运行以下命令。
sudo apt-get install openssh-server

步骤 4 - 启动 PuTTY。输入 Ubuntu 服务器的 IP 地址,然后单击“打开”按钮。

步骤 5 - 下一个屏幕请求接受从服务器发送的加密密钥。

步骤 6 - 最后,输入用户名和密码登录服务器。我们已经成功地为服务器建立了安全外壳。
