windows 如何连接虚拟机 ubuntu

用telnet 或者 putty 如何连接虚拟机上ubuntu

1. 需要安装 ssh 服务

   sudo apt-install openssh-server

2.启动ssh 服务

   sudo /etc/init.d/ssh restart

   ssh localhost

3. 测试ssh 服务

    netstat -tlp

    #=> tcp 6 0 0[::]:ssh [::]:* LISTEN

            ......

    则说明ssh 启动成功

4. 在ubuntu 里, system -> Preferences -> Remote Desktop 选择 allow other user ...

如何需要上传文件到 ubuntn 上则可以用 FileZilla 上传工具,该工具的设置请看上传图片

猜你喜欢

转载自kennychen.iteye.com/blog/683418
今日推荐