public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Filesystem access to Gentoo from XP over SSH - suggestions?
@ 2005-07-15 15:08 Steve [Gentoo]
  2005-07-15 15:22 ` Matthew Cline
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: Steve [Gentoo] @ 2005-07-15 15:08 UTC (permalink / raw
  To: gentoo-user

I was wondering if others have tackled this before me?

I only have remote SSH access to my Gentoo box (everything else is fire 
walled) and I use this to map ports on my client machine to 
corresponding ports on my server machine - so, for example, I can access 
IMAP; SMTP, X applications etc. on the Gentoo server remotely.  My 
remote client is WinXP, and I use Cygwin OpenSSH.  Owing to low 
bandwidth. While Xwindows is usable it is very slow - command line 
interaction without X is acceptable for most tasks but imposes a very 
restrictive interface.  If possible I would like to be able to edit 
(relatively small) configuration files remotely in a text editor running 
under windows.

What would be the easiest way to somehow "map" a network drive on my 
Gentoo server from Windows given that I need to tunnel over SSH?



-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] Filesystem access to Gentoo from XP over SSH - suggestions?
  2005-07-15 15:08 [gentoo-user] Filesystem access to Gentoo from XP over SSH - suggestions? Steve [Gentoo]
@ 2005-07-15 15:22 ` Matthew Cline
  2005-07-15 15:32 ` Zac Medico
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 13+ messages in thread
From: Matthew Cline @ 2005-07-15 15:22 UTC (permalink / raw
  To: gentoo-user

> 
> What would be the easiest way to somehow "map" a network drive on my
> Gentoo server from Windows given that I need to tunnel over SSH?

Could you try something like WebDAV? It should be easy to forward the
necessary port over ssh to a web server on your Gentoo box. Plus, XP
has built-in support for WebDAV through its "Web Folders" stuff.


Matt

-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] Filesystem access to Gentoo from XP over SSH - suggestions?
  2005-07-15 15:08 [gentoo-user] Filesystem access to Gentoo from XP over SSH - suggestions? Steve [Gentoo]
  2005-07-15 15:22 ` Matthew Cline
@ 2005-07-15 15:32 ` Zac Medico
  2005-07-15 15:39 ` Bill Roberts
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 13+ messages in thread
From: Zac Medico @ 2005-07-15 15:32 UTC (permalink / raw
  To: gentoo-user

Steve [Gentoo] wrote:
> I was wondering if others have tackled this before me?
> 
> I only have remote SSH access to my Gentoo box (everything else is fire
> walled) and I use this to map ports on my client machine to
> corresponding ports on my server machine - so, for example, I can access
> IMAP; SMTP, X applications etc. on the Gentoo server remotely.  My
> remote client is WinXP, and I use Cygwin OpenSSH.  Owing to low
> bandwidth. While Xwindows is usable it is very slow - command line
> interaction without X is acceptable for most tasks but imposes a very
> restrictive interface.  If possible I would like to be able to edit
> (relatively small) configuration files remotely in a text editor running
> under windows.
> 
> What would be the easiest way to somehow "map" a network drive on my
> Gentoo server from Windows given that I need to tunnel over SSH?
> 
> 
> 

Filezilla is an ftp client that supports file transfer over ssh: http://filezilla.sourceforge.net/

For remote X you should use nx (emerge nxserver-freenx) or vnc (emerge tightvnc).

To map a network drive, you should probably tunnel samba through ssh.  Google for "samba tunnel putty".

Zac
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] Filesystem access to Gentoo from XP over SSH - suggestions?
  2005-07-15 15:08 [gentoo-user] Filesystem access to Gentoo from XP over SSH - suggestions? Steve [Gentoo]
  2005-07-15 15:22 ` Matthew Cline
  2005-07-15 15:32 ` Zac Medico
