|
|||||||||||
|
Re: ssh with diskless machines
From: Peter <pk(at)q-leap.com>
Date: Wed Mar 19 2003 - 04:35:33 EST
Crist J. Clark writes:
ah, interesting, but what if sshd should run before a user logs in?
How about creating a dedicated user and using `su' to retrieve the
key, like this prior to starting sshd:
su keyper -c "scp <somehost>:/secret/$HOST/ssh_host_key* /etc/ssh"
chown, chmod accordingly
--------------------------------------8<-------------------------------------- this of course assumes that user keyper may scp without a password to <somehost> and may read the host-keys there. Could be done if this user's home directory lies on an NFS share then it is not a local user and identity file and authorized_keys file are set up already. This way the hostkeys are not accessible via NFS and are transfered over a secure channel. No secret is stored on the workstations. How does that sound? again, thanks for the discussion, Peter -- Peter KruseReceived on Wed Mar 19 18:14:39 2003 This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:02:55 EDT |
||||||||||
|
|||||||||||