getumbrel / umbrel-os

umbrelOS for Raspberry Pi 4 (only). Covert your Raspberry Pi into a home server in one click. For other hardware, checkout https://github.com/getumbrel/umbrel

Home Page:https://umbrel.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't connect via SSH to umbrel node

tifDev opened this issue · comments

Via web I access with no issues but via SSH I can't :/

Here's what I'm doing:

ssh umbrel@umbrel.local
Password: Same as using in web access.

I get: Permission denied, please try again.

Have you tried to restart Umbrel and login back into the WebUI, then try again?

commented

I've tested this with a fresh install and after the password is updated via umbrel.local I can login in via SSH with the new password. Sure you're not mistyping the password in SSH? It can be difficult as you don't see the text being entered.

What OS are you using? Have there been any changes to your SSH keyring? If you're on Windows - navigate to C:\Users[user].ssh and check the known_hosts file to see if there's an entry for your Pi device.

If there's an entry it means your password is definitely being entered incorrectly.

If you're still having issues I would post some further details - OS in use & try a restart/reset of your device.

On a fresh install, yes, SSH should and has worked fine for me. However, after running for roughly 8 months with no hiccups, I had a networking meltdown (nothing to do with my Umbrel on Raspberry Pi 4), and had to entirely rebuild my network from scratch. The Umbrel had to get the Ethernet moved from behind my normal router, to the cable modem/router, back to my internal router (Ubiquiti Edge X-SFP) and throughout all that time it kept running and working with LN, Bitcoin network, Tor, etc. However, now my SSH port (22) on my Umbrel is closed for some unknown reason. I've scanned it with nmap:

nmap -p22,113,139 192.168.1.39
Starting Nmap 7.80 ( https://nmap.org ) at 2022-07-22 18:02 EDT
Nmap scan report for 192.168.1.39
Host is up (0.0052s latency).

PORT    STATE  SERVICE
22/tcp  closed ssh
113/tcp closed ident
139/tcp closed netbios-ssn

Nmap done: 1 IP address (1 host up) scanned in 0.08 seconds

and also restarted my Umbrel and checked logs (yes, the Umbrel is at 192.168.1.39 on my internal network).

My Umbrel hardware (except for the ethernet cord) hasn't been unplugged, damaged, or changed in any way. My guess is that either Pi 4's have a cheap ethernet card or chip which the OS doesn't know how to deal with when new DHCP-provisioned IP addresses show up, so it shuts off SSH, OR the SSH software is just not working correctly within Umbrel's Dockerized container approach to things, and gets shutdown somehow and can't be restarted from the web dashboard. (By the way, during this entire time I have no problem using the web interfaces to all of the other software on my Umbrel.)

Also, we can see how other services are available, as they should be:

nmap -p22,113,139,3000,3080,8000-8888 192.168.1.39
Starting Nmap 7.80 ( https://nmap.org ) at 2022-07-22 18:42 EDT
Nmap scan report for 192.168.1.39
Host is up (0.0049s latency).
Not shown: 890 closed ports
PORT     STATE SERVICE
8000/tcp open  http-alt
8080/tcp open  http-proxy
8082/tcp open  blackice-alerts
8333/tcp open  bitcoin

Nmap done: 1 IP address (1 host up) scanned in 0.15 seconds

FYI, this is on Umbrel Version 0.4.18

For me ssh port is open. Web access: no problem. ssh and login via terminal on node: permission denied and login incorrect
There is a difference in username and displayname in umbrel. Could that be a problem?