ssh keys missing in 1.1.0?

Hi
After a clean install of Vyos 1.1.0 from the vyos-1.1.0-amd64.iso the enable of ssh fails.

This is testet on two diffrent VMs in VMware esx 5.1

  • boot on iso
  • perform install image
  • poweroff and disconnect iso
  • boot the vm
  • configure IP address
  • commit
  • set system ssh
  • commit

Output:
[ service ssh ]
Could not load host key: /etc/ssh/ssh_host_rsa_key
Could not load host key: /etc/ssh/ssh_host_dsa_key
Could not load host key: /etc/ssh/ssh_host_key
Restarting OpenBSD Secure Shell server: sshdCould not load host key: /etc/ssh/ssh_host_rsa_key
Could not load host key: /etc/ssh/ssh_host_dsa_key
Could not load host key: /etc/ssh/ssh_host_key
.

[edit]

On 1.0.5 it works, on upgrade the keys from 1.0.5 are copied, on install of 1.1.0 after having 1.0.5 in the vm the keys are copied.

Hello ArneO .

Are you using VMware on AMD CPU?

If so, Maybe this is workaround.

For more detail


Hiroyuki Sato.

Hi Hiroyuki

Yes I’m using VMware on AMD CPU.

I tried the ssh workaround. After a reboot it worked as expected.

Thanks!
Arne

Hello ArneO.

Thank you for sharing the information.

This problem will fix VyOS 1.1.1.


Hiroyuki Sato.