[PATCH] allow relative path in streamlocal forwarding

Daiki Ueno dueno at redhat.com
Wed Jun 21 23:38:53 AEST 2017


Stef Bon <stefbon at gmail.com> writes:

> Make openssh expanding paths is not the task of the openssh daemons in
> my opinion.
> Better would be if you have a session to a remote host, run a script
> on the reomote host
> via SSH_MSG_CHANNEL_OPEN and SSH_MSG_CHANNEL_REQUEST to run a command
> to get the result.

Yes, it would make sense to let client expand a remote path using remote
command execution.  That would be probably safer and more flexible.

On the other hand, as my initial goal was to forward sockets under
$XDG_RUNTIME_DIR seamlessly, I was hoping it would be possible only with
the standard ssh command, without complicated command line options nor
invoking the command multiple times.

Regards,
-- 
Daiki Ueno


More information about the openssh-unix-dev mailing list