[Info-vax] SSH, was: Re: how to write openvms commands in .sh file through openvms

David Froble davef at tsoft-inc.com
Thu Feb 28 20:12:20 EST 2013


Simon Clubley wrote:
> On 2013-02-28, David Froble <davef at tsoft-inc.com> wrote:
>> Simon Clubley wrote:
>>> The closest you are going to get to running commands remotely on a standard
>>> VMS system is to use the ability of ssh (assuming both initiating and target
>>> TCP/IP stacks support it) to run a command directly without needing a full
>>> interactive session.
>>>
>> SSH doesn't perform a LOGIN ??
>>
>> Not saying yes or no, but when I was playing with it a while back, it 
>> was my impression that it was performing a certificate based login ...
>>
>> But, I know nothing ...
>>
>> No, really!  With respect to SSH, I've got almost no experience ...
> 
> ssh can run in one of two basic modes; it can either be used in a
> interactive mode (ie: a secure version of telnet)

Example, PuTTY

> or it can be used to
> run a command remotely in a session, including starting up a higher
> level protocol.

What authenticates the incoming request?

If a process is created to perform the action, then to me, that is a 
"login".  A login is not just interactive logins from a terminal or a 
terminal emulator or ....

> Standard examples of the latter would be sftp or (on Unix) rsync, but
> ssh can also run your own custom command without any interactive
> requirements (assuming you are not using passwords for authentication).

While SFTP bypasses LOGINOUT, it performs essentially the same thing.

> ssh can also be used to do TCP connection/port forwarding as well; this
> is how X11 forwarding is implemented over ssh.

This I'm not familiar with.  Regardless, if X11 forwarding is used to 
connect an X-terminal to a VMS process, then you'd have to consider that 
as a login.

> ssh is a very versatile protocol.
> 
> Simon.
> 



More information about the Info-vax mailing list