You are not logged in.
archie@remote ~ $ systemctl --user show-environment
Failed to connect to bus: No such file or directoryWhen directly logged in without SSH, it works perfectly.
What could be wrong with my setup?
Many thanks!
Last edited by beta990 (2017-12-09 14:26:29)
Offline

Please search before posting, this was covered just a few days ago...
Offline
Thanks, unfortunately this didn't work, still have the no sush file or directory:
$ cat /etc/ssh/sshd_config
Port 22
AuthorizedKeysFile /etc/ssh/authorized_keys/%u .ssh/authorized_keys
UseDNS no
ChallengeResponseAuthentication no
UsePAM yes
PrintMotd no # pam does that
PermitRootLogin no
PasswordAuthentication no
PermitEmptyPasswords no
PrintMotd no
Subsystem sftp /usr/lib/ssh/sftp-server
Match Group sftponly
  ChrootDirectory %h
  X11Forwarding no
  AllowTcpForwarding no
  PermitTTY no
  ForceCommand internal-sftpOffline

Offline
@slithery After a fresh reboot, it magically disappeared.
Think all the ssh-sessions really need to be (hard) killed. Anyway working now with the config above.
Thanks for the help. 
Last edited by beta990 (2017-12-09 14:30:12)
Offline