problems with OpenSSH-client

Talk about commercial or opensource products that already exist for OpenVMS or may be available in the future.
Post Reply

Topic author
joukj
Master
Posts: 166
Joined: Thu Aug 27, 2020 5:50 am
Reputation: 0
Status: Offline

problems with OpenSSH-client

Post by joukj » Tue Jan 31, 2023 9:38 am

Hi,

I encountered some problems with the ssh-client of OpenSSH (tested in OpenVMS 8.4-2L3 on IA64).

1) it appears that the terminal type given to the remote system, if started from a DecwTerminal, is now vt300-80 (instead of vt300) and is thus not recognised on my Fedora 37 system. My default shell, tcsh, tells me that is uses "dumb" terminal settings. I solved this temporarily by setting a symlink to the vt300 terminal descriptions.

2) When my .cshrc startup script come to the following line
setenv answer <$
it hangs. I can type something but if I press enter te inputed characters disappear and are not placed in answer. The script hangs at this line.

Jouk
Last edited by joukj on Tue Jan 31, 2023 10:14 am, edited 1 time in total.


tim.stegner
VSI Expert
Valued Contributor
Posts: 55
Joined: Wed Jul 21, 2021 9:14 am
Reputation: 0
Status: Offline

Re: problems with OpenSSH-client

Post by tim.stegner » Tue Jan 31, 2023 9:44 am

Which version of OpenSSH? V8.9-??

you should consult openssh.com for info on which config parameters are supported.


Topic author
joukj
Master
Posts: 166
Joined: Thu Aug 27, 2020 5:50 am
Reputation: 0
Status: Offline

Re: problems with OpenSSH-client

Post by joukj » Tue Jan 31, 2023 10:06 am

It is V8.9-1C

I'll checkout openssh.com

Added in 12 minutes 15 seconds:
openssh.com made me not wiser. I'm not sure if this is a configuartion problem.


tim.stegner
VSI Expert
Valued Contributor
Posts: 55
Joined: Wed Jul 21, 2021 9:14 am
Reputation: 0
Status: Offline

Re: problems with OpenSSH-client

Post by tim.stegner » Wed Feb 22, 2023 7:58 am

i might guess (as i don't -know-) that the terminal drivers aren't set up or running as yet at the point where the .cshrc script is executing. Does this work for any other SSH server?

Added in 15 minutes 55 seconds:
i need a clarification. the server is your Integrity V8.4-2L* system; what's the client running on? Is this .cshrc file executed on the client side? You indicate DECwindows, which suggests your client is on your Fedora system, using DECwindows as a client via some sort of X server? Thus the SSH connection is from one VMS process to another on the same system?


Topic author
joukj
Master
Posts: 166
Joined: Thu Aug 27, 2020 5:50 am
Reputation: 0
Status: Offline

Re: problems with OpenSSH-client

Post by joukj » Wed Feb 22, 2023 10:58 am

The client is the Itanium running OpenVMS. The server is a Fedora-linux system on which the .cshrc runs as a startup script. This works for all clients from any system (including OpenVMS) except if the client is OpenSSH 8.9-1C running on OpenVMS


tim.stegner
VSI Expert
Valued Contributor
Posts: 55
Joined: Wed Jul 21, 2021 9:14 am
Reputation: 0
Status: Offline

Re: problems with OpenSSH-client

Post by tim.stegner » Wed Feb 22, 2023 11:05 am

hmm. is there any way to report this through official support channels? this is starting to sound like it may be an actual bug.


Topic author
joukj
Master
Posts: 166
Joined: Thu Aug 27, 2020 5:50 am
Reputation: 0
Status: Offline

Re: problems with OpenSSH-client

Post by joukj » Thu Feb 23, 2023 1:29 am

I'm just a pour "hobyist". I have no "official" channel to VSI. Thbat is why I post it here in the hope someone from VSI reads it.

Jouk


tim.stegner
VSI Expert
Valued Contributor
Posts: 55
Joined: Wed Jul 21, 2021 9:14 am
Reputation: 0
Status: Offline

Re: problems with OpenSSH-client

Post by tim.stegner » Thu Feb 23, 2023 7:57 am

Understood. BTW, the Community program is starting, you should look into that.

I'll see what i can do regarding the SSH situation. thx, -Tym


Topic author
joukj
Master
Posts: 166
Joined: Thu Aug 27, 2020 5:50 am
Reputation: 0
Status: Offline

Re: problems with OpenSSH-client

Post by joukj » Tue Mar 21, 2023 10:28 am

Same problems with OpenSSH 8.9D on OpenVMS AXP 8.4-2L1


Topic author
joukj
Master
Posts: 166
Joined: Thu Aug 27, 2020 5:50 am
Reputation: 0
Status: Offline

Re: problems with OpenSSH-client

Post by joukj » Mon Mar 27, 2023 4:13 am

I found a work-around for the "setenv answer <$" problem:

You have to set the PASTYHRU option in your terminal
i.e. $ set term/pasthru

Jouk

Post Reply