LoginSignup
14
14

More than 5 years have passed since last update.

SSH公開鍵をさくっとサーバへコピー

Last updated at Posted at 2013-01-24
cat ~/.ssh/id_rsa.pub | ssh myname@remotehost "cat >> ~/.ssh/authorized_keys"

ローカルからコマンド一発

※追記:ssh-copy-idというコマンドで同じ事が出来るようです。Macだとbrew install ssh-copy-idとかで導入可。
okkezさんコメントありがとうございます。

14
14
2

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
14
14