Tobotobo / my_knowledge_base

0 stars 0 forks source link

Windows の SSH で使用する秘密鍵と公開鍵を ssh-keygen を用いて作成する #9

Open Tobotobo opened 3 months ago

Tobotobo commented 3 months ago

※Windows10 で確認

作成

コマンドプロンプトの場合

ssh-keygen -t ed25519 -N "" -f "%USERPROFILE%\.ssh\id_ed25519"

PowerShell の場合

ssh-keygen -t ed25519 -N '""' -f "$env:USERPROFILE\.ssh\id_ed25519"

作成先のフォルダを開く

コマンドプロンプトの場合

explorer "%USERPROFILE%\.ssh"

PowerShell の場合

explorer "$env:USERPROFILE\.ssh"