Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Function reject.


computers / comp.os.vms / Re: Force SFTP to run LOGIN.COM or equivalent

SubjectAuthor
* Force SFTP to run LOGIN.COM or equivalentKenneth Randell
+- Re: Force SFTP to run LOGIN.COM or equivalentScott Dorsey
+- Re: Force SFTP to run LOGIN.COM or equivalentDave Froble
+* Re: Force SFTP to run LOGIN.COM or equivalentVAXman-
|`* Re: Force SFTP to run LOGIN.COM or equivalentKenneth Randell
| +- Re: Force SFTP to run LOGIN.COM or equivalentMichael Moroney
| `- Re: Force SFTP to run LOGIN.COM or equivalentplugh
+- Re: Force SFTP to run LOGIN.COM or equivalentStephen Hoffman
`- Re: Force SFTP to run LOGIN.COM or equivalentBob Gezelter

1
Force SFTP to run LOGIN.COM or equivalent

<1a89d9e6-1a4b-498c-baa1-bdbd0b4913c7n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=20732&group=comp.os.vms#20732

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:622a:1801:: with SMTP id t1mr2936227qtc.638.1644446434976;
Wed, 09 Feb 2022 14:40:34 -0800 (PST)
X-Received: by 2002:a05:620a:228a:: with SMTP id o10mr2397604qkh.503.1644446434778;
Wed, 09 Feb 2022 14:40:34 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Wed, 9 Feb 2022 14:40:34 -0800 (PST)
Injection-Info: google-groups.googlegroups.com; posting-host=56.0.143.28; posting-account=K_VWOAoAAAB-wPQ2QHcqIArSTrLiZ_w7
NNTP-Posting-Host: 56.0.143.28
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <1a89d9e6-1a4b-498c-baa1-bdbd0b4913c7n@googlegroups.com>
Subject: Force SFTP to run LOGIN.COM or equivalent
From: kennethn...@gmail.com (Kenneth Randell)
Injection-Date: Wed, 09 Feb 2022 22:40:34 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 10
 by: Kenneth Randell - Wed, 9 Feb 2022 22:40 UTC

OpenVMS 8.4, TCP/IP 5.7 ECO 5

Is there a way to force the SFTP server to execute a LOGIN.COM (or even SYS$SYLOGIN) for that matter?

When a user uses SSH to log into 'interactively', the SSH server will execute the normal SYS$SYLOGIN and any LGICMD specified in AUTHORIZE.

When the same user uses SFTP to transfer files, the SSH server doesn't execute the SYS$SYLOGIN or LGICMD specified; it appears they are totally ignored.

Am I missing something obvious?

Thanks

Re: Force SFTP to run LOGIN.COM or equivalent

<su1jkl$9sa$1@panix2.panix.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=20733&group=comp.os.vms#20733

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.panix2.panix.com!panix2.panix.com!not-for-mail
From: klu...@panix.com (Scott Dorsey)
Newsgroups: comp.os.vms
Subject: Re: Force SFTP to run LOGIN.COM or equivalent
Date: 9 Feb 2022 23:44:21 -0000
Organization: Former users of Netcom shell (1989-2000)
Lines: 12
Message-ID: <su1jkl$9sa$1@panix2.panix.com>
References: <1a89d9e6-1a4b-498c-baa1-bdbd0b4913c7n@googlegroups.com>
Injection-Info: reader1.panix.com; posting-host="panix2.panix.com:166.84.1.2";
logging-data="19220"; mail-complaints-to="abuse@panix.com"
 by: Scott Dorsey - Wed, 9 Feb 2022 23:44 UTC

Kenneth Randell <kennethnospam.randell@gmail.com> wrote:
>When a user uses SSH to log into 'interactively', the SSH server will execute the normal SYS$SYLOGIN and any LGICMD specified in AUTHORIZE.
>
>When the same user uses SFTP to transfer files, the SSH server doesn't execute the SYS$SYLOGIN or LGICMD specified; it appears they are totally ignored.
>
>Am I missing something obvious?

sftp doesn't execute anything at all. It is for file transfer only. On a
unix system, there is no login shell.
--scott
--
"C'est un Nagra. C'est suisse, et tres, tres precis."

Re: Force SFTP to run LOGIN.COM or equivalent

<su1m99$615$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=20734&group=comp.os.vms#20734

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: Force SFTP to run LOGIN.COM or equivalent
Date: Wed, 9 Feb 2022 19:27:57 -0500
Organization: A noiseless patient Spider
Lines: 30
Message-ID: <su1m99$615$1@dont-email.me>
References: <1a89d9e6-1a4b-498c-baa1-bdbd0b4913c7n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 10 Feb 2022 00:29:29 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="d042d6f554770101fde00ea32a72b319";
logging-data="6181"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/hMvARS93WYvrovaLlFkEe7i1grd2c2O4="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:feggoaZQ/bfscuDMSi6vLsBKjb8=
In-Reply-To: <1a89d9e6-1a4b-498c-baa1-bdbd0b4913c7n@googlegroups.com>
 by: Dave Froble - Thu, 10 Feb 2022 00:27 UTC

On 2/9/2022 5:40 PM, Kenneth Randell wrote:
> OpenVMS 8.4, TCP/IP 5.7 ECO 5
>
> Is there a way to force the SFTP server to execute a LOGIN.COM (or even SYS$SYLOGIN) for that matter?
>
> When a user uses SSH to log into 'interactively', the SSH server will execute the normal SYS$SYLOGIN and any LGICMD specified in AUTHORIZE.
>
> When the same user uses SFTP to transfer files, the SSH server doesn't execute the SYS$SYLOGIN or LGICMD specified; it appears they are totally ignored.
>
> Am I missing something obvious?
>
> Thanks
>

Ran into this in the past.

If interactive, ie; running from a terminal, SFTP will allow an interactive
login. However, if running it in say, a batch command file, or any non-terminal
situation, SFTP will not allow the login. (I guess it thinks one should not be
hard coding usernames and passwords in a command file.)

The only solution I found was to set up the automated login stuff. IT's been a
while, I could try to re-discover the set-up, but it's documented.

--
David Froble Tel: 724-529-0450
Dave Froble Enterprises, Inc. E-Mail: davef@tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA 15486

Re: Force SFTP to run LOGIN.COM or equivalent

<00B70184.16E2DAA4@SendSpamHere.ORG>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=20735&group=comp.os.vms#20735

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!pr9o9uw/KLhPSFYv2ok3sg.user.46.165.242.75.POSTED!not-for-mail
From: VAXm...@SendSpamHere.ORG
Newsgroups: comp.os.vms
Subject: Re: Force SFTP to run LOGIN.COM or equivalent
Date: Thu, 10 Feb 2022 02:25:56 GMT
Organization: c.2022 Brian Schenkenberger. Prior employers of copyright holder and their agents must first obtain written permission to copy this posting.
Message-ID: <00B70184.16E2DAA4@SendSpamHere.ORG>
References: <1a89d9e6-1a4b-498c-baa1-bdbd0b4913c7n@googlegroups.com>
Reply-To: VAXman- @SendSpamHere.ORG
Injection-Info: gioia.aioe.org; logging-data="35084"; posting-host="pr9o9uw/KLhPSFYv2ok3sg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-Notice: Filtered by postfilter v. 0.9.2
 by: VAXm...@SendSpamHere.ORG - Thu, 10 Feb 2022 02:25 UTC

In article <1a89d9e6-1a4b-498c-baa1-bdbd0b4913c7n@googlegroups.com>, Kenneth Randell <kennethnospam.randell@gmail.com> writes:
>OpenVMS 8.4, TCP/IP 5.7 ECO 5
>
>Is there a way to force the SFTP server to execute a LOGIN.COM (or even SYS$SYLOGIN) for that matter?
>
>When a user uses SSH to log into 'interactively', the SSH server will execute the normal SYS$SYLOGIN and any LGICMD specified in AUTHORIZE.
>
>When the same user uses SFTP to transfer files, the SSH server doesn't execute the SYS$SYLOGIN or LGICMD specified; it appears they are totally ignored.
>
>Am I missing something obvious?

Perhaps.

First, welcome back. i have seen a post from you in eons.

Why would you want the SYLOGIN.COM or LOGIN.COM to be executed? SFTP is NOT
an interactive session, it's a file transfer function. The only commands it
can or will recognize are the SFTP commands; there's no DCL.

--
VAXman- A Bored Certified VMS Kernel Mode Hacker VAXman(at)TMESIS(dot)ORG

I speak to machines with the voice of humanity.

Re: Force SFTP to run LOGIN.COM or equivalent

<732dc281-62f5-4a21-819f-514159df5058n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=20736&group=comp.os.vms#20736

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:6214:e68:: with SMTP id jz8mr4847228qvb.114.1644495806913;
Thu, 10 Feb 2022 04:23:26 -0800 (PST)
X-Received: by 2002:a05:622a:493:: with SMTP id p19mr4513541qtx.75.1644495722894;
Thu, 10 Feb 2022 04:22:02 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Thu, 10 Feb 2022 04:22:02 -0800 (PST)
In-Reply-To: <00B70184.16E2DAA4@SendSpamHere.ORG>
Injection-Info: google-groups.googlegroups.com; posting-host=56.0.143.28; posting-account=K_VWOAoAAAB-wPQ2QHcqIArSTrLiZ_w7
NNTP-Posting-Host: 56.0.143.28
References: <1a89d9e6-1a4b-498c-baa1-bdbd0b4913c7n@googlegroups.com> <00B70184.16E2DAA4@SendSpamHere.ORG>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <732dc281-62f5-4a21-819f-514159df5058n@googlegroups.com>
Subject: Re: Force SFTP to run LOGIN.COM or equivalent
From: kennethn...@gmail.com (Kenneth Randell)
Injection-Date: Thu, 10 Feb 2022 12:23:26 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Kenneth Randell - Thu, 10 Feb 2022 12:22 UTC

On Wednesday, February 9, 2022 at 9:25:59 PM UTC-5, VAXman- wrote:
> In article <1a89d9e6-1a4b-498c...@googlegroups.com>, Kenneth Randell <kennethnos...@gmail.com> writes:
> >OpenVMS 8.4, TCP/IP 5.7 ECO 5
> >
> >Is there a way to force the SFTP server to execute a LOGIN.COM (or even SYS$SYLOGIN) for that matter?
> >
> >When a user uses SSH to log into 'interactively', the SSH server will execute the normal SYS$SYLOGIN and any LGICMD specified in AUTHORIZE.
> >
> >When the same user uses SFTP to transfer files, the SSH server doesn't execute the SYS$SYLOGIN or LGICMD specified; it appears they are totally ignored.
> >
> >Am I missing something obvious?
> Perhaps.
>
> First, welcome back. i have seen a post from you in eons.
>
> Why would you want the SYLOGIN.COM or LOGIN.COM to be executed? SFTP is NOT
> an interactive session, it's a file transfer function. The only commands it
> can or will recognize are the SFTP commands; there's no DCL.
>
> --
> VAXman- A Bored Certified VMS Kernel Mode Hacker VAXman(at)TMESIS(dot)ORG
>
> I speak to machines with the voice of humanity.

Thanks for the responses - as for WHY, basically I want to mimic the behavior of FTP where a login script can set a default directory for files transfers which is different than the user's 'home' directory that would contain log files which just further confuses matters. I realize it's just as simple for the user to issue a CWD command during the SFTP file transfer session, but there are those who will simply say 'SFTP doesn't work the same way as FTP did' and it gets old trying to explain this over and over again.

Re: Force SFTP to run LOGIN.COM or equivalent

<su3ki9$9mq$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=20742&group=comp.os.vms#20742

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: seaoh...@hoffmanlabs.invalid (Stephen Hoffman)
Newsgroups: comp.os.vms
Subject: Re: Force SFTP to run LOGIN.COM or equivalent
Date: Thu, 10 Feb 2022 13:12:25 -0500
Organization: HoffmanLabs LLC
Lines: 16
Message-ID: <su3ki9$9mq$1@dont-email.me>
References: <1a89d9e6-1a4b-498c-baa1-bdbd0b4913c7n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: reader02.eternal-september.org; posting-host="32096d665ef5f049c9b4e59cb9bdc571";
logging-data="9946"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+6cEFUddzFD1sMwoTc2foXshVkgCV4/ZM="
User-Agent: Unison/2.2
Cancel-Lock: sha1:vbzcYomBksh2fy/NuegGbJcDb9c=
 by: Stephen Hoffman - Thu, 10 Feb 2022 18:12 UTC

On 2022-02-09 22:40:34 +0000, Kenneth Randell said:

> OpenVMS 8.4, TCP/IP 5.7 ECO 5
>
> Is there a way to force the SFTP server to execute a LOGIN.COM (or even
> SYS$SYLOGIN) for that matter?
> ...
> Am I missing something obvious?

Maybe aim them at FTPS, and leave them folks running the disaster that
they know? Doc for that feature is sparse, but V5.7 ECO5 is the minimum.

--
Pure Personal Opinion | HoffmanLabs LLC

Re: Force SFTP to run LOGIN.COM or equivalent

<su45kf$1voi$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=20743&group=comp.os.vms#20743

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!Uh3cGLv3BUP05xA/L7flqA.user.46.165.242.75.POSTED!not-for-mail
From: moro...@world.std.spaamtrap.com (Michael Moroney)
Newsgroups: comp.os.vms
Subject: Re: Force SFTP to run LOGIN.COM or equivalent
Date: Thu, 10 Feb 2022 18:03:45 -0500
Organization: Aioe.org NNTP Server
Message-ID: <su45kf$1voi$1@gioia.aioe.org>
References: <1a89d9e6-1a4b-498c-baa1-bdbd0b4913c7n@googlegroups.com>
<00B70184.16E2DAA4@SendSpamHere.ORG>
<732dc281-62f5-4a21-819f-514159df5058n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="65298"; posting-host="Uh3cGLv3BUP05xA/L7flqA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.5.1
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-US
 by: Michael Moroney - Thu, 10 Feb 2022 23:03 UTC

On 2/10/2022 7:22 AM, Kenneth Randell wrote:
> On Wednesday, February 9, 2022 at 9:25:59 PM UTC-5, VAXman- wrote:

>> Why would you want the SYLOGIN.COM or LOGIN.COM to be executed? SFTP is NOT
>> an interactive session, it's a file transfer function. The only commands it
>> can or will recognize are the SFTP commands; there's no DCL.
>>
>> --
>> VAXman- A Bored Certified VMS Kernel Mode Hacker VAXman(at)TMESIS(dot)ORG
>>
>> I speak to machines with the voice of humanity.
>
> Thanks for the responses - as for WHY, basically I want to mimic the behavior of FTP where a login script can set a default directory for files transfers which is different than the user's 'home' directory that would contain log files which just further confuses matters. I realize it's just as simple for the user to issue a CWD command during the SFTP file transfer session, but there are those who will simply say 'SFTP doesn't work the same way as FTP did' and it gets old trying to explain this over and over again.

I can see a need, such as when the user has some $ DEFINE commands in
login.com to create names for directory trees they may wish to access.

Re: Force SFTP to run LOGIN.COM or equivalent

<5f183bcc-cbfe-4b1d-b07f-762a1b0efaf0n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=20745&group=comp.os.vms#20745

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:620a:40c8:: with SMTP id g8mr5467417qko.706.1644553755850;
Thu, 10 Feb 2022 20:29:15 -0800 (PST)
X-Received: by 2002:a05:6214:29cd:: with SMTP id gh13mr7449700qvb.14.1644553755708;
Thu, 10 Feb 2022 20:29:15 -0800 (PST)
Path: i2pn2.org!rocksolid2!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Thu, 10 Feb 2022 20:29:15 -0800 (PST)
In-Reply-To: <1a89d9e6-1a4b-498c-baa1-bdbd0b4913c7n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=100.2.113.217; posting-account=r2_qcwoAAACbIdit5Eka3ivGvrYZz7UQ
NNTP-Posting-Host: 100.2.113.217
References: <1a89d9e6-1a4b-498c-baa1-bdbd0b4913c7n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <5f183bcc-cbfe-4b1d-b07f-762a1b0efaf0n@googlegroups.com>
Subject: Re: Force SFTP to run LOGIN.COM or equivalent
From: gezel...@rlgsc.com (Bob Gezelter)
Injection-Date: Fri, 11 Feb 2022 04:29:15 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 22
 by: Bob Gezelter - Fri, 11 Feb 2022 04:29 UTC

On Wednesday, February 9, 2022 at 5:40:36 PM UTC-5, Kenneth Randell wrote:
> OpenVMS 8.4, TCP/IP 5.7 ECO 5
>
> Is there a way to force the SFTP server to execute a LOGIN.COM (or even SYS$SYLOGIN) for that matter?
>
> When a user uses SSH to log into 'interactively', the SSH server will execute the normal SYS$SYLOGIN and any LGICMD specified in AUTHORIZE.
>
> When the same user uses SFTP to transfer files, the SSH server doesn't execute the SYS$SYLOGIN or LGICMD specified; it appears they are totally ignored.
>
> Am I missing something obvious?
>
> Thanks
Kenneth,

You may be remembering the DECnet Remote File Access mechanism, and the associated utilities.

A "NETWORK" login does result in running the SYLOGIN and other LOGIN scripts, hence the presence of the F$MODE conditionalization in the standard template files.

And yes, those using the mechanism also often use it to define all sorts of logical names.

I have not tried it, but if your entire group is using the same basic logical names, putting them in the GROUP logical name table might do the trick. I would experiment, but am on a bit of a deadline at the moment.

- Bob Gezelter, http://www.rlgsc.com

Re: Force SFTP to run LOGIN.COM or equivalent

<7833c71a-de2f-498f-96a9-2ce285f8c6cen@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=20746&group=comp.os.vms#20746

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:622a:c6:: with SMTP id p6mr1075416qtw.191.1644587334928;
Fri, 11 Feb 2022 05:48:54 -0800 (PST)
X-Received: by 2002:a05:622a:1445:: with SMTP id v5mr1093960qtx.127.1644587334727;
Fri, 11 Feb 2022 05:48:54 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Fri, 11 Feb 2022 05:48:54 -0800 (PST)
In-Reply-To: <732dc281-62f5-4a21-819f-514159df5058n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=66.210.249.130; posting-account=uNeudQoAAACm0ETOCzPNrvtq-73lRbuD
NNTP-Posting-Host: 66.210.249.130
References: <1a89d9e6-1a4b-498c-baa1-bdbd0b4913c7n@googlegroups.com>
<00B70184.16E2DAA4@SendSpamHere.ORG> <732dc281-62f5-4a21-819f-514159df5058n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <7833c71a-de2f-498f-96a9-2ce285f8c6cen@googlegroups.com>
Subject: Re: Force SFTP to run LOGIN.COM or equivalent
From: jchim...@gmail.com (plugh)
Injection-Date: Fri, 11 Feb 2022 13:48:54 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 17
 by: plugh - Fri, 11 Feb 2022 13:48 UTC

On Thursday, February 10, 2022 at 5:23:28 AM UTC-7, Kenneth Randell wrote:
> On Wednesday, February 9, 2022 at 9:25:59 PM UTC-5, VAXman- wrote:
> Thanks for the responses - as for WHY, basically I want to mimic the behavior of FTP where a login script can set a default directory for files transfers which is different than the user's 'home' directory that would contain log files which just further confuses matters. I realize it's just as simple for the user to issue a CWD command during the SFTP file transfer session, but there are those who will simply say 'SFTP doesn't work the same way as FTP did' and it gets old trying to explain this over and over again.

Do you control the trigger to start sftp? IOW, can you send an email or provide a script that uses the extended server syntax

sftp jchimene@example.co:/tmp
Connected to example.co.
Changing to: /tmp
sftp>

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor