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: Oleg Pykhalov
Subject: Re: Connection refused to Guix-hosted SSH
Date: Sat, 15 Oct 2022 09:01:24 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

"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.

Attachment: signature.asc
Description: PGP signature


reply via email to

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