Bob Mottram 11 лет назад
Родитель
Сommit
18c5f6b7c8
1 измененных файлов: 3 добавлений и 1 удалений
  1. 3
    1
      beaglebone.txt

+ 3
- 1
beaglebone.txt Просмотреть файл

575
 KexAlgorithms diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1
575
 KexAlgorithms diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1
576
 #+END_SRC
576
 #+END_SRC
577
 
577
 
578
-CTRL-X CTRL-S to save, then CTRL-X CTRL-C to exit.
578
+CTRL-X CTRL-S to save, then CTRL-X CTRL-C to exit.  Now clear out any pre-existing host keys and reconfigure the ssh server.
579
 
579
 
580
 #+BEGIN_SRC: bash
580
 #+BEGIN_SRC: bash
581
+rm /etc/ssh/ssh_host_*
582
+dpkg-reconfigure openssh-server
581
 service ssh restart
583
 service ssh restart
582
 #+END_SRC
584
 #+END_SRC
583
 
585