<?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: incorrect sys$login value during sftp session in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/incorrect-sys-login-value-during-sftp-session/m-p/4038699#M55256</link>
    <description>I checked it with 5.3 eco 2 with eak.&lt;BR /&gt;&lt;BR /&gt;In multinet you get a process logical sys$scratch and sys$login.&lt;BR /&gt;&lt;BR /&gt;In HP you get a job logical sys$login and sys$scratch. Both pointing to what you found. Thus you found an error.&lt;BR /&gt;&lt;BR /&gt;Also the login.com is not executed. So, it doesn't know your environment.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
    <pubDate>Tue, 17 Jul 2007 10:34:51 GMT</pubDate>
    <dc:creator>Wim Van den Wyngaert</dc:creator>
    <dc:date>2007-07-17T10:34:51Z</dc:date>
    <item>
      <title>incorrect sys$login value during sftp session</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/incorrect-sys-login-value-during-sftp-session/m-p/4038693#M55250</link>
      <description>Hello all, &lt;BR /&gt;I'm looking for help on a sftp problem found on our configuration.&lt;BR /&gt;&lt;BR /&gt;Context:&lt;BR /&gt;* tcpip show version gives:&lt;BR /&gt;VMS/tcpip version:&lt;BR /&gt;HP TCP/IP Services for OpenVMS Alpha Version V5.4 - ECO 6&lt;BR /&gt;  on a AlphaServer ES40 running OpenVMS V7.3-2&lt;BR /&gt;* sftp "-V" gives:&lt;BR /&gt;$1$dga600:[sys0.syscommon.][sysexe]tcpip$ssh_sftp2.exe: SSH Secure Shell OpenVMS&lt;BR /&gt; (V5.5) 3.2.0 on AlphaServer ES40 - VMS V7.3-2&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Evidence:&lt;BR /&gt;inside sftp session, "cd sys$login" incorrectly set default directory to tcpip$ssh user home directory:&lt;BR /&gt;$ sftp &lt;VMSHOST&gt;&lt;BR /&gt;Connecting to &lt;VMSHOST&gt;...&lt;BR /&gt;sftp&amp;gt; cd sys$login&lt;BR /&gt;sftp&amp;gt; pwd&lt;BR /&gt;Remote working directory: /SYS$SYSDEVICE/tcpip$ssh &amp;lt;- incorrect&lt;BR /&gt;&lt;BR /&gt;Before logging a support call I would like to know if someone using a more recent tcp/ip version could check if this has been fixed or not.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;Gilles&lt;/VMSHOST&gt;&lt;/VMSHOST&gt;</description>
      <pubDate>Tue, 17 Jul 2007 07:13:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/incorrect-sys-login-value-during-sftp-session/m-p/4038693#M55250</guid>
      <dc:creator>Gilles Pion</dc:creator>
      <dc:date>2007-07-17T07:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: incorrect sys$login value during sftp session</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/incorrect-sys-login-value-during-sftp-session/m-p/4038694#M55251</link>
      <description>This is expected behaviour I think.&lt;BR /&gt;&lt;BR /&gt;The SFTP process is a detached process. It has not all logicals of an interactive process. So, sys$scratch, sys$login are missing.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Tue, 17 Jul 2007 08:21:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/incorrect-sys-login-value-during-sftp-session/m-p/4038694#M55251</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2007-07-17T08:21:13Z</dc:date>
    </item>
    <item>
      <title>Re: incorrect sys$login value during sftp session</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/incorrect-sys-login-value-during-sftp-session/m-p/4038695#M55252</link>
      <description>You can however define sys$login for "Other" processes in your login.com. I tried it on multinet and that works. But by default the location is in sys$login of the user (but without the logical sys$login) !&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Tue, 17 Jul 2007 09:17:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/incorrect-sys-login-value-during-sftp-session/m-p/4038695#M55252</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2007-07-17T09:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: incorrect sys$login value during sftp session</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/incorrect-sys-login-value-during-sftp-session/m-p/4038696#M55253</link>
      <description>MultiNet's (and TCPware's) SFTP server runs as a subprocess of a logged process that uses a fta device for a terminal.  The MultiNet/TCPware SFTP server has all of the user's normal logical names available and runs with the user's identity so all of the normal VMS security functions work.</description>
      <pubDate>Tue, 17 Jul 2007 10:03:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/incorrect-sys-login-value-during-sftp-session/m-p/4038696#M55253</guid>
      <dc:creator>Richard Whalen</dc:creator>
      <dc:date>2007-07-17T10:03:25Z</dc:date>
    </item>
    <item>
      <title>Re: incorrect sys$login value during sftp session</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/incorrect-sys-login-value-during-sftp-session/m-p/4038697#M55254</link>
      <description>Richard is right. Multinet has sys$login and sys$scratch defined. And mode returned "OTHER" which I translated to detached. But I guess the HP version could be different.&lt;BR /&gt;Replace in the following xxx by the process id created for your sftp session.&lt;BR /&gt;&lt;BR /&gt;$ ana/sys&lt;BR /&gt;set proc/id=xxx&lt;BR /&gt;$clue proc/logical&lt;BR /&gt;&lt;BR /&gt;and check for yourself.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Tue, 17 Jul 2007 10:15:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/incorrect-sys-login-value-during-sftp-session/m-p/4038697#M55254</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2007-07-17T10:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: incorrect sys$login value during sftp session</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/incorrect-sys-login-value-during-sftp-session/m-p/4038698#M55255</link>
      <description>&lt;!--!*#--&gt;I had previously already defined sys$login and sys$scratch inside sylogin with the following commands:&lt;BR /&gt;$ if f$trnlnm("sys$login") .eqs. "" then -&lt;BR /&gt;define/job sys$login 'f$environment("default")&lt;BR /&gt;$ if f$trnlnm("sys$scratch") .eqs. "" then -&lt;BR /&gt;define/job sys$scratch 'f$environment("default")&lt;BR /&gt;&lt;BR /&gt;So the problem is not sys$login undefined but having an invalid value.&lt;BR /&gt;&lt;BR /&gt;But further investigations show that things are even more strange:&lt;BR /&gt;"cd sys$login" works fine if the sftp client is running on another vms host,&lt;BR /&gt;it doesn't work when coming from a solaris host using openssh or from Windows PC using putty's psftp command!&lt;BR /&gt;&lt;BR /&gt;Weird...</description>
      <pubDate>Tue, 17 Jul 2007 10:30:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/incorrect-sys-login-value-during-sftp-session/m-p/4038698#M55255</guid>
      <dc:creator>Gilles Pion</dc:creator>
      <dc:date>2007-07-17T10:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: incorrect sys$login value during sftp session</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/incorrect-sys-login-value-during-sftp-session/m-p/4038699#M55256</link>
      <description>I checked it with 5.3 eco 2 with eak.&lt;BR /&gt;&lt;BR /&gt;In multinet you get a process logical sys$scratch and sys$login.&lt;BR /&gt;&lt;BR /&gt;In HP you get a job logical sys$login and sys$scratch. Both pointing to what you found. Thus you found an error.&lt;BR /&gt;&lt;BR /&gt;Also the login.com is not executed. So, it doesn't know your environment.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Tue, 17 Jul 2007 10:34:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/incorrect-sys-login-value-during-sftp-session/m-p/4038699#M55256</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2007-07-17T10:34:51Z</dc:date>
    </item>
  </channel>
</rss>

