1748240 Members
3720 Online
108759 Solutions
New Discussion юеВ

Re: SSH 2.4.1

 
Wim Van den Wyngaert
Honored Contributor

SSH 2.4.1

I'm stuck (no upgrade possible) with VMS 7.3 and TCP 5.3 ECO 2.

I installed SSH 2.4.1 (the eak).

I'm asked to copy files to a windows machine running WinSSHD 4.19.

Is anyone doing file copies with such an environment ? By preference in batch or detached using the publickeys method.

Using the username + password method I am able to get a (bad) session in which I can do a logout.

Wim
Wim
7 REPLIES 7
Wim Van den Wyngaert
Honored Contributor

Re: SSH 2.4.1

BTW : any type of file is ok, e.g. stream_lf.
Wim
Richard Whalen
Honored Contributor

Re: SSH 2.4.1

I haven't used those two implementations together, but they should be able to work.

You will only be able to transfer stream-lf files, as that implementation of SFTP on VMS only supports binary (and hence stream-lf) file transfers.

I haven't tried it, but you should be able to get everything set up for public key authentication. The format of the public key files generated by SSHKEYGEN are appropriate for WinSSHD. You'll need to create an IDENTIFICATION. file in your [.SSHD2] directory on the VMS system that lists the file name of the private key file(s), which should also be in the [.SSHD2] directory. The protection of these files may be important, so make sure that only owner and system can read them.

Try using SFTP and see what happens.
Wim Van den Wyngaert
Honored Contributor

Re: SSH 2.4.1

Richard,

I got it to work VMS to VMS. But when I try with Windows, it just hangs.

Also, it is doing openvms$tty() and this aborts the sftp/scp program when done in batch or detached.

Wim
Wim
Steven Schweda
Honored Contributor

Re: SSH 2.4.1

I'd start with "ssh -v" to watch where it
goes bad.

Also, "-t" and/or '-o "batchmode yes"' have
shown some value in my (later) version.

Around here:

alp $ ssh "-V"
alp$dka0:[sys0.syscommon.][sysexe]tcpip$ssh_ssh2.exe: SSH Secure Shell OpenVMS
(V5.5) 3.2.0 on COMPAQ Professional Workstation - VMS V7.3-2
Richard Whalen
Honored Contributor

Re: SSH 2.4.1

Ok, now I understand some of where you are having problems.

(Please excuse salesman's hat for the following paragraph.)
Are you committed to using the eak or can you spend money for a better implementation?
Process Software offers SSH for OpenVMS which runs on TCP/IP services and is often the best choice for people that are unable to upgrade their system to get the latest offering from HP.

If you want to continue experimenting with the SFTP that you currently have, then try telling SFTP that you want to use a batchfile (-B for the current version), this may change how it attempts to use the terminal.
Wim Van den Wyngaert
Honored Contributor

Re: SSH 2.4.1

Tried the batch file but still a terminal is needed. I already asked onsight.nl for a evaluation version. Then see if we get the money.

Wim
(now reading process software documentation)
Wim
Wim Van den Wyngaert
Honored Contributor

Re: SSH 2.4.1

Just curious : is there a working freeware version of SSH ? Only scp client is enough.

Wim
Wim