#Connect with ssh to Omarchy host without needing to input pw locally on that host

7 messages · Page 1 of 1 (latest)

feral steppe
#

Hi guys, i recently bought a beelink and flashed omarchy on it. Loving it!

I have a mac and sometimes i want to ssh into my Omarchy host. Normally when this host is already turned on and logged in ssh'ing into it is easy.

However let's say I shut the host down and turn it on afterwards. I would like to be able to ssh into it without having to go and log in in person. I would like to just run 'ssh host@omarchy' and boom. When I try this pattern rn it halts and doesn't let me in.

I already enabled ssh and tailscale auto start on the Omarchy host but that is not helping.

Any ideas on what can I do? One of the blockers I think is that when I reboot my Omarchy host sometimes a screen with the following text pops up:

"A password is needed to connect to root volume"

This is very strange because it doesn't happen on every reboot. It is a bit inconsistent. Does this have to do with the halting?

gloomy schooner
#

Omarchy doesnt really have a login screen, its Boot Selection (like if u wanna load a snapshot) > Unlock encrypted drive > desktop

(i know that there is technically a login step thats being done but its not done by the user and instead is automatically handled after decryption)

with that knowledge you would have to somehow connect to the host without it having its drive even decrypted which would be a pain to setup i believe since all your stuff like sshd and your configs only get accessible well once u decrypt it

#

"A password is needed to connect to root volume" is just LUKS complaining that its encrypted

#

you could setup a fairly non-standard auto-unlock with tpm i believe but that is far out of scope for omarchy, you could research about this if you just look for help online to access a LUKS encrypted arch system via ssh before decryption via tpm (i think u even need tpm2), omarchy itself really only happens once you are past that

#

but still please note that choosing any of the routes i presented will make you drift far away from standard omarchy, which will limit the support you will be able to get. BUT at the end of the day its Arch, go ham, experiement, and try to learn while you are at it. No one can stop u, except yourself when you need to wipe the install and lose all your configs and files (please backup ur things)

#

hope i could help :D ping if you have any more question and ill try to help with the limited knowledge i posses