The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 03-11-2008
naree naree is offline
Registered User
  
 

Join Date: Feb 2008
Posts: 81
I want to run a script or command on other server

Hi all,

I have done ssh-keygen to two servers in work place and given there entry for authorized_keys. I m able to ssh to other servers without asking password. But i face problem while trying to run a command or script on other server. It is throwing an Error.

$ ssh username@server2:iostat

Error:
ssh: server2:iostat: host/servname not known

Please help me in this Regard.

Thank U
Naree