Temporary failure in name resolution
Dirk Moolman
DirkM
Wed Jun 6 06:39:41 PDT 2007
-----Original Message-----
From: linux-users-bounces at linux-sxs.org
[mailto:linux-users-bounces at linux-sxs.org] On Behalf Of David Bandel
Sent: 06 June 2007 01:15 PM
To: Linux tips and tricks
Subject: Re: Temporary failure in name resolution
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.
Another question, if I run this as a different user, for example
ssh -l oracle myremotehost /home/oracle/file.sh
how do I set up ssh, so that I don't have to enter a password ?
1. Does the remote host see me coming in as root, or as oracle ? I would
guess as root (I execute the ssh command as root)
2. and, I also assume that $ORACLE_HOME/.ssh/authorized_keys (for the
oracle user) on the remote host must be updated for this to work -
correct ? Do I place root's public key in oracle's authorized_keys file
?
Disclaimer: http://196.33.167.70/disclaimer
More information about the Linux-users
mailing list