3
4

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.

windowsからssh接続をする:PowerShell/Win32-OpenSSH

Posted at

#メモ:windowsからssh接続をする

Microsoft公式のWin32-OpenSSHを使いSSH接続

##インストール
①以下のgithubリポジトリからzipファイルをDLする。
https://github.com/PowerShell/Win32-OpenSSH

②解凍したフォルダを任意の場所にコピー

③上記フォルダのパスを環境変数に追加

※pwershellから以下コマンドを打ってパスが通っている確認。

$ ssh
usage: ssh [-1246AaCfgKkMNnqsTtVvXxYy] [-b bind_address] [-c cipher_spec]
           [-D [bind_address:]port] [-E log_file] [-e escape_char]
           [-F configfile] [-I pkcs11] [-i identity_file]
           [-L [bind_address:]port:host:hostport] [-l login_name] [-m mac_spec]
           [-O ctl_cmd] [-o option] [-p port]
           [-Q cipher | cipher-auth | mac | kex | key]
           [-R [bind_address:]port:host:hostport] [-S ctl_path] [-W host:port]
           [-w local_tun[:remote_tun]] [user@]hostname [command]

④Powershellから対象のサーバにssh接続を行う。

以上です。とても簡単。

3
4
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
3
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?