[Info-vax] Force SFTP to run LOGIN.COM or equivalent

VAXman- at SendSpamHere.ORG VAXman- at SendSpamHere.ORG
Wed Feb 9 21:25:56 EST 2022


In article <1a89d9e6-1a4b-498c-baa1-bdbd0b4913c7n at googlegroups.com>, Kenneth Randell <kennethnospam.randell at 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.



More information about the Info-vax mailing list