ユーザ用ツール

サイト用ツール


public:win11_wsl2_ssh

差分

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

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
次のリビジョン
前のリビジョン
public:win11_wsl2_ssh [2024/03/18 11:13] – [鍵ペアの作成] hirata.nanakopublic:win11_wsl2_ssh [2026/03/24 15:15] (現在) – [Ubuntu Linux の起動と初期設定] hirata.nanako
行 63: 行 63:
  
 <code> <code>
-username@localhost:/etc/apt$ sudo apt update +username@localhost:~$ sudo apt update 
-username@localhost:/etc/apt$ sudo apt -y full-upgrade+username@localhost:~$ sudo apt -y full-upgrade
 </code> </code>
  
 Timezone, locale を確認し, 必要であれば適宜変更する. Timezone, locale を確認し, 必要であれば適宜変更する.
 <code> <code>
-username@localhost:/etc/apt$ timedatectl+username@localhost:~$ timedatectl
                Local time: Fri 2024-01-12 11:51:24 JST                Local time: Fri 2024-01-12 11:51:24 JST
            Universal time: Fri 2024-01-12 02:51:24 UTC            Universal time: Fri 2024-01-12 02:51:24 UTC
行 77: 行 77:
               NTP service: inactive               NTP service: inactive
           RTC in local TZ: no           RTC in local TZ: no
-username@localhost:/etc/apt$ localectl status+username@localhost:~$ localectl status
    System Locale: LANG=C.UTF-8    System Locale: LANG=C.UTF-8
        VC Keymap: n/a        VC Keymap: n/a
行 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.1710727993.txt.gz · 最終更新: by hirata.nanako

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki