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 3 years have passed since last update.

【メモ】ソフト準備するのが面倒なのでWin10標準機能でSSH接続

Posted at

経緯

MacだとTerminalで即時SSHが使えますが、少し前のWindowsだとputtyとかTeratermのなどターミナルソフトのインストールが必要で面倒。

SSHでちょっとだけ繋げたいんや!

そう思ったら最近のWindows10だと標準でSSH機能が備わっているのが判ったのでメモ

環境

Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
新しいクロスプラットフォームの PowerShell をお試しください https://aka.ms/pscore6

PS C:\Users\user> ssh
usage: ssh [-46AaCfGgKkMNnqsTtVvXxYy] [-B bind_interface]
           [-b bind_address] [-c cipher_spec] [-D [bind_address:]port]
           [-E log_file] [-e escape_char] [-F configfile] [-I pkcs11]
           [-i identity_file] [-J [user@]host[:port]] [-L address]
           [-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port]
           [-Q query_option] [-R address] [-S ctl_path] [-W host:port]
           [-w local_tun[:remote_tun]] destination [command]

「なんだ!よくある使い方でいけるやん」って思って歓喜

使い方

PS C:\Users\user> ssh [接続ユーザー名]@[接続先]

鍵使う場合

-iオプションで鍵ファイルを指定ですね。

PS C:\Users\user> ssh -i [鍵ファイル名] [接続ユーザー名]@[接続先]

まとめ

私は環境汚したくない派なので、標準機能でサクッと接続してみましたが用途に合わせて使うソフトを選べばオッケーだと思います。

putty
Teraterm
hyper
RLogin

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?