EECS Instructional Support, University of California at Berkeley
[ ISG home page ] [ who we are ] [ send us email ] [ search ] [ FAQ ]

                    University of California at Berkeley
           Department of Electrical Engineering & Computer Sciences
                        Instructional Support Group


								   Apr 3 2009

	  SSH public hostkeys for EECS Instructional Computers

/share/b/hostkeys contains the public hostkeys of the EECS Instructional 
UNIX computers that allow logins over the net using 'openssh'.  These are
used to confirm the identity of a given computer when you login, for security 

The first time you login from one computer (the "source") to another (the
"destination"), you may see a message like:

	The authenticity of host 'solar (' can't be established.

This is because either the source computer does not have a copy of the 
hostkey of the destination computer or it has a different version of it, 
so it can't verify that it is the right computer.  This may be because 

  1) it is the first time you are connecting to that computer
  2) the admins at that computer have changed the hostkey 
  3) the computer that is responding as the destination is an imposter

Although hostkeys are there to protect against the possibility #3, it is 
the least likely of the causes on EECS computers.  Unless you know that
#1 and #2 are not the cause, you can generally accept the new hostkey that
is offered.  You may first have to remove a copy of the old hostkey from 
your ~/.ssh/known_hosts file (see the rest of the WARNING message for

If you are in doubt, you can compare the hostkey that is displayed in the
message with the one that we have stored on /share/b/hostkeys/openssh (also
accessible as
If they are the same, that confirms that the destination computer is valid.

Once you have accepted the new hostkey, it is stored in .ssh/known_hosts 
in your home directory for future reference.

For more information about SSH, please see


  OpenSSH hostkeys are stored in the file .ssh/known_hosts in your UNIX 
  home directory.  You can edit that file with a text editor to remove 
  old hostkeys.  We only support OpenSSH (which is the lastest variant).

SSH1 and SSH2: 

  SSH1 and SSH2 have been discontinued on EECS systems.  These versions 
  were implemented in old versions of UNIX and in "FSecure SSH" on Windows.  

  Nathan Hunsperger prepared these scripts to update the /etc/ssh2/hostkeys 
  files on all of our UNIX systems from /share/b/hostkeys/ssh2/hostkeys:


  The rsync scripts to as they imply.  The creation script takes a directory 
  full of ssh2 keys, and creates hardlinks to those keys with the machines 
  shorter names (like mamba vs  All are internally 

EECS Instructional Support Group