ssh: Could not resolve hostname [hostname]: nodename nor servname provided, or not known

前端 未结 15 2309
忘掉有多难
忘掉有多难 2020-12-12 09:34

I am trying to set up a VPN with a Raspberry Pi, and the first step is gaining the ability to ssh into the device from outside my local network. For whatever re

15条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-12 10:27

    I got this error by using a .yml inventory file in ansible that was not properly formatted. For multiple hosts in a group, each hostname needs to end in a hard colon ":". Otherwise ansible runs the host names together and produces this ssh error.

提交回复
热议问题