0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

VirtualboxにUbuntu serverをインストールし、TeraTermでSSH接続する

Posted at

環境:windows10 pro

Virtualboxをインストール

Oracle Virtualbox
VirtualBox 6.0.4 platform packages
-> Windows hosts

Ubuntをインストール

Ubuntu 16.04
-> ubuntu-16.04.5-server-amd64.iso

Virtualbox内にUbuntuをインストール

Setting -> Storage -> Controller IDE -> Empty の所を
先ほどインストールしたubuntu-16.04.5-server-amd64.isoに変える

image.png

TeraTermをインストール

TeraTerm
Tera Term 4.101 -> teraterm-4.101.exe

ポートフォワーディングを設定

Setting -> Network -> PortForwarding を下記のように設定
image.png

TeraTermでVirtualBoxのUbuntuへSSH接続

Virtualboxのコンソールからroot権限(sudo bash)で以下のコマンドを実行

VirtualBoxのUbuntuへSSH接続

下図の順で実行
image.png

image.png
https://www.out48.com/archives/1393/
image.png

image.png

接続完了

おまけ

netstat
何のプロセスが何のポート使っているかを調べる

$ netstat -tlnp

bashrc
shell起動時に実行するもの
ここに、Proxyの設定を書く

$ vi ~/bashrc

参考

Windows10にVirtualBoxとUbuntuをインストール
VirtualBoxのUbuntu ServerにTera TermでSSH接続する手順
Linuxでプロセスが何のポート使っているかを調べる
bashrcファイルについて

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?