Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
aerocom:user-server-ng [2016-09-02 11:39:58]
jang created
aerocom:user-server-ng [2022-05-31 09:29:31] (current)
Line 1: Line 1:
-====== User problems with changed ssh host key ======+ATTENTION - THIS WIKI PAGE IS NO LONGER UPDATED - PLEASE GO TO [[http://aerocom.met.no/|aerocom.met.no]]FOR LATEST INFO 
 + 
 +====== User problems with the changed ssh host key of aerocom-users.met.no ======
 **Background:**\\ **Background:**\\
 aerocom-users.met.no was moved to a new machine, but the hostname was retained. In addition, the operating system was updated from Ubuntu 12.04.5 LTS to Ubuntu 16.04.1 LTS. This upgrade phased out the support for [[https://en.wikipedia.org/wiki/Digital_Signature_Algorithm|DSA keys]] for ssh authentication as well as Met Norway IT policy did. \\ aerocom-users.met.no was moved to a new machine, but the hostname was retained. In addition, the operating system was updated from Ubuntu 12.04.5 LTS to Ubuntu 16.04.1 LTS. This upgrade phased out the support for [[https://en.wikipedia.org/wiki/Digital_Signature_Algorithm|DSA keys]] for ssh authentication as well as Met Norway IT policy did. \\
Line 36: Line 38:
 Reading through the error message, the user is pointed to the solution of the problem: running the following command: Reading through the error message, the user is pointed to the solution of the problem: running the following command:
 <code> <code>
-ssh-keygen -f "/home/jang/.ssh/known_hosts-R aerocom-users.met.no+ssh-keygen -f ~/.ssh/known_hosts -R aerocom-users.met.no
 </code> </code>
  
-another possibility is to just remove the offending line from /home/jang/.ssh/known_host. The line number is also told by the error message in the following line:+another possibility is to just remove the offending line from ~/.ssh/known_host. The line number is also told by the error message in the following line:
 <code> <code>
 Offending RSA key in /home/jang/.ssh/known_hosts:8 Offending RSA key in /home/jang/.ssh/known_hosts:8
Line 47: Line 49:
 Running the first command outputs the following: Running the first command outputs the following:
 <code> <code>
-jang@pcxyz:~/.ssh$ ssh-keygen -f "/home/jang/.ssh/known_hosts" -R aerocom-users.met.no+jang@pcxyz:~/.ssh$ ssh-keygen -f "~/.ssh/known_hosts" -R aerocom-users.met.no
 /home/jang/.ssh/known_hosts updated. /home/jang/.ssh/known_hosts updated.
 Original contents retained as /home/jang/.ssh/known_hosts.old Original contents retained as /home/jang/.ssh/known_hosts.old
  • aerocom/user-server-ng.1472816398.txt.gz
  • Last modified: 2022-05-31 09:23:11
  • (external edit)