hi,
i'm trying connect ssh mac pi3. used cmd line 'ssh xxx.xxx.xxx.xxx -l pi' remote control, it's done well. thi morning, machine did not work cmd line. error "ssh: connect host xxx.xxx.xxx.xxx port 22: connection refused".
enable allow port 22 anywhere ufw services cmd line "sudo ufw allow 22", , enable ssh "sudo raspi-config". still not working.
support problem? final solution, think re-install os of pi3, bad solution.
i'm trying connect ssh mac pi3. used cmd line 'ssh xxx.xxx.xxx.xxx -l pi' remote control, it's done well. thi morning, machine did not work cmd line. error "ssh: connect host xxx.xxx.xxx.xxx port 22: connection refused".
enable allow port 22 anywhere ufw services cmd line "sudo ufw allow 22", , enable ssh "sudo raspi-config". still not working.
support problem? final solution, think re-install os of pi3, bad solution.
make can ping host:
sudo ping -c 7 <hostname>
also, um, did change port number /etc/ssh/sshd_config ?
try command line:
also, sshd server may have crashed on pi. if can machine monitor , display (or serial console) check ps , grep see if server running...
sudo ping -c 7 <hostname>
also, um, did change port number /etc/ssh/sshd_config ?
try command line:
code: select all
ssh -p 22 pi@<hostname
code: select all
ps ax |grep -i ssh
raspberrypi
Comments
Post a Comment