<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>akm</author_name>
  <author_url>https://blog.hatena.ne.jp/akm/</author_url>
  <blog_title>akimatter</blog_title>
  <blog_url>https://akm.hatenadiary.org/</blog_url>
  <categories>
    <anon>linux</anon>
    <anon>ruby</anon>
    <anon>ssh</anon>
  </categories>
  <description>sshコマンドでlocalhostに既にログインしているユーザーでログインすると、.bash_profileで設定している環境変数とかが反映されるけど、Net::SSHで同じようにログインすると環境変数が設定されていないっす。なんで？こちらを参考にしました。http://webos-goodies.jp/archives/51357031.htmlNet::SSHでログインした場合、ちゃんと /var/log/secureにもログインしたってでてるし、env で変数を出力させても SHELLには /bin/bash と出てる。でも ~/.bash_profile も /etc/profile …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fakm.hatenadiary.org%2Fentry%2F20081122%2F1227342836&quot; title=&quot; Net::SSHとsshコマンドの違い？ - akimatter&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2008-11-22 17:33:56</published>
  <title> Net::SSHとsshコマンドの違い？</title>
  <type>rich</type>
  <url>https://akm.hatenadiary.org/entry/20081122/1227342836</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
