感谢支持
我们一直在努力

Ubuntu 12.04 SSH 安装

By default Ubuntu Desktop OS comes with ssh client package. It does not include ssh server package which is needed to access this machine.


To install SSH on the newly installed Ubuntu 12.04 run following commands

sudo apt-get update
sudo apt-get install ssh

That’s it. To confirm the working ssh. Run the following commands from another machine

ssh username@IP_of_the_ubuntu_machine

If you get following error then
1. ssh is not running on the remote server
2. ssh is configured to run on different port

ssh: connect to host 192.168.1.10 port 22: Connection refused

Also remember to open ssh port between remote and host machine for communication.


更多Ubuntu相关信息见Ubuntu 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=2

赞(0) 打赏
转载请注明出处:服务器评测 » Ubuntu 12.04 SSH 安装
分享到: 更多 (0)

听说打赏我的人,都进福布斯排行榜啦!

支付宝扫一扫打赏

微信扫一扫打赏