By default Ubuntu Desktop OS comes with ssh clientpackage. 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 sudo /etc/init.d/ssh restart
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.
本文将指导您在Ubuntu12.04中安装SSH客户端和服务,通过运行特定命令来确认SSH服务是否正常工作,并强调了在远程和本地机器之间通信时打开SSH端口的重要性。
813

被折叠的 条评论
为什么被折叠?



