Unable to set up an SSU connection (Auth failed / Permission denied; does not accept recently set password)

Sailfish OS 5.0
Reeder
Jolla C2
5.0.0.68 (Tampella)
1.0.0.49

Dear friends,

I am trying to set up an SSU connection, but so far, with no success at all. I have enabled the Developer Mode, and hence I have access to the built-in terminal. Moreover, I’ve got Termux installed as well (supported by a fully-adjusted microG).

In order to avoid any confusion, I’ve set all my passwords the same, let’s say “12345678” (digits only). Why? To eliminate any speculation about introducing wrong credentials during the installation process.

So what have I done so far?

  1. Enabled the Developer Mode
  2. In the built-in terminal, checked whether sshd is running, and started the SSH service

systemctl status sshd
devel-su
systemctl enable sshd
systemctl start sshd
systemctl status sshd

  1. And this is where everything falls apart: trying to set up the SSH connection over Wi-Fi in Termux:

ssh nemo@my_ip_over_here

After that I’ve accepted the host key by typing “yes”, and by provided my Developer Mode password (which in this case, is the same as the “SSH remote-connection-password” and my Jolla Account password).

Result: Auth failed, or Permission denied, please try again.

I am clueless. It cannot be the “SSH remote-connection-password”, since I’ve updated that many times and made sure, that it is what it should be. It cannot be the Developer Mode password either, since it’s accepted without problems when running devel-su in the built-in Terminal. Hah! It cannot even be the Jolla Account’s password, since that let’s me log in as well without problems, and is exactly the same with the rest of the two!

So pleae, help me out guys and dolls! :smiley: I am more of a Jolla symphatizer than a real whiz at coding. But yeah, it happens in Termux where my password is being rejected (or where I keep getting those error messages for some reason, anyway).

Thanks a lot for your kind help! :slight_smile:

SSH?

Please don’t post your jolla account password on the forum - possibly from the very same account.

Are you really sure your username is nemo? That’s not been true/deafult for years.

And are you really trying to SSH from and Android app to the phone itself? That seems quite useless.

1 Like

The only password you need for SSH connection is the one that is set on Developer Mode settings page when Remote Connection is enabled. There you can see ssh username as well.

4 Likes

lol, that’s not my password. Just a placeholder to point out that I set up the same password on my virgin-device since it apparently isn’t even able to recognize the recently set passwords. :smiley:

I thought that I needed to set up an SSU in order to “Enable developer updates”. It isn’t accepting my username/password, so perhaps it’s crying about the domain, that I’ve left blank…?

It’s a bit late, so I’ll try to explain the best I can tomorrow! :slight_smile:

1 Like

Instead of explaining what you are doing, maybe explain what you want to achieve?

Why do you think you need ‘Developer Updates’?

Unless you are member of the CBeta group, those aren’t a thing, and you should untoggle that switch and ignore it.

And yes, you need to know a special domain and a special password in order for this “Enable developer updates” switch to work. If this switch were applicable to you, you would have been given this domain and password information.
If not - again - toggle it off and ignore it.

2 Likes

Even your Jolla account? I would not recommend this. Use a password manager instead.

Is this necessary on SFOS? You already have full access through developer mode. But it’s besides the point wrt your problem.

Unless you installed SFOS years ago, it is defaultuser now.

What does it say?

This is not necessary. sshd.service is activated through systemd socket activation. All you need to check is that sshd.socket is activated and running, which is is when ssh access is enabled in Settings.

Also, you don’t need Termux for anything unless it is running on some other device that is not your SailfishOS phone, and you want to ssh from that device into Sailfish.

2 Likes

Hey folks,

