Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

SSH connection problem

 
SOLVED
Go to solution
Swain
Regular Advisor

SSH connection problem

Hi,

I have 2 Alpha servers both running OpenVMS 8.2 I am able to connect from one server to other via ssh but not the reverse way. the err i am getting is

$ ssh garra
warning: Connecting to garra failed: TCP/IP Failure
%NONAME-E-NOMSG, Message number 00000002

Please let me know what things I need to check on system?

Thanks,
Amaresh
9 REPLIES 9
Allan Large
Frequent Advisor

Re: SSH connection problem

Amaresh:

Make sure the name "garra" is defined to an IP address.

$ tcpip show host garra
Steven Schweda
Honored Contributor

Re: SSH connection problem

> %NONAME-E-NOMSG, Message number 00000002

Could be almost anything. (It might even be
a real ENOENT, "No such file or directory"
complaint.)

> [...] OpenVMS 8.2 [...]

Actual output from
TCPIP SHOW VERSION
and
ssh "-V"
might be useful.

Knowing nothing, I'd start by adding "-v" to
your "ssh" command, to see if the program
will tell you anything.
Richard W Hunt
Valued Contributor

Re: SSH connection problem

Assuming a "virgin" TCPIP installation, you should have proper configuration files in your SYS$SYSTEM:[TCPIP$SSH.SSH2] folders. Have you tried to cusomize your config files in any way?

Are you looking for public-key files and maybe they aren't on both systems?

Did you remember to enable SSH service on the server that won't talk to you? You can still SSH out from a server with SSH service not running, because that service is only the inbound connection listener.
Sr. Systems Janitor
Swain
Regular Advisor

Re: SSH connection problem

Thanks Steve!

$ TCPIP SHOW VERSION

HP TCP/IP Services for OpenVMS Alpha Version V5.6
on an AlphaStation DS25 running OpenVMS V8.3

$ ssh -v
Type garra$dka0:[sys0.syscommon.][sysexe]tcpip$ssh_ssh2.exe;1 -h for help.

but it's giving general help for TCP/IP.

Please suggest.
Richard Whalen
Honored Contributor

Re: SSH connection problem

The suggestion was $ ssh "-V" hostname
-V gives verbose (debug=2) output. It needs to be quotes because DCL will make it lowercase if it isn't.
Steven Schweda
Honored Contributor

Re: SSH connection problem

> Type garra$dka0:[sys0.syscommon.][sysexe]tcpip$ssh_ssh2.exe;1 -h for help.

You have to admire all the VMS-specific
effort that went into these programs.

> [...] because DCL will make it lowercase if
> it isn't.

Well, the C run-time library (and more lazy
VMS porting) certainly contribute. Many
other programs can obviate the quotation if
the user does SET PROCESS /PARSE_STYLE =
EXTENDED. HP's SSH programs are not on that
list.
Hoff
Honored Contributor
Solution

Re: SSH connection problem

Ok... First ensure that the ssh client and ssh server pieces are configured and started on both ends of the connections here using the following configuration tool:

$ @sys$manager:tcpip$config

Then invoke this...

$ @sys$manager:tcpip$define_commands

Then post the output from...

$ whois garra
$ ping garra

Then work your way up to this command:

$ ssh "-v" garra


Swain
Regular Advisor

Re: SSH connection problem

Thanks Hoff! It really helped.
I am able to connect to garra through ssh.

but I am getting following error

$ whois garra
whois: rs.internic.net: Error 0

$ ssh "-V" garra
garra$dka0:[sys0.syscommon.][sysexe]tcpip$ssh_ssh2.exe: SSH Secure Shell OpenVMS
(V5.5) 3.2.0 on AlphaStation DS25 - VMS V8.3

Thanks,
Amaresh
Highlighted
Steven Schweda
Honored Contributor

Re: SSH connection problem

> $ whois garra
> whois: rs.internic.net: Error 0

Apparently an old whois program with obsolete
server info. You could try

whois -h whois.internic.net xxx

but I doubt that anyone at internic.net will
know who (plain) "garra" is, so it's not
clear to me why this suggestion was made.

> I am able to connect to garra through ssh.

So, otherwise, you're happy now?

> $ ssh "-V" garra
> [...]

Just in time.