ユーザ用ツール

サイト用ツール


public:win11_wsl2_ssh

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
次のリビジョン
前のリビジョン
public:win11_wsl2_ssh [2024/03/05 10:43] – [ssh接続設定のファイル] hirata.nanakopublic:win11_wsl2_ssh [2024/03/18 11:13] (現在) – [鍵の登録] hirata.nanako
行 92: 行 92:
 Enter file in which to save the key (/home/username/.ssh/id_ecdsa): Enter file in which to save the key (/home/username/.ssh/id_ecdsa):
 Created directory '/home/username/.ssh'. Created directory '/home/username/.ssh'.
-Enter passphrase (empty for no passphrase):   # パスフレーズ入力 +Enter passphrase (empty for no passphrase):     # パスフレーズ入力 
-Enter same passphrase again:   # パスフレーズ入力+Enter same passphrase again:                    # パスフレーズ入力
 Your identification has been saved in /home/username/.ssh/id_ecdsa Your identification has been saved in /home/username/.ssh/id_ecdsa
 Your public key has been saved in /home/username/.ssh/id_ecdsa.pub Your public key has been saved in /home/username/.ssh/id_ecdsa.pub
行 120: 行 120:
 作成した鍵を ssh-agent に登録する. (#以降はコメント) 作成した鍵を ssh-agent に登録する. (#以降はコメント)
 <code> <code>
-username@localhost:~$ eval $(ssh-agent) # ssh-agent を起動する+username@localhost:~$ eval $(ssh-agent)             # ssh-agent を起動する
 Agent pid 658 Agent pid 658
-username@localhost:~$ ssh-add ~/.ssh/id_ecdsa # 鍵を登録 +username@localhost:~$ ssh-add ~/.ssh/id_ecdsa       # 鍵を登録 
-Enter passphrase for /home/username/.ssh/id_ecdsa: # パスフレーズ+Enter passphrase for /home/username/.ssh/id_ecdsa:  # パスフレーズ
 Identity added: /home/username/.ssh/id_ecdsa (username@Win11) Identity added: /home/username/.ssh/id_ecdsa (username@Win11)
 </code> </code>
public/win11_wsl2_ssh.1709603020.txt.gz · 最終更新: 2024/03/05 10:43 by hirata.nanako

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki