help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Connection refused to Guix-hosted SSH


From: address@hidden
Subject: Re: Connection refused to Guix-hosted SSH
Date: Sun, 16 Oct 2022 09:53:15 +0200

Hi all,

in the end I gave up... since my guix was not pulling anymore, I
suspected something more "serious" was happening than just a broken
ssh.
Then I've re-installed the whole system (it was a test system anyway,
not a big deal) and this time ssh works out of the box.
During installation, I've spotted one possible cause that could have
broken sshd in my first sistem: I did not select "Mozilla NSS
certificates" (which translates to package (specification->package
"nss-certs")) ).
I don't know if it is related, but the description says "To connect
through https"... probably not...
The other difference is that my first system was based on i686
(32bit), while the latter is x86_64 (64bit).

Whatever the reason, thank you all for the help.
I hope one day I'll be skilled enough to help others as well.

Regards

On Sat, Oct 15, 2022 at 8:01 AM Oleg Pykhalov <go.wigust@gmail.com> wrote:
>
> "dabbede@gmail.com" <dabbede@gmail.com> writes:
>
> […]
>
> > Sure. I receive a bunch of messages of this form:
> >
> > Oct 14 10:04:23 localhost vmunix: [ 5869.880044] audit: type=1326
> > audit(1665734663.369:6): auid=4294967295 uid=989 gid=983
> > ses=4294967295 subj=unconfined pid=599 comm="sshd"
> > exe="/gnu/store/jgw64z5w2q6b4nph7a74jc97ihfxkfsf-openssh-8.9p1/sbin/sshd"
> > sig=31 arch=40000003 syscall=414 compat=0 ip=0xb7f94549 code=0x0
> > Oct 14 10:04:23 localhost shepherd[1]: 0 connections still in use
> > after sshd-5 termination.
> > Oct 14 10:04:23 localhost shepherd[1]: Service sshd-5 (PID 598) exited with 
> > 255.
> > Oct 14 10:04:23 localhost shepherd[1]: Service sshd-5 has been disabled.
> > Oct 14 10:04:23 localhost shepherd[1]: Transient service sshd-5
> > terminated, now unregistered.
> > Oct 14 10:05:43 localhost shepherd[1]: Service sshd-6 has been started.
> > Oct 14 10:05:43 localhost vmunix: [ 5950.061859] audit: type=1326
> > audit(1665734743.553:7): auid=4294967295 uid=989 gid=983
> > ses=4294967295 subj=unconfined pid=601 comm="sshd"
> > exe="/gnu/store/jgw64z5w2q6b4nph7a74jc97ihfxkfsf-openssh-8.9p1/sbin/sshd"
> > sig=31 arch=40000003 syscall=414 compat=0 ip=0xb7fba549 code=0x0
> > Oct 14 10:05:43 localhost shepherd[1]: 0 connections still in use
> > after sshd-6 termination.
> > Oct 14 10:05:43 localhost shepherd[1]: Service sshd-6 (PID 600) exited with 
> > 255.
> > Oct 14 10:05:43 localhost shepherd[1]: Service sshd-6 has been disabled.
> > Oct 14 10:05:43 localhost shepherd[1]: Transient service sshd-6
> > terminated, now unregistered.
> >
> > I see "Service sshd-6 (PID 600) exited with 255." but I don't know
> > what it means nor why.
> > In order to gain more insight I've tried to connect with verbose
> > output "ssh -v test@localhost" and this is the output
>
> 255 usually means something wrong with a program execution (e.g. missing
> binary).  In the current case it should a Shell program by SSH default.
>
> Could you try to specify a non-interactive program manually? E.g.:
>
>     ssh -vvv 127.0.0.1 -- /run/current-system/profile/bin/id
>
> It should output SSH client log and ‘id’ program output.
>
>
> Oleg.
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]