public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* sshfs or alike
@ 2020-05-06 18:14 Morten Kjærulff
  2020-05-06 19:22 ` Marco Atzeri
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Morten Kjærulff @ 2020-05-06 18:14 UTC (permalink / raw)
  To: cygwin

Hi,

As I understand, you can get sshfs to work with cygwin, but you have
to install some non-cygwin tools also.

Can I get sshfs or something like that with only cygwin tools?

/Morten

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: sshfs or alike
  2020-05-06 18:14 sshfs or alike Morten Kjærulff
@ 2020-05-06 19:22 ` Marco Atzeri
  2020-05-06 19:33 ` Brian Inglis
  2020-05-08  9:46 ` Andrey Repin
  2 siblings, 0 replies; 8+ messages in thread
From: Marco Atzeri @ 2020-05-06 19:22 UTC (permalink / raw)
  To: cygwin

Am 06.05.2020 um 20:14 schrieb Morten Kjærulff via Cygwin:
> Hi,
> 
> As I understand, you can get sshfs to work with cygwin, but you have
> to install some non-cygwin tools also.
> 
> Can I get sshfs or something like that with only cygwin tools?
> 
> /Morten

No.
Cygwin is a user space program, so it can not mount filesystem
by itself.
You need a driver to do so.

some guidance here
https://github.com/billziss-gh/sshfs-win/issues/33

Regards
Marco


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: sshfs or alike
  2020-05-06 18:14 sshfs or alike Morten Kjærulff
  2020-05-06 19:22 ` Marco Atzeri
@ 2020-05-06 19:33 ` Brian Inglis
  2020-05-08  9:46 ` Andrey Repin
  2 siblings, 0 replies; 8+ messages in thread
From: Brian Inglis @ 2020-05-06 19:33 UTC (permalink / raw)
  To: cygwin

On 2020-05-06 12:14, Morten Kjærulff via Cygwin wrote:
> As I understand, you can get sshfs to work with cygwin, but you have
> to install some non-cygwin tools also.
> 
> Can I get sshfs or something like that with only cygwin tools?

Not unless Windows provides a user file system interface that Cygwin can access.

The code for that:

	https://github.com/billziss-gh/winfsp

was developed in consultation with Cygwin maintainers, and the Cygwin components
are provided as Cygwin packages within the repo.

The FUSE interface is provided for Windows by the File System Proxy package:

	http://www.secfs.net/winfsp/

and the Cygwin packages are provided in the primary Download winfsp.msi Windows
installer package:

	http://www.secfs.net/winfsp/rel/

where SSH FS ports prepackaged for 64 and 32 bit programs and a 32 bit port of
NFS are also available.

Extra steps are required to install the Cygwin packages under each Cygwin 32/64
bit installation:

	http://www.secfs.net/winfsp/rel/#for-cygwin-users

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
[Data in IEC units and prefixes, physical quantities in SI.]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: sshfs or alike
  2020-05-06 18:14 sshfs or alike Morten Kjærulff
  2020-05-06 19:22 ` Marco Atzeri
  2020-05-06 19:33 ` Brian Inglis
@ 2020-05-08  9:46 ` Andrey Repin
  2020-05-08 14:29   ` Morten Kjærulff
  2 siblings, 1 reply; 8+ messages in thread
From: Andrey Repin @ 2020-05-08  9:46 UTC (permalink / raw)
  To: Morten Kjærulff, cygwin

Greetings, Morten Kjærulff!

> Hi,

> As I understand, you can get sshfs to work with cygwin, but you have
> to install some non-cygwin tools also.

> Can I get sshfs or something like that with only cygwin tools?

Adding to the already mentioned points, I should warn you that SSHFS is
EXTREMELY SLOW. By design.
Enumerating significant amount of files could take minutes. If you can use any
other tools (like, OpenVPN + CIFS), it will be hundred if not thousand times
faster.


-- 
With best regards,
Andrey Repin
Friday, May 8, 2020 12:44:38

Sorry for my terrible english...

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: sshfs or alike
  2020-05-08  9:46 ` Andrey Repin
@ 2020-05-08 14:29   ` Morten Kjærulff
  2020-05-08 15:31     ` Maarten Hoes
                       ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Morten Kjærulff @ 2020-05-08 14:29 UTC (permalink / raw)
  To: cygwin

> > As I understand, you can get sshfs to work with cygwin, but you have
> > to install some non-cygwin tools also.
>
> > Can I get sshfs or something like that with only cygwin tools?
>
> Adding to the already mentioned points, I should warn you that SSHFS is
> EXTREMELY SLOW. By design.
> Enumerating significant amount of files could take minutes. If you can use any
> other tools (like, OpenVPN + CIFS), it will be hundred if not thousand times
> faster.

Would this be cygwin only?

My server is a z/OS mainframe, where we just installed sshd. Anyone
have good tips?

/Morten

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: sshfs or alike
  2020-05-08 14:29   ` Morten Kjærulff
@ 2020-05-08 15:31     ` Maarten Hoes
  2020-05-08 17:17     ` Brian Inglis
  2020-05-08 20:24     ` Andrey Repin
  2 siblings, 0 replies; 8+ messages in thread
