aidlearning / AidLearning-FrameWork

🔥🔥🔥AidLearning is a powerful AIOT development platform, AidLearning builds a linux env supporting GUI, deep learning and visual IDE on Android...Now Aid supports CPU+GPU+NPU for inference with high performance acceleration...Linux on Android or HarmonyOS
https://docs.aidlux.com
Other
5.55k stars 704 forks source link

SSH Connection timed out #171

Closed boydream123 closed 3 years ago

boydream123 commented 3 years ago

Successful install ssh and configure sshd_config content is as follows: Port 5656 ListenAddress 192.168.0.105 PermitRootLogin yes PasswordAuthentication yes

but when i try to connect, but it doesn't work

ssh demo@192.168.0.105 -p 5656 ssh: connect to host 192.168.0.105 port 5656: Connection timed out

at the same time, i try to use root, but the result is the same

ssh root@192.168.0.105 -p 5656 ssh: connect to host 192.168.0.105 port 5656: Connection timed out

Could you please tell me how to configure this? thank you!

aidlearning commented 3 years ago

you should using /etc/init.d/ssh restart to restart the ssh config. after this, you can use the ssh demo@192.168.0.105 -p 5656 to connect...

boydream123 commented 3 years ago

I've tried to do it, but it doesn' work.

root@localhost:/etc/ssh# /etc/init.d/ssh restart [ ok ] Restarting OpenBSD Secure Shell server: sshd.

(base) PS C:\Users\boydr> ssh demo@192.168.0.105 -p 5656 ssh: connect to host 192.168.0.105 port 5656: Connection timed out

aidlearning commented 3 years ago

pls ref this url: http://new.aidlearning.net/d/84