@ 2005-07-15 15:39 ` Bill Roberts
  2005-07-15 17:06 ` Chaz Andrews
  2005-07-16  0:20 ` William Kenworthy
  4 siblings, 0 replies; 13+ messages in thread
From: Bill Roberts @ 2005-07-15 15:39 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1539 bytes --]

On 16:08 Fri 15 Jul     , Steve [Gentoo] wrote:
> I was wondering if others have tackled this before me?
> 
> I only have remote SSH access to my Gentoo box (everything else is fire 
> walled) and I use this to map ports on my client machine to 
> corresponding ports on my server machine - so, for example, I can access 
> IMAP; SMTP, X applications etc. on the Gentoo server remotely.  My 
> remote client is WinXP, and I use Cygwin OpenSSH.  Owing to low 
> bandwidth. While Xwindows is usable it is very slow - command line 
> interaction without X is acceptable for most tasks but imposes a very 
> restrictive interface.  If possible I would like to be able to edit 
> (relatively small) configuration files remotely in a text editor running 
> under windows.
> 
> What would be the easiest way to somehow "map" a network drive on my 
> Gentoo server from Windows given that I need to tunnel over SSH?

I use "putty" as my sshclient whenever I'm on a Windows machine. For
file editing, I use vim, but nano would be more user friendly. putty
is nice because you can download the executable from the internet and
don't even have to install, just run the executable.

I have used tightvnc to access a remote box, which gives you the
desktop, and it can be tunneled over ssh. Very nice.

The fastest desktop product is nx and nxserver. It is not opensource,
but I believe there is some provision for personal use. I would guess
that it can be tunneled over ssh.

Not sure about the mapping.

Bill Roberts

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [gentoo-user] Filesystem access to Gentoo from XP over SSH -  suggestions?
  2005-07-15 15:08 [gentoo-user] Filesystem access to Gentoo from XP over SSH - suggestions? Steve [Gentoo]
                   ` (2 preceding siblings ...)
  2005-07-15 15:39 ` Bill Roberts
@ 2005-07-15 17:06 ` Chaz Andrews
  2005-07-15 19:31   ` David Busby
  2005-07-15 19:49   ` A. Khattri
  2005-07-16  0:20 ` William Kenworthy
  4 siblings, 2 replies; 13+ messages in thread
From: Chaz Andrews @ 2005-07-15 17:06 UTC (permalink / raw
  To: gentoo-user

On Fri, July 15, 2005 11:08 am, Steve [Gentoo] wrote:
> I was wondering if others have tackled this before me?
>
>  If possible I would like to be able to
> edit (relatively small) configuration files remotely in a text editor running
> under windows.
>


 I use UltraEdit for this purpose on a daily basis.  It is the best editor for all my
Windows needs. It supports remote servers through sftp(ssh2). And has support for non
*DOS* files.

 It's only drawback is that its Shareware(Costs $$$) but has a time limited demo.

 www.ultraedit.com

Charles Andrews

-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] Filesystem access to Gentoo from XP over SSH - suggestions?
  2005-07-15 17:06 ` Chaz Andrews
@ 2005-07-15 19:31   ` David Busby
  2005-07-15 19:49   ` A. Khattri
  1 sibling, 0 replies; 13+ messages in thread
From: David Busby @ 2005-07-15 19:31 UTC (permalink / raw
  To: gentoo-user

> 
>  I use UltraEdit for this purpose on a daily basis.  It is the best editor for all my
> Windows needs. It supports remote servers through sftp(ssh2). And has support for non
> *DOS* files.
> 
>  It's only drawback is that its Shareware(Costs $$$) but has a time limited demo.
> 
>  www.ultraedit.com

I used to use that one till I discovered jEdit: http://www.jedit.org/.
Yes it does SSH2/sftp and it's free, 100's of plugins too.

/djb


-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] Filesystem access to Gentoo from XP over SSH -   suggestions?
  2005-07-15 17:06 ` Chaz Andrews
  2005-07-15 19:31   ` David Busby
@ 2005-07-15 19:49   ` A. Khattri
  1 sibling, 0 replies; 13+ messages in thread
From: A. Khattri @ 2005-07-15 19:49 UTC (permalink / raw
  To: gentoo-user

On Fri, 15 Jul 2005, Chaz Andrews wrote:

>  I use UltraEdit for this purpose on a daily basis.  It is the best editor for all my
> Windows needs.

There is only ONE editor: vim (it runs on everything incl. Windoze)

Let the flames begin...

;-)

-- 

-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] Filesystem access to Gentoo from XP over SSH - suggestions?
  2005-07-15 15:08 [gentoo-user] Filesystem access to Gentoo from XP over SSH - suggestions? Steve [Gentoo]
                   ` (3 preceding siblings ...)
  2005-07-15 17:06 ` Chaz Andrews
@ 2005-07-16  0:20 ` William Kenworthy
  2005-07-18  9:54   ` Steve [Gentoo]
  4 siblings, 1 reply; 13+ messages in thread
From: William Kenworthy @ 2005-07-16  0:20 UTC (permalink / raw
  To: gentoo-user

I have tried shfs ( a kernel module allowing the reomote mount of
filesystems over ssh) in the past but over less than perfect connections
had file system corruption.

Lately I am using WebDav (via davfs or cadaver), both running on my own
server, and mounting other systems I have access to onto my laptop as I
move around with good success.  Gentoo's implementation of davfs is
clunky and problematic to manage (interfacing with fstab, having to kill
a process after unmounting), but it works reliably.

BillK

On Fri, 2005-07-15 at 16:08 +0100, Steve [Gentoo] wrote:
> I was wondering if others have tackled this before me?
> 
> I only have remote SSH access to my Gentoo box (everything else is fire 
> walled) and I use this to map ports on my client machine to 
> corresponding ports on my server machine - so, for example, I can access 
> IMAP; SMTP, X applications etc. on the Gentoo server remotely.  My 
> remote client is WinXP, and I use Cygwin OpenSSH.  Owing to low 
> bandwidth. While Xwindows is usable it is very slow - command line 
> interaction without X is acceptable for most tasks but imposes a very 
> restrictive interface.  If possible I would like to be able to edit 
> (relatively small) configuration files remotely in a text editor running 
> under windows.
> 
> What would be the easiest way to somehow "map" a network drive on my 
> Gentoo server from Windows given that I need to tunnel over SSH?
> 
> 
> 
-- 
William Kenworthy <billk@iinet.net.au>
Home!

-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] Filesystem access to Gentoo from XP over SSH - suggestions?
  2005-07-16  0:20 ` William Kenworthy
