Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Can,t log into ssh via putty help needed
#1
I cant,t seem to log into SSH via putty in the new build "moode-r837-arm64-lite"

i have the ip address and all works thought pc web   but when i put the same ip in putty it just hangs

I can log in via Web SSH  but not the putty app am I missing something

Thanks
Reply
#2
(02-13-2024, 08:50 AM)avior Wrote: I cant,t seem to log into SSH via putty in the new build "moode-r837-arm64-lite"

i have the ip address and all works thought pc web   but when i put the same ip in putty it just hangs

I can log in via Web SSH  but not the putty app am I missing something

Thanks

I'm guessing you didn't tell the Raspberry Pi Imager to enable SSH and use password authentication before you flashed the memory card.

The "WebSSH" label is actually a misnomer. This option uses SSL encryption to communicate between the WebUI in a browser using port 443 and a terminal process in moOde. It does not invoke SSH. That's why you can access moOde via the WebSSH but not via putty using port 22.

To confirm my hypothesis, try this from the command line once you've logged into moOde via the WebSSH terminal.


Code:
systemctl status sshd


If the sshd service is enabled and running, you'll see something like this


Code:
pi@Sunroom:~ $ systemctl status sshd
● ssh.service - OpenBSD Secure Shell server
     Loaded: loaded (/lib/systemd/system/ssh.service; enabled; vendor preset: e>
     Active: active (running) since Mon 2024-02-05 02:47:19 EST; 1 weeks 1 days>
       Docs: man:sshd(8)
             man:sshd_config(5)
   Main PID: 445 (sshd)
      Tasks: 1 (limit: 421)
        CPU: 895ms
     CGroup: /system.slice/ssh.service
             └─445 sshd: /usr/sbin/sshd -D [listener] 0 of 10-100 startups

What did you get on your player? What we do next depends on it.

Regards,
Kent
Reply
#3
(02-13-2024, 03:46 PM)TheOldPresbyope Wrote:
(02-13-2024, 08:50 AM)avior Wrote: I cant,t seem to log into SSH via putty in the new build "moode-r837-arm64-lite"

i have the ip address and all works thought pc web   but when i put the same ip in putty it just hangs

I can log in via Web SSH  but not the putty app am I missing something

Thanks

I'm guessing you didn't tell the Raspberry Pi Imager to enable SSH and use password authentication before you flashed the memory card.

The "WebSSH" label is actually a misnomer. This option uses SSL encryption to communicate between the WebUI in a browser using port 443 and a terminal process in moOde. It does not invoke SSH. That's why you can access moOde via the WebSSH but not via putty using port 22.

To confirm my hypothesis, try this from the command line once you've logged into moOde via the WebSSH terminal.


Code:
systemctl status sshd


If the sshd service is enabled and running, you'll see something like this


Code:
pi@Sunroom:~ $ systemctl status sshd
● ssh.service - OpenBSD Secure Shell server
     Loaded: loaded (/lib/systemd/system/ssh.service; enabled; vendor preset: e>
     Active: active (running) since Mon 2024-02-05 02:47:19 EST; 1 weeks 1 days>
       Docs: man:sshd(8)
             man:sshd_config(5)
   Main PID: 445 (sshd)
      Tasks: 1 (limit: 421)
        CPU: 895ms
     CGroup: /system.slice/ssh.service
             └─445 sshd: /usr/sbin/sshd -D [listener] 0 of 10-100 startups

What did you get on your player? What we do next depends on it.

Regards,
Kent
many thanks for your reply it seem that i did,nt enable SSH in Raspberry Pi Imager  dam rookie mistake lol
Reply
#4
@avior 

Nah, just another learning experience Smile 

Regards,
Kent
Reply


Forum Jump: