<?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 Re: Changing Path for sshd in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-path-for-sshd/m-p/3370866#M747142</link>
    <description>You can reset the path for a particular user/session by specifying an environment file that is read when the user connects to the remote system.&lt;BR /&gt;I had a problem just recently where a system had Cobol installed, and it used the "scp" command to do something in the compiler, hence when users tried to "scp" files to/from the server it failed.&lt;BR /&gt;The solution was to copy the users ".profile"'s to a config file, and then edit the settings to suit.&lt;BR /&gt;&lt;BR /&gt;An extract from the man page: &lt;BR /&gt;&lt;BR /&gt;"-F configfile&lt;BR /&gt;             Specifies an alternative per-user configuration file.  If a con-&lt;BR /&gt;             figuration file is given on the command line, the system-wide&lt;BR /&gt;             configuration file (/etc/ssh/ssh_config) will be ignored.  The&lt;BR /&gt;             default for the per-user configuration file is $HOME/.ssh/config."&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 03 Sep 2004 02:06:31 GMT</pubDate>
    <dc:creator>Andrew Cowan</dc:creator>
    <dc:date>2004-09-03T02:06:31Z</dc:date>
    <item>
      <title>Changing Path for sshd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-path-for-sshd/m-p/3370863#M747139</link>
      <description>Hi,&lt;BR /&gt;We have a problem where we would like to change the path that is available when we run ssh commands. For example running ssh root@target java.&lt;BR /&gt;&lt;BR /&gt;If we run a ssh root@target set, we can see that our path is set to /usr/sbin:/opt/ssh/bin. &lt;BR /&gt;&lt;BR /&gt;We would like to expand the path so that it includes the system $PATH variable. This is so that we can invoke programs that are not available in the sshd path.&lt;BR /&gt;&lt;BR /&gt;We are using HP SSH A 03.81.002_HP-UX_B.11.11&lt;BR /&gt;</description>
      <pubDate>Mon, 16 Sep 2024 09:08:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-path-for-sshd/m-p/3370863#M747139</guid>
      <dc:creator>Damiano Angelo</dc:creator>
      <dc:date>2024-09-16T09:08:08Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Path for sshd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-path-for-sshd/m-p/3370864#M747140</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;PATH for ssh is set during compilation look at:&lt;BR /&gt;to file sshd_config:&lt;BR /&gt;&lt;BR /&gt;In my system:&lt;BR /&gt;# This sshd was compiled with PATH=/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bi&lt;BR /&gt;n:/usr/bin:/bin&lt;BR /&gt;&lt;BR /&gt;I think that if you want different PATH you must get source OpenSSH code and compile it.</description>
      <pubDate>Thu, 02 Sep 2004 08:53:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-path-for-sshd/m-p/3370864#M747140</guid>
      <dc:creator>Slawomir Gora</dc:creator>
      <dc:date>2004-09-02T08:53:58Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Path for sshd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-path-for-sshd/m-p/3370865#M747141</link>
      <description>Hi Damiano,&lt;BR /&gt;&lt;BR /&gt;As said before, PATH is a compiled option. Look at sshd_config. It should have a line saying that "This sshd was compiled with PATH..".&lt;BR /&gt;&lt;BR /&gt;I compile ssh packages with all the customizations I need. Other than with the previous releases which were not included with password expiry option, compiling the latest versions is not looking too bad.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Thu, 02 Sep 2004 09:41:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-path-for-sshd/m-p/3370865#M747141</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-09-02T09:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Path for sshd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-path-for-sshd/m-p/3370866#M747142</link>
      <description>You can reset the path for a particular user/session by specifying an environment file that is read when the user connects to the remote system.&lt;BR /&gt;I had a problem just recently where a system had Cobol installed, and it used the "scp" command to do something in the compiler, hence when users tried to "scp" files to/from the server it failed.&lt;BR /&gt;The solution was to copy the users ".profile"'s to a config file, and then edit the settings to suit.&lt;BR /&gt;&lt;BR /&gt;An extract from the man page: &lt;BR /&gt;&lt;BR /&gt;"-F configfile&lt;BR /&gt;             Specifies an alternative per-user configuration file.  If a con-&lt;BR /&gt;             figuration file is given on the command line, the system-wide&lt;BR /&gt;             configuration file (/etc/ssh/ssh_config) will be ignored.  The&lt;BR /&gt;             default for the per-user configuration file is $HOME/.ssh/config."&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 03 Sep 2004 02:06:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-path-for-sshd/m-p/3370866#M747142</guid>
      <dc:creator>Andrew Cowan</dc:creator>
      <dc:date>2004-09-03T02:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Path for sshd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-path-for-sshd/m-p/3370867#M747143</link>
      <description>We can get only the default which was at build time as,&lt;BR /&gt;PATH=/usr/bin:/bin:/usr/sbin:/sbin:/opt/ssh/bin&lt;BR /&gt;&lt;BR /&gt;IF we want to change then rebuild is needed. ssh man page for PATH say's as,&lt;BR /&gt;It is default and test on config file is not supported to get modified PATH&lt;BR /&gt;&lt;BR /&gt;compile &amp;amp; Rebuild is needed for your requirement</description>
      <pubDate>Fri, 03 Sep 2004 03:50:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-path-for-sshd/m-p/3370867#M747143</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2004-09-03T03:50:21Z</dc:date>
    </item>
  </channel>
</rss>