@ 2005-07-18  9:54   ` Steve [Gentoo]
  2005-07-18 10:09     ` Zac Medico
  2005-07-18 19:16     ` Jose Gonzalez Gomez
  0 siblings, 2 replies; 13+ messages in thread
From: Steve [Gentoo] @ 2005-07-18  9:54 UTC (permalink / raw
  To: gentoo-user

Thanks for the many suggestions...  Lots of interesting ideas and 
different perspectives.

Zac Medico wrote:

>Filezilla is an ftp client that supports file transfer over ssh: http://filezilla.sourceforge.net/
>  
>
I'll give that a look - it's not really what I was after - while I 
suppose I wasn't really clear about my intentions, I really wanted 
FS-like access to enable me not only to edit text files, but also to use 
visual differencing tools etc.  I'm suspecting that this wouldn't be 
supported using an ftp-like approach.

>For remote X you should use nx (emerge nxserver-freenx) or vnc (emerge tightvnc).
>  
>
That's new to me - looks very interesting...  I'm guessing I'd need to 
get this working under cygwin for my XP client...  Anything which 
improves the performance of remote X sessions would be very useful.

>To map a network drive, you should probably tunnel samba through ssh.  Google for "samba tunnel putty".
>  
>
This is exactly what I wanted to know. I hadn't thought of googling with 
"putty" as I'm using OpenSSH on both client and server - but the 
techniques look the same.

Steve

-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] Filesystem access to Gentoo from XP over SSH - suggestions?
  2005-07-18  9:54   ` Steve [Gentoo]
@ 2005-07-18 10:09     ` Zac Medico
  2005-07-22 10:32       ` Steve [Gentoo]
  2005-07-18 19:16     ` Jose Gonzalez Gomez
  1 sibling, 1 reply; 13+ messages in thread
From: Zac Medico @ 2005-07-18 10:09 UTC (permalink / raw
  To: gentoo-user

Steve [Gentoo] wrote:
> Thanks for the many suggestions...  Lots of interesting ideas and 
> different perspectives.
> 
> Zac Medico wrote:
> 
>> Filezilla is an ftp client that supports file transfer over ssh: 
>> http://filezilla.sourceforge.net/
>>  
>>
> I'll give that a look - it's not really what I was after - while I 
> suppose I wasn't really clear about my intentions, I really wanted 
> FS-like access to enable me not only to edit text files, but also to use 
> visual differencing tools etc.  I'm suspecting that this wouldn't be 
> supported using an ftp-like approach.
> 
>> For remote X you should use nx (emerge nxserver-freenx) or vnc (emerge 
>> tightvnc).
>>  
>>
> That's new to me - looks very interesting...  I'm guessing I'd need to 
> get this working under cygwin for my XP client...  Anything which 
> improves the performance of remote X sessions would be very useful.
> 

There are native win32 clients (no cygwin required) for both.  The tightvnc client is gpl.  The nx client that I know of is commercial software but it's a freely downloadable from nomachine.com.

Zac

-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] Filesystem access to Gentoo from XP over SSH - suggestions?
  2005-07-18  9:54   ` Steve [Gentoo]
  2005-07-18 10:09     ` Zac Medico
@ 2005-07-18 19:16     ` Jose Gonzalez Gomez
  1 sibling, 0 replies; 13+ messages in thread
