[Info-vax] Force SFTP to run LOGIN.COM or equivalent
Dave Froble
davef at tsoft-inc.com
Wed Feb 9 19:27:57 EST 2022
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 at tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA 15486
More information about the Info-vax
mailing list