Operating System - HP-UX
1832906 Members
2747 Online
110048 Solutions
New Discussion

Re: rcmd: ssh: unknown host

 

rcmd: ssh: unknown host

running HP secure shell. I can ssh into a server but when I try to go from there to another I get the error:
rcmd: ssh: Unknown host.
Host name, IP resolves just fine.
11 REPLIES 11
Karthik S S
Honored Contributor

Re: rcmd: ssh: unknown host

Did you try doing "ssh ip_address"?

-Karthik S S
For a list of all the ways technology has failed to improve the quality of life, please press three. - Alice Kahn

Re: rcmd: ssh: unknown host

Yes, smae results
Hazem Mahmoud_3
Respected Contributor

Re: rcmd: ssh: unknown host

Can you ping that server? If you can, check to see if "sshd" is running on that server you are trying to ssh into. Let me know.

-Hazem

Re: rcmd: ssh: unknown host

Yes sshd is running on the other servers and they are all pingable
Elmar P. Kolkman
Honored Contributor

Re: rcmd: ssh: unknown host

The message is strange: rcmd is complaining it doesn't know a host called ssh.

Could it be that you try to do something like rcmd ssh , resulting in rcmd trying to connect to the host ssh to run command ?

Every problem has at least one solution. Only some solutions are harder to find.
Elmar P. Kolkman
Honored Contributor

Re: rcmd: ssh: unknown host

(I've tried, and I get exactly this message if I do:
'remsh ssh dummy>')
Every problem has at least one solution. Only some solutions are harder to find.

Re: rcmd: ssh: unknown host

no, the command issued is:
ssh 0r ssh @
Elmar P. Kolkman
Honored Contributor

Re: rcmd: ssh: unknown host

Strange thing is that ssh complains of unknown hosts with another string: 'no address associated with name' is what you get if the host is not resolvable by ssh.

So I think you need to do:
type ssh
And perhaps 'which ssh' too.

Just to make sure there is no alias or something else that is called ssh and is run instead of the real ssh on the server giving the error.
Every problem has at least one solution. Only some solutions are harder to find.

Re: rcmd: ssh: unknown host

I copied just the ssh executable from another system and it's working fine now.
Elmar P. Kolkman
Honored Contributor

Re: rcmd: ssh: unknown host

You don't have the old version? Seems to me some 'joker' has copied remsh to ssh on your system...
Every problem has at least one solution. Only some solutions are harder to find.
Berlene Herren
Honored Contributor

Re: rcmd: ssh: unknown host

You could also touch /etc/krb5.conf

Berlene
http://www.mindspring.com/~bkherren/dobes/index.htm