ssh-keygen should create a set of keys for you. If you don't specify any
password when creating these keys, you can use ssh to login to different
boxes without a password (by simply copying ~/.ssh/authorised_keys to the
destination machine).

-----Original Message-----
From: Andy Eager [mailto:[EMAIL PROTECTED]]
Sent: Friday, 7 June 2002 12:32 PM
To: [EMAIL PROTECTED]
Subject: [SLUG] Question regarding sysv scripts


Hi all,

I have an interesting question regarding SysV startup / shutdown scripts.

One machine 'the server' has two smaller machines (firewalls) physically 
installed inside it.  They are single board computers that fit into the 
5.25" drive bays on the server.  I have configured them as choke & 
bastion firewalls with iptables: - No problems there.

I want to be able to shutdown the server as well as the the two f/w 
machines at the same time, so I thought about doing this:

a)    Have a script in init.d that is linked from rc0.d that uses ssh to 
shutdown each of the f/w machines.  (ssh fw1 halt,   ssh fw2 halt)

b)    delay for about a minute

c)    continue the shutdown process on the server.

The problem is that ssh wants a password and presumably there is no way 
of providing this from the  console during a shutdown.

Can ssh be configured not to ask for a password ? (I know this is unusual).

Any better way of doing this?

Regards,

Andy
 


-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to