{"blog_url":"https://sinsoku.hatenablog.com/","type":"rich","version":"1.0","blog_title":"\u30a2\u30b8\u30e3\u30a4\u30ebSE\u306e\u6182\u9b31","title":"Ruby \u3067 SSH \u9375\u3092\u751f\u6210\u3059\u308b\u65b9\u6cd5","image_url":null,"provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/sinsoku/","url":"https://sinsoku.hatenablog.com/entry/2016/01/25/202523","author_name":"sinsoku","width":"100%","height":"190","provider_url":"https://hatena.blog","description":"Rails \u3067 Web \u4e0a\u304b\u3089 SSH \u9375\u3092\u751f\u6210\u3057\u305f\u304f\u306a\u3063\u305f\u3051\u3069\u3001\u65b9\u6cd5\u304c\u306a\u304b\u306a\u304b\u898b\u3064\u304b\u3089\u306a\u304b\u3063\u305f\u304b\u3089\u66f8\u3044\u3066\u304a\u304f\u3002\u5099\u5fd8\u9332\u3002 \u30b3\u30fc\u30c9 Gemfile \u306b gem 'net-ssh' \u3092\u8ffd\u52a0\u3057\u3066\u3001\u2193\u307f\u305f\u3044\u306a\u30e2\u30c7\u30eb\u3092\u4f5c\u308c\u3070\u3046\u307e\u304f\u3067\u304d\u305f\u3002 class SslKey < ActiveRecord::Base belongs_to :user validates :user_id, presence: true validates :title, presence: true, uniqueness: { scope: :user } validates :private_key, presence: tr\u2026","published":"2016-01-25 20:25:23","categories":["ruby","rails"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsinsoku.hatenablog.com%2Fentry%2F2016%2F01%2F25%2F202523\" title=\"Ruby \u3067 SSH \u9375\u3092\u751f\u6210\u3059\u308b\u65b9\u6cd5 - \u30a2\u30b8\u30e3\u30a4\u30ebSE\u306e\u6182\u9b31\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}