How to setup ssh-connections from init-script to remote hosts ?




I need help ...

I try to setup an automatically ssh-connection from inside of an init-script while
booting a linux system.

The script works fine while testing it manually, but at boot-time I got
"Permission denied (publickey,password,hostbased)."

(I have to kill processes on slave server before shutting down the master
and start processes on slave while booting the primary server).

Any ideas ?

.



Relevant Pages

  • Re: [SLE] INIT: No inittab file found
    ... As in other thread you can see, Leendert helped me to execute a script each time at booting, which is written on the basis of skeleton, and it is nothing else, but script which simply writes some info in .log file each time at booting. ... Department of Molecular Physics, ...
    (SuSE)
  • Re: Failed starting rpc.mountd
    ... >>booting I can login as root and restart nfs and it would work fine. ... >> program vers proto port ... > Possibly start script order related, ...
    (Fedora)
  • auto install of nvidia driver
    ... autoinstalls the nvidia driver when booting to a new kernel, ... anywhere by editing the script. ...
    (Fedora)
  • Re: run command automatically xx min after bootup
    ... > I want to run a command automatically 10 minutes after booting. ... You could make a script that adds a line to the crontab at bootup, ... change init levels back and forth. ...
    (alt.linux)
  • Force Identity Logon - ActiveX error
    ... I've been using Tom Koch's "idforoe.vbs" script to force an identity logon ... Unfortunately I encountered a problem with Windows not ... booting but despite numerous attempts at resolving it and various ... Any suggestions on resolving this would be much appreciated. ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)