From: Jose Gonzalez Gomez @ 2005-07-18 19:16 UTC (permalink / raw
  To: gentoo-user

2005/7/18, Steve [Gentoo] <gentoo_steve@shic.co.uk>:
> Thanks for the many suggestions...  Lots of interesting ideas and
> different perspectives.
> 
> Zac Medico wrote:
> 
> >Filezilla is an ftp client that supports file transfer over ssh: http://filezilla.sourceforge.net/
> >
> >
> I'll give that a look - it's not really what I was after - while I
> suppose I wasn't really clear about my intentions, I really wanted
> FS-like access to enable me not only to edit text files, but also to use
> visual differencing tools etc.  I'm suspecting that this wouldn't be
> supported using an ftp-like approach.
> 
> >For remote X you should use nx (emerge nxserver-freenx) or vnc (emerge tightvnc).
> >
> >
> That's new to me - looks very interesting...  I'm guessing I'd need to
> get this working under cygwin for my XP client...  Anything which
> improves the performance of remote X sessions would be very useful.
> 
> >To map a network drive, you should probably tunnel samba through ssh.  Google for "samba tunnel putty".
> >
> >
> This is exactly what I wanted to know. I hadn't thought of googling with
> "putty" as I'm using OpenSSH on both client and server - but the
> techniques look the same.
> 
> Steve
> 
I'm surprised nobody mentioned WinSCP... definitely worth a try:

http://winscp.net/

And of course, it's GPLed.

Best regards
Jose

-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] Filesystem access to Gentoo from XP over SSH - suggestions?
  2005-07-18 10:09     ` Zac Medico
@ 2005-07-22 10:32       ` Steve [Gentoo]
  2005-07-22 17:08         ` Zac Medico
  0 siblings, 1 reply; 13+ messages in thread
From: Steve [Gentoo] @ 2005-07-22 10:32 UTC (permalink / raw
  To: gentoo-user

Zac Medico wrote:
 >>> For remote X you should use nx (emerge nxserver-freenx)...
 >> That's new to me - looks very interesting...
 > There are native win32 clients (no cygwin required) for both.  The 
tightvnc client is gpl.  The nx client that I know of is commercial 
software but it's a freely downloadable from nomachine.com.

I've had a look at this but I'm a bit stumped by the nomachine.com nx 
client.  When I install their client, it takes out my Cygwin 
installation... presumably because it is linked against an old copy of 
the cywin DLLs (which I'd have thought would be a violation of the 
Cygwin licence terms.)

---
# ls
C:\usr\cygwin\bin\zsh.exe (3752): *** system shared memory version 
mismatch dete
cted - 0x75BE0074/0x75BE0084.
This problem is probably due to using incompatible versions of the 
cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version.  The most recent version 
*should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.
159955652 [main] zsh 3288 fork_parent: child 3752 died waiting for 
longjmp before initialization
zsh: fork failed: interrupt
---

Uninstalling the nx client and rebooting fixes the fault which 
installing introduced.  The knowledge base seems to gloss over this 
problem - claiming in separate articles that it is cosmetic or a known 
problem.  I guess, given that I need cygwin, that my only option is to 
wait and hope the nx client for windows is fixed at some point?

Steve



-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] Filesystem access to Gentoo from XP over SSH - suggestions?
  2005-07-22 10:32       ` Steve [Gentoo]
@ 2005-07-22 17:08         ` Zac Medico
  0 siblings, 0 replies; 13+ messages in thread
From: Zac Medico @ 2005-07-22 17:08 UTC (permalink / raw
  To: gentoo-user

Steve [Gentoo] wrote:
> 
> Uninstalling the nx client and rebooting fixes the fault which 
> installing introduced.  The knowledge base seems to gloss over this 
> problem - claiming in separate articles that it is cosmetic or a known 
> problem.  I guess, given that I need cygwin, that my only option is to 
> wait and hope the nx client for windows is fixed at some point?
> 

GPL violations aside, I wonder if you can take the nx cygwin.dll out of the global search path and make it so that only the nxclient uses it.  Last time I tried it seemed like, by default, a dll residing in the same directory as the dynamically linked exe would have precedence over dlls.  Alternatively, maybe you can somehow customize the dll search path (something analogous to export LD_LIBRARY_PATH on linux).

Zac
-- 
gentoo-user@gentoo.org mailing list



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

end of thread, other threads:[~2005-07-22 17:14 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-15 15:08 [gentoo-user] Filesystem access to Gentoo from XP over SSH - suggestions? Steve [Gentoo]
2005-07-15 15:22 ` Matthew Cline
2005-07-15 15:32 ` Zac Medico
2005-07-15 15:39 ` Bill Roberts
2005-07-15 17:06 ` Chaz Andrews
2005-07-15 19:31   ` David Busby
2005-07-15 19:49   ` A. Khattri
2005-07-16  0:20 ` William Kenworthy
2005-07-18  9:54   ` Steve [Gentoo]
2005-07-18 10:09     ` Zac Medico
2005-07-22 10:32       ` Steve [Gentoo]
2005-07-22 17:08         ` Zac Medico
2005-07-18 19:16     ` Jose Gonzalez Gomez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox