1. 打开终端,执行命令:
sudo apt-get install ssh
提示如下:
输入 Y 继续安装,从下面界面看到已经完成安装,并启动运行
完整输入及输出内容如下:
chensl@ubuntu:~$ sudo apt-get install ssh [sudo] password for chensl: Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: linux-headers-3.2.0-29 linux-headers-3.2.0-29-generic Use 'apt-get autoremove' to remove them. The following extra packages will be installed: openssh-server ssh-import-id Suggested packages: rssh molly-guard openssh-blacklist openssh-blacklist-extra monkeysphere The following NEW packages will be installed: openssh-server ssh ssh-import-id 0 upgraded, 3 newly installed, 0 to remove and 6 not upgraded. Need to get 346 kB of archives. After this operation, 910 kB of additional disk space will be used. Do you want to continue [Y/n]? Y Get:1 http://us.archive.ubuntu.com/ubuntu/ precise/main openssh-server amd64 1:5.9p1-5ubuntu1 [339 kB] Get:2 http://us.archive.ubuntu.com/ubuntu/ precise/main ssh all 1:5.9p1-5ubuntu1 [1,278 B] Get:3 http://us.archive.ubuntu.com/ubuntu/ precise/main ssh-import-id all 2.10-0ubuntu1 [6,598 B] Fetched 346 kB in 3s (92.6 kB/s) Preconfiguring packages ... Selecting previously unselected package openssh-server. (Reading database ... 167009 files and directories currently installed.) Unpacking openssh-server (from .../openssh-server_1%3a5.9p1-5ubuntu1_amd64.deb) ... Selecting previously unselected package ssh. Unpacking ssh (from .../ssh_1%3a5.9p1-5ubuntu1_all.deb) ... Selecting previously unselected package ssh-import-id. Unpacking ssh-import-id (from .../ssh-import-id_2.10-0ubuntu1_all.deb) ... Processing triggers for ureadahead ... ureadahead will be reprofiled on next reboot Processing triggers for ufw ... Processing triggers for man-db ... Setting up openssh-server (1:5.9p1-5ubuntu1) ... Creating SSH2 RSA key; this may take some time ... Creating SSH2 DSA key; this may take some time ... Creating SSH2 ECDSA key; this may take some time ... ssh start/running, process 3268 Setting up ssh (1:5.9p1-5ubuntu1) ... Setting up ssh-import-id (2.10-0ubuntu1) ... chensl@ubuntu:~$
2. 检查是否已经安装完成并运行:
输入命令:
ps -e | grep ssh
显示如下内容,则表明已经安装并启动
2017 ? 00:00:00 ssh-agent 3408 ? 00:00:00 sshd
相关推荐
在安装操作系统时,务必选择开启SSH服务器(OpenSSH Server)和LAMP服务器(Linux, Apache, MySQL, PHP)。LAMP环境是运行Web应用的基础,包括Apache Web服务器、MySQL数据库和PHP脚本语言。安装过程中,你会被要求...
- **OPENSSH SERVER**:这将安装并开启SSH服务,允许远程登录。 - **LAMPP SERVER**:包含Apache Web服务器、MySQL数据库和PHP环境,是搭建Web应用的基础。 ### 第三步:设置root密码和登录 操作系统安装完成后...
安装操作系统时,需要选择 OPENSSH SERVER 和 LAMP SERVER 选项。注意,在 LAMP 安装过程中,需要设置 MySQL 的 ROOT 密码,这个密码非常重要,需要记住,因为后面还需要使用。 二、配置操作系统 安装操作系统完成...
首先,需要准备一份 Ubuntu 12.04.01 LTS 的 ISO 文件,并将其安装到服务器上。在安装过程中,需要选中 OPENSSH SERVER 和 LAMP SERVER 两个功能,OPENSSH SERVER 用于远程登录服务器,而 LAMP SERVER 则是 ...
3. **实验环境**:实验在Ubuntu 12.04.01操作系统上进行,利用Nachos-3.4版本作为开发和运行平台。这个环境允许学生在Linux环境下编译和测试Nachos文件系统。 4. **文件系统命令**: - `-f`:格式化硬盘,初始化...
NFC_NCIHAL_docs Git存储库 描述 签出命令 ... 12.04.01(SN100 / SN110 / SN220) NFC_AR_00_E000_12.04.01_OpnSrc “ br_android_ncihalx_comm_11”分支上的受支持版本 Android版 恩智浦发布 恩智浦标
在 ofbiz 12 版本中,SSO 功能集成在 `apache-ofbiz-12.04.01\specialpurpose\ldap` 目录下。要启用 SSO,需要将此目录下的应用加载到组件配置文件 `component.xml` 中。具体步骤如下: 1. **配置 LDAP**:首先,...