ssh-copy-idで外部サーバにSSHでアクセスできるようにする

January 11, 2015

macから外部サーバにSSHで接続できるようにする設定のメモです。

ssh-copy-idコマンドのインストール

$ brew install ssh-copy-id

外部IPを指定して設定

ssh-copy-id -i ~/.ssh/id_rsa.pub xxx.xxx.xxx.xxx


Profile picture

Written by morizotter who lives and works in Tokyo building useful things. You should follow them on Twitter