Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use Putty to log in to ubuntu installed in VirtualBox

2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article will explain in detail how to use Putty to log in to ubuntu installed in VirtualBox. Xiaobian thinks it is quite practical, so share it with you as a reference. I hope you can gain something after reading this article.

I installed ubuntu operating system using VirtualBox on Windows operating system.

Operating ubuntu terminal in VirtualBox is not very convenient, for example, I want to copy some commands in Windows to ubuntu terminal execution. Putty supports this cross-system copy-paste operation by default. VirtualBox cannot resize fonts in a console, while Putty can easily modify fonts in a console.

So how do I connect to ubuntu installed in a local virtual machine with Putty?

(1). Ubuntu virtualizer network is set to NAT mode:

(2). Select Advanced Mode and turn on Port Forwarding:

Maintain the following rule:

(3). Open Putty and create a new login session. Enter the Host IP and Host Port maintained in VirtualBox. Connection type selected as SSH

(4). Install SSH Server in VirtualBox ubuntu:

sudo apt-get install openssh-server

Start SSH service:

Ensure SSH service starts successfully.

After that, you can use Putty to log in to ubuntu installed in VirtualBox:

About "how to use Putty login installed in VirtualBox ubuntu" this article is shared here, I hope the above content can be of some help to everyone, so that you can learn more knowledge, if you think the article is good, please share it to let more people see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report