1823250 Members
3299 Online
109648 Solutions
New Discussion юеВ

SFTP and Login.com

 
Heinz W Genhart
Honored Contributor

SFTP and Login.com

Hi community

We are currently testing a SFTP transfer, where OpenVMS 7.3-2 with TCPIP 5.4 ECO6 is the server and a solaris machine is the client.

I did not found any information regarding the login.com. Does somebody knows if the login.com on the server side should be executed after a login over SFTP?
Is there another commandfile executet during a SFTP login?

Thanks in advance

Regards

Heinz
7 REPLIES 7
Wim Van den Wyngaert
Honored Contributor

Re: SFTP and Login.com

Tested it and ssh eak doesn't execute login.com.
The version of process software does ...

Wim
Wim
Volker Halle
Honored Contributor

Re: SFTP and Login.com

Heinz,

why not try it yourself ?

$ set sec/acl=(alarm=security,acc=read+execute+success) login.com
$ set audit/alarm/ena=acl
$ REPLY/ENA=SECURITY

Volker.
Heinz W Genhart
Honored Contributor

Re: SFTP and Login.com

Hi Volker

I found already out that login.com will not be executet.

But is there another commandfile executed during login, which must be maybe in the [.ssh2] directory ? I cant find any related information in HP TCP/IP Services for OpenVMS Guide to SSH nor somewhere else.

Currently my customer is using ftp and in the login commandfile of this transfer user account is something like a SET DEF disk1:[dirxy]. We need to replace ftp with sftp. If there is no such functionality provided like login.com for sftp, then we have to create/change the user account. But we would preffere to solve it with a commandfile.

Regards

Heinz
Wim Van den Wyngaert
Honored Contributor

Re: SFTP and Login.com

The HP version is however executing sylogin.com.
may be you can conditionally execute login.com over there.

Wim
Wim
Heinz W Genhart
Honored Contributor

Re: SFTP and Login.com

Hi Wim

I tried to use sylogin.com for the required commands.

Its true, that a sftp login executes sylogin.com, but the username at this time is stil tcpip$ssh. So this solution does not work.
I should be able to do a set def, depending on the user who logs in with sftp

The only solution until now is to create new accounts with the target directory as the users login directory

Regards

Heinz
Steven Schweda
Honored Contributor

Re: SFTP and Login.com

[...] login[.com] [...] SET DEF disk1:[dirxy].

Why?

Why can't you specify the desired
destination path on the SFTP command?

What is your SFTP command?
Heinz W Genhart
Honored Contributor

Re: SFTP and Login.com

Thanks a lot for your input.

We decided to change the default directory of the transfer accounts.

Regrads

Heinz