<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Openssh Daemon ignores Ctrl-C interrupt in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/openssh-daemon-ignores-ctrl-c-interrupt/m-p/3212899#M168863</link>
    <description>My compilation of openssh on HPUX 10.20 (3.6, 3.7 and 3.8) all ignore the &lt;BR /&gt;interrupt key (Ctrl-C).&lt;BR /&gt;In an archived discussion on &lt;A href="http://marc.theaimsgroup.com/?l=openssh-unix-dev&amp;amp;r=1&amp;amp;w=2" target="_blank"&gt;http://marc.theaimsgroup.com/?l=openssh-unix-dev&amp;amp;r=1&amp;amp;w=2&lt;/A&gt; I found that sshd inherits tty settings upon &lt;BR /&gt;invocation and thus has no setting for INTR  when not started from a &lt;BR /&gt;regular shell.&lt;BR /&gt;&lt;BR /&gt;Does someone have a solution to this problem?&lt;BR /&gt;How can I get sshd started at system boot so that it does not ignore &lt;BR /&gt;Ctrl-C?&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 09 Mar 2004 02:09:01 GMT</pubDate>
    <dc:creator>Peter Kielbasiewicz</dc:creator>
    <dc:date>2004-03-09T02:09:01Z</dc:date>
    <item>
      <title>Openssh Daemon ignores Ctrl-C interrupt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/openssh-daemon-ignores-ctrl-c-interrupt/m-p/3212899#M168863</link>
      <description>My compilation of openssh on HPUX 10.20 (3.6, 3.7 and 3.8) all ignore the &lt;BR /&gt;interrupt key (Ctrl-C).&lt;BR /&gt;In an archived discussion on &lt;A href="http://marc.theaimsgroup.com/?l=openssh-unix-dev&amp;amp;r=1&amp;amp;w=2" target="_blank"&gt;http://marc.theaimsgroup.com/?l=openssh-unix-dev&amp;amp;r=1&amp;amp;w=2&lt;/A&gt; I found that sshd inherits tty settings upon &lt;BR /&gt;invocation and thus has no setting for INTR  when not started from a &lt;BR /&gt;regular shell.&lt;BR /&gt;&lt;BR /&gt;Does someone have a solution to this problem?&lt;BR /&gt;How can I get sshd started at system boot so that it does not ignore &lt;BR /&gt;Ctrl-C?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Mar 2004 02:09:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/openssh-daemon-ignores-ctrl-c-interrupt/m-p/3212899#M168863</guid>
      <dc:creator>Peter Kielbasiewicz</dc:creator>
      <dc:date>2004-03-09T02:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: Openssh Daemon ignores Ctrl-C interrupt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/openssh-daemon-ignores-ctrl-c-interrupt/m-p/3212900#M168864</link>
      <description>If sshd sets a signal handler to ignore SIGTERM then there isn't anything you can do about it.&lt;BR /&gt; &lt;BR /&gt;WHy do you need to anyway?</description>
      <pubDate>Tue, 09 Mar 2004 02:17:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/openssh-daemon-ignores-ctrl-c-interrupt/m-p/3212900#M168864</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2004-03-09T02:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: Openssh Daemon ignores Ctrl-C interrupt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/openssh-daemon-ignores-ctrl-c-interrupt/m-p/3212901#M168865</link>
      <description>check stty -a&lt;BR /&gt;&lt;BR /&gt;You may have the squence blocked in stty setup or in /etc/profile .profile&lt;BR /&gt;&lt;BR /&gt;This is not necessarily a bad thing.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 09 Mar 2004 03:01:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/openssh-daemon-ignores-ctrl-c-interrupt/m-p/3212901#M168865</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-03-09T03:01:09Z</dc:date>
    </item>
    <item>
      <title>Re: Openssh Daemon ignores Ctrl-C interrupt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/openssh-daemon-ignores-ctrl-c-interrupt/m-p/3212902#M168866</link>
      <description>Sorry, I think I need to clarify my request.&lt;BR /&gt;If sshd is started from an interactive shell, it inherits the 'intr' tty setting from this shell and thus an ssh-client connected to the daemon can use Ctrl-C to interrupt a command.&lt;BR /&gt;&lt;BR /&gt;If sshd is started from an init script at system boot (which is what you want to do to have ssh capability) there is no tty associated with the init script and thus there is no tty setting for 'intr'.&lt;BR /&gt;&lt;BR /&gt;So if you make an ssh connection to the daemon and you get a hanging command output you can not interrupt it but all you can do is to quit the ssh session.&lt;BR /&gt;&lt;BR /&gt;If I would be able to attach a pseudo tty to the startup script I could use 'stty intr "^C"' and I would be done.</description>
      <pubDate>Tue, 09 Mar 2004 04:29:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/openssh-daemon-ignores-ctrl-c-interrupt/m-p/3212902#M168866</guid>
      <dc:creator>Peter Kielbasiewicz</dc:creator>
      <dc:date>2004-03-09T04:29:06Z</dc:date>
    </item>
  </channel>
</rss>

