
我試圖從我有 debian 作業系統的電腦上透過 ssh 連接到本地網路中的樹莓派。我嘗試連接打字ssh pi@IP_ADDRESS
,過了一會兒又返回了
connect to host IP_ADDRESS port 22: Connection timed out
我已成功連接到裝置。為什麼?ssh [email protected]
答案1
最有可能raspberrypi.local
對應到與 不同的 IP 位址93.36.114.204
。如果您從單獨的文件中獲得該位址,那麼他們可能只是列出了該位址在其係統上解析到的任何 IP 位址。你可以嘗試getent hosts raspberrypi.local
或gethostip raspberrypi.local
嘗試查看它實際映射到哪個地址。