From: Maarten Hoes @ 2020-05-08 15:31 UTC (permalink / raw)
  To: Morten Kjærulff; +Cc: cygwin

On Fri, May 8, 2020 at 5:08 PM Morten Kjærulff via Cygwin <cygwin@cygwin.com>
wrote:

> > > As I understand, you can get sshfs to work with cygwin, but you have
> > > to install some non-cygwin tools also.
> >
> > > Can I get sshfs or something like that with only cygwin tools?
> >
> > Adding to the already mentioned points, I should warn you that SSHFS is
> > EXTREMELY SLOW. By design.
> > Enumerating significant amount of files could take minutes. If you can
> use any
> > other tools (like, OpenVPN + CIFS), it will be hundred if not thousand
> times
> > faster.
>
> Would this be cygwin only?
>
> My server is a z/OS mainframe, where we just installed sshd. Anyone
> have good tips?
>
> /Morten
>


Hi,

I don't mean to intrude, or pretend to know what I'm talking about, but ....

Perhaps it would help if you stated what the specific use case is ? I
assUme that you mean to transfer files between z/OS and a PC, but does it
have to be a filesystem ? Would 'scp' suffice ? Is there a rsync port for
z/OS ?

Just thinking out loud here.

Sorry for the noise,


- Maarten

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: sshfs or alike
  2020-05-08 14:29   ` Morten Kjærulff
  2020-05-08 15:31     ` Maarten Hoes
@ 2020-05-08 17:17     ` Brian Inglis
  2020-05-08 20:24     ` Andrey Repin
  2 siblings, 0 replies; 8+ messages in thread
From: Brian Inglis @ 2020-05-08 17:17 UTC (permalink / raw)
  To: cygwin

On 2020-05-08 08:29, Morten Kjærulff via Cygwin wrote:
>>> As I understand, you can get sshfs to work with cygwin, but you have
>>> to install some non-cygwin tools also.

>>> Can I get sshfs or something like that with only cygwin tools?

>> Adding to the already mentioned points, I should warn you that SSHFS is
>> EXTREMELY SLOW. By design.
>> Enumerating significant amount of files could take minutes. If you can use any
>> other tools (like, OpenVPN + CIFS), it will be hundred if not thousand times
>> faster.

> Would this be cygwin only?
> My server is a z/OS mainframe, where we just installed sshd. Anyone
> have good tips?

Searching only brought up mainly dead links, but visible content suggests
looking into:

	https://en.wikipedia.org/wiki/UNIX_System_Services

	https://en.wikipedia.org/wiki/ZFS_(z/OS_file_system)

	https://www.ibm.com/support/knowledgecenter/SSLTBW_2.3.0/com.ibm.zos.v2r3.bpxa500/tsoomvs.htm

and you may be able to find some more info or help under:

	https://serverfault.com/questions/tagged/mainframe

[I miss Fujitsu/Sun/Sparc and IBM MF class enterprise servers with dozens of
processors, each with many GB of memory, and rooms of cached arrays, when work
like RARing a multi-GB DB dump over the network took only a second, although it
could take hours to *FTP* to vendor sites.]

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
[Data in IEC units and prefixes, physical quantities in SI.]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: sshfs or alike
  2020-05-08 14:29   ` Morten Kjærulff
  2020-05-08 15:31     ` Maarten Hoes
  2020-05-08 17:17     ` Brian Inglis
@ 2020-05-08 20:24     ` Andrey Repin
  2 siblings, 0 replies; 8+ messages in thread
From: Andrey Repin @ 2020-05-08 20:24 UTC (permalink / raw)
  To: Morten Kjærulff, cygwin

Greetings, Morten Kjærulff!

>> > As I understand, you can get sshfs to work with cygwin, but you have
>> > to install some non-cygwin tools also.
>>
>> > Can I get sshfs or something like that with only cygwin tools?
>>
>> Adding to the already mentioned points, I should warn you that SSHFS is
>> EXTREMELY SLOW. By design.
>> Enumerating significant amount of files could take minutes. If you can use any
>> other tools (like, OpenVPN + CIFS), it will be hundred if not thousand times
>> faster.

> Would this be cygwin only?

No. Recently I've tried both sshfs/wfsp outlined earlier in the thread and two
native sshfs solutions on the same target system, all exhibit same behavior.

Running "git status" on a project directory takes:

- locally on the host: up to 10s;
- over CIFS share: up to 30s;
- over SMBFS share: up to half an hour(!).

> My server is a z/OS mainframe, where we just installed sshd. Anyone
> have good tips?

You should first think about your needs and use cases. Do you actually need
filesystem features? Or all you need is the ability to copy files to/from the
server?

For SSH, rsync and git both coming to mind.


-- 
With best regards,
Andrey Repin
Friday, May 8, 2020 23:04:16

Sorry for my terrible english...

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-05-08 20:35 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-06 18:14 sshfs or alike Morten Kjærulff
2020-05-06 19:22 ` Marco Atzeri
2020-05-06 19:33 ` Brian Inglis
2020-05-08  9:46 ` Andrey Repin
2020-05-08 14:29   ` Morten Kjærulff
2020-05-08 15:31     ` Maarten Hoes
2020-05-08 17:17     ` Brian Inglis
2020-05-08 20:24     ` Andrey Repin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).