Discussion:
[mosh-devel] Question about using subsystem like sftp.
Stef Bon
2018-07-13 04:25:10 UTC
Permalink
Hi,

I'm working on a project which offers automatic access to users to
fileservices like smb,nfs and sftp using avahi for detection and fuse.
And I wrote my own ssh and sftp clients. The simple public key auth
works (serverkey in
~/.ssh/known_hosts and users public key in ~/.ssh/authorized_keys on
server ) I'm testing openssh certificates and wanting to make it work
with yubikey and nitrokey. I'm also very interested in making this
work with centralized adiminstration.

Now I've posted on the openssh dev list about using udp for data, and
someone pointed me to mosh. It's very good to find out! Mosh looks a
lot what I'm looking for.

I want to use mosh for a subsystem like sftp. I read in the README.md
on github that port forwarding is not supported. Does that mean that
subsystems like sftp are not supported (yet)?

Stef Bon
Voorburg
the Netherlands
john hood
2018-07-13 20:03:48 UTC
Permalink
Yes, that's correct.  Mosh only supports interactive terminal sessions--
it is a networked virtual terminal, and doesn't support any kind of
reliable byte stream, which you would need for sftp.

regards,

  --jh
Post by Stef Bon
Hi,
I'm working on a project which offers automatic access to users to
fileservices like smb,nfs and sftp using avahi for detection and fuse.
And I wrote my own ssh and sftp clients. The simple public key auth
works (serverkey in
~/.ssh/known_hosts and users public key in ~/.ssh/authorized_keys on
server ) I'm testing openssh certificates and wanting to make it work
with yubikey and nitrokey. I'm also very interested in making this
work with centralized adiminstration.
Now I've posted on the openssh dev list about using udp for data, and
someone pointed me to mosh. It's very good to find out! Mosh looks a
lot what I'm looking for.
I want to use mosh for a subsystem like sftp. I read in the README.md
on github that port forwarding is not supported. Does that mean that
subsystems like sftp are not supported (yet)?
Stef Bon
Voorburg
the Netherlands
_______________________________________________
mosh-devel mailing list
http://mailman.mit.edu/mailman/listinfo/mosh-devel
Stef Bon
2018-07-14 05:00:11 UTC
Permalink
Yes, that's correct. Mosh only supports interactive terminal sessions--
it is a networked virtual terminal, and doesn't support any kind of
reliable byte stream, which you would need for sftp.
Hi,

I know it does support terminal sessions, I would like to know it's
possible to support other uses as well.
When I read issue41 (https://github.com/mobile-shell/mosh/issues/41)
there is a demand for something simular.

I want data to be sent over UDP, for a fuse/sftp fs, and willing to
build my own "retransmit" code to ensure packets arrive.
I'm very interested cause of the roaming support.

Stef
Voorburg
the Netherlands
Stef Bon
2018-07-16 07:03:26 UTC
Permalink
---------- Forwarded message ---------
From: Stef Bon <***@gmail.com>
Date: ma 16 jul. 2018 om 09:01
Subject: Re: [mosh-devel] Question about using subsystem like sftp.
To: <***@iansidle.com>


Thanks for the link. This gives me a lot of information.

But I think the way for me to go is to provide patches to the openssh
server to enable swiching to UDP after the initialization phase.
That will take a lot off work and effort to convince the openssh team.

Stef

Loading...