delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/03/11/11:55:52

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Thu, 11 Mar 2004 11:57:25 -0500 (EST)
From: cygwin-user AT ied DOT com
To: Brian Dessent <brian AT dessent DOT net>
cc: cygwin AT cygwin DOT com
Subject: Re: cygwin sshd / using USB ports (TCP forwarding over USB)
In-Reply-To: <no.Yo.3666.N.nN.0403111135000@business.com>
Message-ID: <no.Yo.3615.N.nN.0403111136340@business.com>
References: <no DOT Yo DOT 3666 DOT N DOT nN DOT 0403111135000 AT business DOT com>
MIME-Version: 1.0

 Hi,

On Thu, 11 Mar 2004 Brian wrote:

> cygwin-user AT ied DOT com wrote:
> 
> >   I was wondering whether there is a way to get cygwin apps
> > to use USB ports.
> > 
> >   I have two Windows XP computers I need to hookup. On the
> > "server" (which has connectivity to internet) I don't have
> > admin rights, so I can't setup IPs. I can open TCP ports on
> > localhsot as a user, though, and I can plug stuff into USB
> > ports.
> > 
> >   As worst-case scenario, I might be able to convert the
> > other machine (the "client") into a Linux box - would that
> > help ?
> > 
> >   I was hoping to do TCP-port forwarding using an ssh/sshd
> > over a USB port. (Essentially I was hoping to get ssh/sshd
> > to open the USB as a tty - I guess.)
> > 
> >   Any ideas on how could I port-forward over USB (Even if
> > without SSH) ?
> 
> I have never heard of anyone implementing TCP/IP directly
> over USB, I'm not even sure it's possible -- certainly not
> with Cygwin.

  as I mentioned, I cannot setup IPs, so I'm trying to
*avoid* using TCP/IP directly over USB. That's where sshd
comes - sshd doesn't need IP - it can listen for an SSH
connection on a serial port under regular Unix. So I'm
asking whether it can listen in a serial port under Cygwin
too, and whether someone knows how to turn a USB into a
sshd-listenable-serial-port(a tty).

> I don't even think you can connect two USB hosts directly
> like that because it's a master-slave kind of protocol.
> 
> The closest you will come would be two USB ethernet
> adapters and a crossover cable.  But if you don't have
> administrator rights on one machine I doubt you'll be able
> to bring up another interface.

 that's the point - that's why I am not talking about 
running TCP/IP over the USB - that's why wanted to run SSH 
serial protocol over that USB.


> If you just want to transfer stuff,

 as I mentioned, I need to forward ports, not transfer 
files.


> go down to Office Depot or whatever and get one of those
> "PC to PC backup" apps.  They let you move files between
> PCs using serial, parallel, or USB (with adaptor.)
> 
> However, all of this discussion (except for ssh port
> forwarding) is very much off topic for this list.

  right. I'm trying to do port forwarding. And am asking 
whether anyone has gotten to use USB as a serial port under 
cygwin, which I think is appropriate for this list.


> Brian


  Thanks for your reply,

      John

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019