Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5043

Raspberry Pi Connect • Re: disagreement about a pi's connect status, over Connect or SSH

$
0
0
As expected - the failure you're seeing is that your direct SSH session isn't setting the full range of environment variables you might expect.

I'm not familiar with how SDM performs its configuration - but it's entirely possible that a modification to sshd_config or similar has resulted in the sessions created by OpenSSH having only a subset of your full environment.

I do, however, expect this to work out of the box on an unmodified Raspberry Pi OS installation - and I've just confirmed that ssh on my local Raspberry Pi 5 is behaving in this manner.
I'm quite familiar with how sdm configures ssh ;)

Specifically, by default, this is how it enables ssh:

Code:

systemctl enable ssh systemctl enable sshswitch
That's it! No more, no less. sdm does no modifications to ssh_config or the ssh service file, nor does it muck with anything XDG*.

I haven't looked into rpi-connect yet WRT sdm, was waiting for things to settle down, which seems like has now been achieved.

Statistics: Posted by bls — Wed Aug 21, 2024 4:39 pm



Viewing all articles
Browse latest Browse all 5043

Trending Articles