Re: OpenSSH_6.7p1 Debian-5+deb8u2 unix socket forwarding: Warning: remote port forwarding failed for listen path /home/sithglan/.gnupg/S.gpg-agent

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

 



Hello everyone,

> (x1) [~] ssh -o "StreamLocalBindUnlink=yes" -R /home/sithglan/.gnupg/S.gpg-agent:/home/sithglan/.gnupg/S.gpg-agent remote.machine.de
> Warning: remote port forwarding failed for listen path /home/sithglan/.gnupg/S.gpg-agent

to answer my own question. StreamLocalBindUnlink exists for client and
for server. In order to make a remote port forwarding work with an
existing socket, it needs to be enabled in the server, not in the
client. So the following works:

(infra) [~] grep StreamLocalBindUnlink /etc/ssh/sshd_config
StreamLocalBindUnlink yes
(infra) [~] /etc/init.d/ssh restart
Restarting OpenBSD Secure Shell server: sshd.

Afterwards it works like a charm.

Cheers,
        Thomas
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



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

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux