ユーザ用ツール

サイト用ツール


public:macos10_openssh

差分

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

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
次のリビジョン
前のリビジョン
public:macos10_openssh [2023/03/29 10:44] segawapublic:macos10_openssh [2023/09/29 11:27] (現在) – [OpenSSH on macOS 13] segawa
行 1: 行 1:
-====== OpenSSH on macOS 10.15 ======+====== OpenSSH on macOS ======
  
 ==== 1. How to generate your SSH private key and public key ==== ==== 1. How to generate your SSH private key and public key ====
-On your macOS ''Terminal'' application, you execute<code> +On your macOS ''Terminal'' application, you type the command. 
-ssh-keygen -t ecdsa</code>+|macOS$ ''ssh-keygen -t ecdsa''This command generates your SSH private key and public key of the ECDSA type.
-This command generates your SSH private key and public key of the ECDSA type.+|<code>Enter file in which to save the key (/Users/XXXX/.ssh/id_ecdsa):</code>|This inquiry is where your SSH key will be placed. Do not change.| 
 +|<code>Enter passphrase (empty for no passphrase):</code>|To prevent misuse of your SSH private key, please enter your passphrase in this query. This ''passphrase'' does not have to be the same as your login password.| 
 Your SSH public key is ''$HOME/.ssh/id_ecdsa.pub''. Your SSH public key is ''$HOME/.ssh/id_ecdsa.pub''.
 Then you register the generated key in your macOS ''keychain'' application<code> Then you register the generated key in your macOS ''keychain'' application<code>
行 16: 行 18:
   ForwardX11 yes   ForwardX11 yes
   ForwardX11Trusted yes   ForwardX11Trusted yes
-  IdentityFile /Users/XXXX/id_ecdsa+  IdentityFile /Users/XXXX/.ssh/id_ecdsa
   UseKeychain yes   UseKeychain yes
   AddKeysToAgent yes   AddKeysToAgent yes
-</code>Replace "XXXXwith your macOS username. +</code>Replace ''XXXX'' with your macOS username. 
 +The ''UseKeychain'' is for macOS only.
  
 ---- ----
   * [[public:top|Public]]   * [[public:top|Public]]
public/macos10_openssh.1680054290.txt.gz · 最終更新: 2023/03/29 10:44 by segawa

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki