如何用xshell连接vmware虚拟机?

in #cn-programming7 years ago (edited)

1.虚拟机ubuntu中默认没有安装ssh,首先安装ssh-server

$ sudo apt-get install openssh-server

2.开启ssh服务

$ sudo /etc/init.d/ssh restart

3.查看虚拟机ip

$ifconfig
其中inet addr:xxx.x.x.x是选择连接的ip

4.打开xshell填入以上的ip,选择22端口,填写账号密码连接。

Sort:  

Congratulations @zhenghao! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

Happy Birthday - 1 Year on Steemit
Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

By upvoting this notification, you can help all Steemit users. Learn how here!

Thanks for yur good posts, I followed you!

Congratulations @zhenghao! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 3 years!

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Vote for @Steemitboard as a witness to get one more award and increased upvotes!

Coin Marketplace

STEEM 0.16
TRX 0.15
JST 0.028
BTC 54266.19
ETH 2288.06
USDT 1.00
SBD 2.31