系统教程
您现在的位置是:首页>服务器系统>Ubuntu系统内容

ubuntu下安装openssh-server以及通过xshell远程连接该服务器

时间:2018-04-28 出处:未知复制分享人气(次) 【

1.首先我是在VM虚拟机中安装的ubuntu 14.04,安装过程就是傻瓜式安装
 
2.安装好ubuntu之后,进入ubuntu ctrl+alt+t 调出命令窗口
 
3.执行 sudo apt-get update更新系统中的软件
 
4.执行sudo apt-get install openssh-server openssh-client
ubuntu下安装openssh-server以及通过xshell远程连接该服务器
 
5.安装完成之后重启ssh服务 sudo /etc/init.d/ssh restart
 
6.测试 执行命令 ssh 127.0.0.1
ubuntu下安装openssh-server以及通过xshell远程连接该服务器
 
7.下载并安装xshell
 
8.打开xshell =》新建会话
ubuntu下安装openssh-server以及通过xshell远程连接该服务器
名称随便起一个就行 主机:就是ubuntu系统的主机ip地址,其他的不用改
获取ubuntu ip地址:
执行 ifconfig命令
ubuntu下安装openssh-server以及通过xshell远程连接该服务器
然后按照提示一路走下去就远程登录到ubuntu服务器上,如下图所示:
ubuntu下安装openssh-server以及通过xshell远程连接该服务器
    最新资讯
    热门内容
    小米移动电源能为iPad mini充几次电