Hello,
TW - Latest Snapshot.
I just did a fresh install in a server and found that loging to the user from SSH is not creating the session nor dbus, so when trying to work with container
, systemd
, and loginctl
appear the user is not existent.
What it must happens is:
- When connecting through ssh to the machine, a
XDG_RUNTIME
oruser-slice
session must be started, which is not happening.
loginctl
:
systemd
:
podman
:
Looking into what service exist:
my sshd_config:
Port 22
ListenAddress 0.0.0.0
LogLevel VERBOSE
# Strong encryption settings
Ciphers chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes256-ctr
MACs hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,umac-128-etm@openssh.com
KexAlgorithms curve25519-sha256,curve25519-sha256@libssh.org,diffie-hellman-group18-sha512
# Key exchange algorithms
HostKeyAlgorithms ssh-ed25519,ecdsa-sha2-nistp521,ssh-ed25519-cert-v01@openssh.com
# Authentication settings
PermitRootLogin prohibit-password
PasswordAuthentication no
ChallengeResponseAuthentication no
AuthenticationMethods publickey
# Enable only key-based login
AuthorizedKeysFile .ssh/authorized_keys
# Additional security settings
AllowTcpForwarding yes
AllowAgentForwarding no
StrictModes yes
IgnoreRhosts yes
X11Forwarding no
PermitTunnel no
MaxAuthTries 2
UseDNS no
PermitUserEnvironment no
# Client keep-alive
ClientAliveInterval 15
ClientAliveCountMax 6
# Strict HostKey settings
HostKey /etc/ssh/ssh_host_ecdsa_key
HostKey /etc/ssh/ssh_host_ed25519_key
thank for the help.