Operating System - OpenVMS
1753925 Members
9435 Online
108810 Solutions
New Discussion юеВ

Re: Vms ssh auto connect and tracing the connection.

 
Fodil ATTAR
Frequent Advisor

Vms ssh auto connect and tracing the connection.

Hi to all,

A advanced user provides me with the 2 following enigmas :

OsPlatform is Openvms 7.3-2
SSH Secure Shell OpenVMS (V1.0) 2.4.1

1) How to establish an ssh automatic connection, within a dcl script, with no user/password prompting for the operator ?

2) How to log all events of the established sessions ?

Any hints will be welcome ?

Regards,

Fodil.
We must become the change we want to see cf. GHANDI
6 REPLIES 6
Fodil ATTAR
Frequent Advisor

Re: Vms ssh auto connect and tracing the connection.

Sorry, erratum for point 1)


The operator may be prompted with password within the dcl command file.

We must become the change we want to see cf. GHANDI
Ian McKerracher_1
Trusted Contributor

Re: Vms ssh auto connect and tracing the connection.

Fodil ATTAR
Frequent Advisor

Re: Vms ssh auto connect and tracing the connection.

Hello Ian,

Thank's for answering,

When I try this, I can't either pass the password as parameter, in the dcl command file.

Regards,

Fodil.
We must become the change we want to see cf. GHANDI
Ian Miller.
Honored Contributor

Re: Vms ssh auto connect and tracing the connection.

are you using batch mode?
____________________
Purely Personal Opinion
Fodil ATTAR
Frequent Advisor

Re: Vms ssh auto connect and tracing the connection.

Hello Ian,

This is interactive job.

Finally the user reaches his goal.

1) for the User/password.
He avoids rerouting the "sys$input, sys$command etc..."

2) For tracing the logs.
We finally start with a sethost/log, and via a captive account, use an ssh connection.

Thank's for your answer.

Regards,

Fodil.
We must become the change we want to see cf. GHANDI
Fodil ATTAR
Frequent Advisor

Re: Vms ssh auto connect and tracing the connection.

Thank's to all.
We must become the change we want to see cf. GHANDI