System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Configuring ssh on HPUX 11.23

H_16
Trusted Contributor

Configuring ssh on HPUX 11.23


I am in the process of trying to config X traffic so that I can reach a Unix server in Europe.

My question is, as I want to connect to the European server what file do I configure..The ssh_config or the sshd_config and what file do my European counterparts config?

Additionally, what parameters within these config files will I need to uncomment??

Thanks!

13 REPLIES
Kapil Jha
Honored Contributor

Re: Configuring ssh on HPUX 11.23

Your server should be running ssh and europena server as well.
And network should have connectivity.

what exactly you require.

BR,
Kapil+
I am in this small bowl, I wane see the real world......
Robert Salter
Respected Contributor

Re: Configuring ssh on HPUX 11.23

Can you ping the server in Europe? Can you telnet to it? Did you try to ssh to it?
Time to smoke and joke
Horia Chirculescu
Honored Contributor

Re: Configuring ssh on HPUX 11.23

Hello, H

>to config X traffic

Are you talking about XServer or about ssh protocol?

If you need only ssh access, you would connect remotely to the EU server I presume, so the people from EU should give you access through their firewall.

Basically, the EU sshd daemon configuration should be the right one, no changes required.

You should ask for one non-root user and once then you must be allowed to su as root.

Horia.
Best regards from Romania,
Horia.
H_16
Trusted Contributor

Re: Configuring ssh on HPUX 11.23


I cant ping the server in Europe...At the moment I have restricted access (only port 383 is opened)

Basically, I need port 22 for x traffic as I need to get to there HP OMU server and access their Admin Gui.
Horia Chirculescu
Honored Contributor

Re: Configuring ssh on HPUX 11.23

>Basically, I need port 22

And you have clear path to that remote port ?

No firewall running at your side/remote side blocking the connection?

In order to test this:

telnet remote_EU_server 22

Should get connected.

Horia.
Best regards from Romania,
Horia.
H_16
Trusted Contributor

Re: Configuring ssh on HPUX 11.23


There's a firewall yes..

I cant telnet hostname 22
Steven E. Protter
Exalted Contributor

Re: Configuring ssh on HPUX 11.23

Shalom,

Well your firewall needs to open port 22.

If you can get console access to this remote system, you can:

netstat -an | grep 22

To see if there is a process listening on port 22.

By default, HP-UX does run openssh, though it calls it secure shell.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Steven Schweda
Honored Contributor

Re: Configuring ssh on HPUX 11.23

> I cant telnet hostname 22

What? No "T" key on your keyboard?

"I can't" is not a useful problem
description. It does not say what you did.
It does not say what happened when you did
it. As usual, showing actual commands with
their actual output can be more helpful than
vague descriptions and interpretations.

In any case, until you can get to the SSH
port (normally 22) on the other system, you
need to figure out why (firewall, no SSH
server running on the other system, ...).
H_16
Trusted Contributor

Re: Configuring ssh on HPUX 11.23


#telnet hostname 22
Trying...

That is the output I receive from the telnet command...as I said I cannot telnet
H_16
Trusted Contributor

Re: Configuring ssh on HPUX 11.23


My main question is to do with the configuration of ssh once I have port 22 open on my firewall..

Will I need to modify the ssh_config or the sshd_config. If I do, which do I modify and what one do my European friends have to amend?
Horia Chirculescu
Honored Contributor

Re: Configuring ssh on HPUX 11.23

>#telnet hostname 22
Trying...

This means that someone is blocking your acces to the hostname (I suppose you have provided the correct/real host name or IP address when tried this...) Can you provide the IP address here?

Blocking access can be made at any end of the link or the "link"/channel of communication is doing this.

Horia.
Best regards from Romania,
Horia.
Taifur
Respected Contributor

Re: Configuring ssh on HPUX 11.23


Hi,

For ssh configuration u have to configure ssh_config file , sshd is a deamon file.

Check below link for ssh_config and ssh_config,

http://www13.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&docId=emr_na-c00926401

http://docs.hp.com/en/5992-4213/5992-4213.pdf


http://docs.hp.com/en/5992-4174/ch08s02.html


http://docs.hp.com/en/5991-7494/ch01s04.html

Rgds//
Taifur
Steven Schweda
Honored Contributor

Re: Configuring ssh on HPUX 11.23

> Trying...
>
> That is the output I receive from the
> telnet command...as I said I cannot telnet

Yes, you did say that, but the actual error
message says something useful, which "I
cannot" does not say. There is more than one
way for Telnet to fail. For example:

# telnet
Trying...
telnet: Unable to connect to remote host: Connection refused

"I cannot" is still true, but the problem is
quite different.

> "I can't" is not a useful problem
> description. [...]

Still very true.