linux - raspberry pi not allow ssh through port routing -


i have computer , raspberry pi sharing same router can not ssh pi. set pi allow port 23 port 22 being used computer when want ssh location. know people simple set port forwarding rule on router , missing on pi. thought had opened port 23 maybe not. suggestions may have great can ssh pi without having monitor present.

you shouldn't have change on pi allow ssh (assuming didn't block ssh begin with).

if want ssh pi computer, connect pi's internal ip address.

if want ssh pi outside place, need use port forwarding. you'll want create rule port 22 on router go port 22 of pi (internal ip address). connect external ip address.

side note: when ssh pi computer, pi use port 22, computer using port between 49152 - 65535, doesn't use port 22.

edit:

then can forward port 23 of router port 22 of pis internal ip address. when connect pi outside of home, have make sure program use connect can change port ssh connects to. because default port forwarded computer. have address ssh xxx.xxx.xxx.xxx:23.


Comments

Popular posts from this blog

php - Submit Form Data without Reloading page -

linux - Rails running on virtual machine in Windows -

php - $params->set Array between square bracket -