Please be patient with a friendly-noob :slight_smile: This is what we are trying to achieve here, step-by-step:

  1. We want to enable SSU. Why? So I could find out my SSU domain.
  2. Why do we want to find out my SSU domain? Because I need that in order to enable “developer updates”.
  3. Why do we want to enable “developer updates”? So that I can install .rpm packages, such as “'flathub.flatpakrepo” or “harbour-storeman-installer-2.3.0-release10.noarch.rpm”. Without that switch, the OS refuses to install any unsigned RPM packages — official or community-maintained.
  4. Why do we want to install those packages? Because I want to install the «Angelfish» browser, that is packed as a Flatpak. Moreover, through FlatPak, I can get the new QtWebEngine security patches automatically at the very moment KDE ships them.

Why Termux? Well, according to my very limited understanding, SSU could not be set up by the built-in Terminal. Why? Because Sailfish’s built-in Terminal is just a minimal shell emulator: no SSH client, no ip or network tools. «Termux» brings a full Linux userland (including ssh, ip addr, proper terminal emulation).

Well, I’m just a newbie so please bear with me :sweat_smile: I might be — and very much likely I am — wrong.

Jolla was my first and only phone back in 2015, and I never even thought about the possibility if things “just would not work”. After Jolla, I even ran an Indian «Intex Sailfish» for a while without any problems … until one day, it just ceased working… Therefore, I was very enthusiastic as I found out that a new C2 community phone is lauched out.

It was dead/inactive, but I managed to start it by systemctl enable sshd and systemctl start sshd

You are so off the rails it is almost funny.

What you are really looking for is allowing untrusted software (which is just a simple GUI setting). You definitely don’t need developer updates for this - and as @nephros points out - there will be none you have access to anyway.

2 Likes

This is also complete nonsense. Termux cannot “bring” anything to a remote (= SSH’d into) system. Nor does the regular app or system lack any of that.

Did you ask an AI?

I feel so too, @attah :smiley:

What would be your suggestion? I have disabled “Andoid AppSupport system package verification” from Adriud AppSupport, but doesn’t help.

Yeah, pretty much all my instructions have come from AI :smiley: I even tried to challenge it, but it kept saying that “you cannot do this by the built-in terminal, since…” blablabla

In the security category in the main settings page there is a dedicated thing for untrusted software. I.e. it is neither in developer settings, nor android settings - it is on the same level as them.

:person_facepalming: :man_facepalming: :woman_facepalming:

2 Likes

Oh my…

I swear, I thought that option was ticked, but it was not… :flushed: How embarassing… And my “AI-companion” kept feeding my hallucinations that “it’s in the developer settings”.

Well, now I have https://flathub.org/repo/flathub.flatpakrepo downloaded, but I keep getting an error message (File Browser from Jolla Store by ichthyosaurus): “File type application/vnd.flathub.flatpakrepo’ is not supported”

If I try through Amaze, it gives me a menu of different applications to open with: Package installer, Files, Amaze … just to name a few.

Still, cannot install the .RPM package even though the “Allow untrusted software” was ticked.

… Just don’t know what to do next? :sob:

What even is flathub.flatpackrepo? What is it supposed to do? Did the hallucinating AI tell you to use it?
It sounds like it is a repository index file, i.e. nothing for humans to ever download and use.

What is Amaze?

Generally speaking you should only install RPM packages that are actually built for SFOS specifically.

Stop blindly trusting AI and think for yourself. Consider what is actually feasible and ask questions about what you actually want to achieve, not what an AI dreamt up.

So, if your ultimate goal is Angelfish, forget about flatpack for the time being.

What you want to do is install the app Chum GUI.

https://www.ncartron.org/installing-and-using-chum-on-sailfish-os.html

Once you got that, go into its settings, and find the option to override the version. Set it to “4.6”.
Let it refresh, and then use it search function to find Angelfish, and install it from there.

After you have done that, go back into the Chum GUI Settings and clear the version override.

4 Likes

Yes, Termux the Android app comes with a complete GNU userland because Android does not have that otherwise, and what it has isn’t easily exposed to users.

Since SFOS does have it, you don’t need Termux.

Please stop wasting US Americans’ drinking water and start from zero, this time using your inbuilt supercomputer.

1 Like