Hi,
In my office I have two sandbox PC which I use extensively for testing. These machines have various installs, which are all backed up on a local FTP server using G4L (Ghost4Linux). For example:
- Slackware 14.0 vanilla
- Slackware 14.0 server (with Squid, SquidGuard, configured Samba, ...)
- Slackware 14.0 desktop (custom Xfce)
- RHEL 5.8
- Windows XP (mainly for testing Samba file and print server)
One small problem that's nagging me is that everytime I change the install on a machine by downloading a different image from the ghost server, I get the usual someone-is-doing-something-nasty warning from SSH, as is to be expected. So I open ~/.ssh/known_hosts on my main PC, delete the relevant line with the offending key, and then I can go on with my work.
Now I know how to generate keys to be able to do passwordless logins to various remote hosts. What I don't know can only be described as: how do I go about it the other way around? Meaning how can I tweak my three different Slackware and one RHEL installs so I can log into them using SSH using the same key on my main workhorse PC? (Security is no concern here, as these are only local sandbox machines...)
When Slackware starts up the first time after installation, there's a message about "generating SSH keys". Now I think all I have to do is find the relevant files where these are stored and then replace them all by the same file or set of files. Any idea how I have to go about this?
Cheers,
Niki