Temporary failure in name resolution

David Bandel david.bandel
Wed Jun 6 04:14:46 PDT 2007


On 6/6/07, Dirk Moolman <DirkM at agilitytech.co.za> wrote:
> Hi, I have a problem running a remote script from one of my SLES9
> servers. When I run:
>
> ssh myremotehost:/home/oracle/file.sh
>
> I get:
> Temporary failure in name resolution

You're mixing scp and ssh syntax.  Try:

ssh myremotehost /home/oracle/file.sh

Replace the : with a space.  And if your key is on the remote system,
you won't even be prompted for a password, the command will just
execute.

If you want to run the script as a different user, add the `-l <user>`
after ssh.

Ciao,

David A. Bandel
-- 
Focus on the dream, not the competition.
            - Nemesis Air Racing Team motto



More information about the Linux-users mailing list