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

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

    I had the same issue connecting to a remote machine. but I managed to login as below:

    ssh -p 22 myName@hostname
    

    or:

    ssh -l myName -p 22 hostname
    

提交回复
热议问题