Skip to main content

Unanswered Questions

1,917 questions with no upvoted or accepted answers
9 votes
1 answer
5k views

How to enable systemd user sessions for remote logins on CentOS 7?

I am trying to enable systemd user sessions on my CentOS 7 server. All the pieces seem to be there, and I have also run loginctl enable-linger <user>, but I don't have a systemd user session (or ...
7 votes
0 answers
1k views

can I combine SSH multiplexing with ProxyJump or ProxyCommand (aka 'bastion') forwarding?

I've got a reasonably standard jump/bastion host setup, where I have to SSH from A into C, via B : Host A --> Host B --> Host C I've gotten SSH multiplexing set up, which dramatically reduces ...
7 votes
1 answer
24k views

Xauthority problem xdpyinfo: unable to open display "".

I am trying to run a program after enabling X windows port forwarding. My sshd_config file in /etc/ssh/sshd_config is configured such that: X11Forwarding yes X11DisplayOffset 10 X11UseLocalhost yes ...
7 votes
2 answers
4k views

Difficult authorized_keys login problem only for root on Solaris 11

Here's a difficult ssh problem I can't figure out on Solaris 11, although I think I'm an experienced UNIX/Linux sysadmin. :) I've copied the root@server1:/root/.ssh/id_rsa.pub file to: root@server2:/...
7 votes
2 answers
1k views

"ssh-agent dwm" started from .xinitrc, but environment variables are not set

I got an .xinitrc file with the following line: # it will start my window manager ssh-agent dwm After that I got an ssh-agent process, but environment variables like $SSH_AGENT_PID and $SSH_AUTH_SOCK ...
6 votes
1 answer
2k views

Failed to start chromium on a X-forwarded ssh connection

When I tried to start chromium, I had error messages : $ chromium X11 connection rejected because of wrong authentication. [10139:10139:0321/173002.675673:ERROR:ozone_platform_x11.cc(234)] Missing X ...
6 votes
0 answers
703 views

How to forward GPG to a linux machine from Windows?

Here is my set up: Windows 10 machine, my desktop PC. Ubuntu 18 machine, this is my home server Yubikey, has my private GPG keys on it My work flow is as follows: Plug in my Yubikey into USB port on ...
6 votes
1 answer
4k views

SSH prompt a passphrase for no passphrase keys on Docker GitLab CI

With the following Dockerfile: FROM nexylan/php-dev:7.1-alpine COPY entrypoint.sh / RUN chmod u+x /entrypoint.sh ENTRYPOINT ["/entrypoint.sh"] WORKDIR /code CMD ["tail", "-f", "/dev/null"] (The ...
6 votes
1 answer
1k views

Intermingled input when using local gpg-agent from remote site

I'm starting a local gpg-agent on my Mac, with the extra-socket option. Then I connect to a remote site using SSH, forwarding the remote S.gpg-agent socket to the local S.gpg-agent.extra socket. This ...
6 votes
1 answer
5k views

Running sshd in cygwin: "/var/empty must be owned by root..."

I installed OpenSSH on my Windows 7 system so I could tunnel my VNC into it from my Arch machine. However, when I run /usr/sbin/sshd -D on the W7 machine, I get the error: /var/empty must be owned by ...
6 votes
1 answer
958 views

Enable tty console login while "A stop job is running" (stop running forever, preventing shutdown)

A message like this one is often shown on shutdown: "A stop job is running ..." (nfs mount) This apparently even happens when the NFS server did not go away. But even if the connection to the NFS ...
6 votes
0 answers
3k views

How to change to a different user after SFTP login

The goal: Use local IDE (IntelliJ PHPStorm 9) to browse & edit remote files via SSH The obstacle: My user on the remote machine does not have permissions to read files, which are owned by ...
6 votes
0 answers
1k views

X11 forwarding but open links locally

I have X forwarding between two machines. I doubt it matters, but the local machine is Windows running PuTTY and Xming. Is there any way that I can click a web link on a remote application and have ...
6 votes
1 answer
4k views

Making ChrootDirectory directory writable by SFTP user

If a user logs into a machine via SFTP, one can make use of ChrootDirectory keyword to give an illusion that user is in a root directory. But that directory is only writable by root user. I would love ...
5 votes
1 answer
9k views

Disabling Keyboard-interactive SSH login

I am trying to disable Keyboard-Interactive login, as I only want key login, but it won't disable with the below sshd_config. I also have attached an edited ssh -v login to the server. I have been ...

15 30 50 per page
1
2 3 4 5
128