7
2

More than 5 years have passed since last update.

Windows Subsystem for Linux上にsshdを立ててlocalhost宛にsshしてbashを使う

Last updated at Posted at 2017-09-23

掲題の通りです。
僕は以下の宗教上の理由からteraterm信者なので、どうしてもteratermからbashを使いたいのです。

  • 右上「✕」(もしくはAlt+F4)で閉じる際、「切断しますか?」と確認してくれる。
  • コンソールログにタイムスタンプを付与できる。
  • コンソールログに制御文字が残らない。

なので Windows Subsystem for Linux 上に sshd 立てます。

https://github.com/koginoadm/wsl/blob/master/service/install-wsl-and-sshd.bat
https://github.com/koginoadm/wsl/blob/master/service/sshd.bat

立てました。

※注意
上記スクリプトはWindowsファイアウォールの22/tcpに穴を開けます。
「localhostでしか使わない!」という方は、お手数ですがファイアウォールルールを削除してください。

おわり。

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