Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: ssh with diskless machines

From: Peter <pk(at)q-leap.com>
Date: Wed Mar 19 2003 - 04:35:33 EST

Hi there,

Crist J. Clark writes:
>
> I should point out that there are ways to get that secret onto the

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:

--------------------------------------8<--------------------------------------

su keyper -c "scp <somehost>:/secret/$HOST/ssh_host_key* /etc/ssh" chown, chmod accordingly
sshd ...

--------------------------------------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?

Do you need help?X

again, thanks for the discussion,

       Peter

-- 
Peter Kruse 
Q-Leap Networks GmbH
+497071-703171
Received 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


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library