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?

negishi_tako完走したい!!Advent Calendar 2023

Day 20

SSH接続してみよう

Last updated at Posted at 2023-12-19

SSH接続してみよう

SSHしてみる

sshコマンド

PC C:\Users> ssh

ssh叩いてみてエラーが出たら入れよう。調べて。最近のWindowsは標準で入ってるらしい

PC C:\Users> 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 destination] [-L address] [-l login_name] [-m mac_spec]
           [-O ctl_cmd] [-o option] [-P tag] [-p port] [-Q query_option]
           [-R address] [-S ctl_path] [-W host:port] [-w local_tun[:remote_tun]]
           destination [command [argument ...]]

これはOKな例

ssh [ホスト名]@[IPアドレス]

でアクセスできます。

SSHのポート

デフォルトは22番ポートですが変えておくとセキュリティ的にGOODです。

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?