码迷,mamicode.com
首页 > 系统相关 > 详细

使用Putty连接虚拟机中Ubuntu

时间:2015-08-20 00:56:58      阅读:191      评论:0      收藏:0      [点我收藏+]

标签:

一、准备

1.gust OS中Ubuntu确认安装并启动了SSH,

install command:

sudo apt-get install openssh-server

 

确认是否启动了ssh,

ps –e|grep ssh

如图所示说明已经启动了:

技术分享

如果只有 ssh-agent那ssh-server还没有启动,需要

/etc/init.d/ssh start

二、连接

1.在Ubuntu中查看eth0的inet地址:

ifconfig

2.使用Putty连接该地址的22端口,如果不能连接,可以尝试将虚拟机的网络适配置还原默认。

使用Putty连接虚拟机中Ubuntu

标签:

原文地址:http://www.cnblogs.com/lycsky/p/4743720.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!