ssh server connect to host xxx port 22: Connection timed out on linux-ubuntu

前端 未结 10 1480
有刺的猬
有刺的猬 2020-12-17 20:04

I am trying to connect to remote server via ssh but getting connection timeout.

I ran the following command

ssh testkamer@test.dommainname.com

10条回答
  •  无人及你
    2020-12-17 20:26

    I had this error when trying to SSH into my Raspberry pi from my MBP via bash terminal. My RPI was connected to the network via wifi/wlan0 and this IP had been changed upon restart by my routers DHCP.

    Check IP being used to login via SSH is correct. Re-check IP of device being SSH'd into (in my case the RPI), which can be checked using hostname -I

    Confirm/amend SSH login credentials on "guest" device (in my case the MBP) and it worked fine in my attempt.

提交回复
热议问题