LoginSignup
15

More than 5 years have passed since last update.

プライベートIPからのみSSH接続出来るようにするauthorized_keysの書き方

Last updated at Posted at 2013-07-28

テンプレとしてメモ

from="10.0.0.0/8,172.16.0.0/12,192.168.0.0/16,127.0.0.0/8" ssh-rsa AAAA... KEYNAME

from="" のダブルクオートはダブルクオートでなければいけないので注意。シングルクォーテーションを使ってみたり、ダブルクオーテーションを省略したりすると認証出来ない。

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
15