LoginSignup
7
7

More than 5 years have passed since last update.

MacからSSHで接続する方法

Last updated at Posted at 2016-04-08

ポイントだけまとめました。追加があれば追記します。

秘密鍵の配置

$ mv id_rsa ~/.ssh/
$ chmod 600 id_rsa 

sshコマンドで対象サーバに接続

$ ssh -i ~/.ssh/id_rsa/  【login_user】@【hostname】 -p 22

ポイント

  • 秘密鍵のパーミッションを600にしないと、キーチェーンアクセスで読み取りができないため、要注意です。
7
7
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
7
7