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

前端 未结 15 2335
忘掉有多难
忘掉有多难 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:35

    In my case I was trying ssh like this

    ssh pedro@192.168.2.179:22 
    

    when the correct format is:

    ssh pedro@192.168.2.179 -p 22 
    

提交回复
热议问题