博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
在Ubuntu 桌面版 12.04 LTS安装并运行SSH
阅读量:7082 次
发布时间:2019-06-28

本文共 728 字,大约阅读时间需要 2 分钟。

第一步:安装openssh-server

#sudo apt-get install openssh-server

第二步:查看ssh服务是否已经运行,执行

#ps -e | grep ssh

执行完后可以看到ssh-agent和sshd都运行了。

第三步:重启shh服务

#service sshd restart

第四步:从别的机器上用secureCRT登录Ubundu机器,输入用户名密码,终端显示:

Welcome to Ubuntu 12.04 LTS (GNU/Linux 3.2.0-23-generic-pae i686)

 * Documentation:  https://help.ubuntu.com/
The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.
hy@hy-Aspire-SA10:~$ pwd
/home/hy

这说明SSH服务已经成功了。

至此全文结束,有问题还望您提出。

本文转自张昺华-sky博客园博客,原文链接:http://www.cnblogs.com/xiandedanteng/p/3283817.html,如需转载请自行联系原作者

你可能感兴趣的文章
wxwidgets wxstring与std::string互相转换
查看>>
zoj 2316 Matrix Multiplication(2-D)
查看>>
ios委托delegate与协议protocol
查看>>
Java动态调用webService,axis2动态调用webService
查看>>
PHP 发送邮件
查看>>
java初学代码,还不太熟练
查看>>
gb2312提交的url编码转换成utf8的查询
查看>>
python使用SUDS调用webservice
查看>>
会议室预定设计
查看>>
oracle lengthb
查看>>
js执行效率小结
查看>>
5.Selector详解
查看>>
[LeetCode] Set Matrix Zeroes 解题报告
查看>>
[转载]Linux open函数简介
查看>>
未能读取并闩锁页 (1:xxxxx)(用闩锁类型 SH)
查看>>
字符串 和null值相加 结果依然是null值的实验
查看>>
MSSQL 2005数据库可疑状态
查看>>
样本方差与总体方差
查看>>
cmake安装MySQL
查看>>
初学WebGL引擎-BabylonJS:第3篇-方向纹理与相机
查看>>