On 2015/12/22 18:26, Paul Suh wrote:
> On Dec 22, 2015, at 5:15 PM, Christoph R. Murauer <[email protected]> wrote:
> > 
> >> I installed sshfs-fuse-2.4p1 using pkg_add and am trying to connect to
> >> a system on an alternate port.
> >> 
> >>    $ doas sshfs username@hostname:/path/to/target /path/to/mount/point
> >> -p 2022
> >> 
> >> I get an immediate error:
> >> 
> >>    fuse: unknown option -p
> >> 
> >> Adding -d to get debug output does nothing. Moving the location of the
> >> option around changes nothing. sshfs mounts to hosts using port 22
> >> work just fine.
> >> 
> >> System is OpenBSD 5.8-stable running under VirtualBox on OS X 10.10.5.
> > 
> > I don't use it and maybe, I am totally wrong but
> > https://github.com/libfuse/sshfs (got it from openports.se) shows
> > -oport=PORT
> > 
> > *Also many ssh options can be specified (see the manual pages for
> > sftp(1) and ssh_config(5)), including the remote port number
> > (-oport=PORT)*
> 
> I tried that too, same result. The only difference is the error message 
> reads: 
> 
>       fuse: unknown option port=2022

Looks like something is missing from our FUSE implementation with
option handling. As a workaround for now, you can probably configure
the host in .ssh/config instead:

Host somehost
  Port 2022

Reply via email to