<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yanterakun</author_name>
  <author_url>https://blog.hatena.ne.jp/yanterakun/</author_url>
  <blog_title>下級エンジニアの綴</blog_title>
  <blog_url>https://yanterakun.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>今回ハマった点ですが、タイトルの名の通りssh先のサーバでrailsサーバを立てるシェルを書いたのでが、ctrl + c で抜けるとsshはkillされてrailsのプロセスがssh先のサーバで残ったままだったので、解決方法を模索したメモになります。 ssh hostname 'rails s -b 0.0.0.0 -p 3005' とコマンドを実行した時、ssh先のサーバでrailsサーバを立ち上げてテストを行おうと思っており、実際に問題なく立ち上げることには成功しました。しかし、ctrl + cで処理を終了させるとsshのプロセスだけ死んでrails sのプロセスだけずっと残ったままでした…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyanterakun.hatenablog.com%2Fentry%2F2017%2F11%2F15%2F060000&quot; title=&quot;ssh先のサーバでrailsサーバを立ち上げるシェルを書いたのはいいけど、sshをkillするとrailsのプロセスが残ったままになったのでメモ - 下級エンジニアの綴&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>2017-11-15 06:00:00</published>
  <title>ssh先のサーバでrailsサーバを立ち上げるシェルを書いたのはいいけど、sshをkillするとrailsのプロセスが残ったままになったのでメモ</title>
  <type>rich</type>
  <url>https://yanterakun.hatenablog.com/entry/2017/11/15/060000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
