0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

VirtualBoxで作ったLinuxサーバーとTera tarmを繋いで効率化をする。

0
Posted at

teratarmとLinuxサーバーを結び付けてみたので、私が行ったやり方を伝えます。

何故Tera termと結びつけるべきなのか。
Windows上でコンソールを遠隔操作することによって、

1,Windowsでコピペを貼り付けられる
2,操作のしやすさが向上

以上の二点の利点が得られる。

方法
(事前準備)
・SSHサーバーのインストール
(sudo apt install openssh-server)
・IPアドレス取得プログラムのインストール
(sudo apt install isc-dhcp-client)

(1)VirtualBoxにて、「設定→ネットワーク→アダプター2→割り当て→ホストオンリーアダプターを選択」

(2)Linuxサーバーにて、以下のことをやってください。
・ホストオンリーアダプターの設定
(sudo ip link set enp0s8 up)
・IPアドレスの取得&確認
(sudo dhclient enp0s8 、 ip a)
・SSHサービスの起動&ポート22番が待ち受けになっているか確認
(sudo systemctl start sshd 、 ss -antp | grep 22)

(3)Tera tarmuserに、仮想マシンで決めたユーザー名、パスワードを入力してください。あとにでるセキュリティ警告において続行をおしたら完了です。

以上でできるようになるはずです。

0
0
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
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?