Sounds like a name resolution thing.

Do "ping myhostname" and "telnet myhostname 22" work?

-ME

----- Original Message ----- 
From: "Dale Alspach" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, March 31, 2001 11:03 PM
Subject: ssh hostname


> I installed the redhat 7.0 rpm openssh-clients-2.5.2p2-1.7. In
> connecting to another Redhat system with openssh-2.5.1p1 locally made I
> get a strange error.
> 
> []:ssh myhostname
> 
> produces 
> 
> myhostname: command not found
> 
> 
> However if a make a one line config in the /home/user/.ssh directory
> containing
> 
> hostname myhostname
> 
> and use 
> []:ssh
> It works. It is rather inconvenient to have to make a config file for
> each host. What is wrong? By the way I ran this with sshd -d on another
> redhat system. I saw the same problem on a commercial ssh 2.3 server.In
> both cases the server really seemed to be trying to execute myhostname
> as though the argument hostname is being reused as command argument.
> 
> Dale Alspach
> 

Reply via email to