cygwin sshd / using USB ports (TCP forwarding over USB)
Hi, 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) ? thanks, 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/
Re: cygwin sshd / using USB ports (TCP forwarding over USB)
Hi, On Thu, 11 Mar 2004 Brian wrote: > [EMAIL PROTECTED] 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/
Compiling Kernal on Cygwin [ELF Error]
Hi all, As this is my first mail, so I am very sorry for any violation of rules. I am trying to compile Linux Kernal on Cygwin (May be sounds funny, but I want to). While doing same I am getting error message as follows CC scripts/mod/empty.o HOSTCC scripts/mod/mk_elfconfig MKELF scripts/mod/elfconfig.h Error: not ELF make[2]: *** [scripts/mod/elfconfig.h] Error 1 make[1]: *** [scripts/mod] Error 2 make: *** [scripts] Error 2 I found one old message in mail list in archive, but it was not fully answered. I have attached my configuration with mail. Is it some thing like not possible on Cygwin? Must be some one has did this before, or may be any other inputs are welcome. Thanks. ___ Linux on Windows = Cygiwn CygConfig Description: Binary data -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
X-client on Cygwin/XP, X-server on 'Nix
Hello! I have sshd, ssh, and X11 set up on my XP laptop such that I can "ssh -Y" into linux boxes and run programs there while sitting at my laptop. I would like also to do the reverse: To "ssh -X" into my laptop from a unix box and to run x-clients on my laptop while sitting at the unix workstation. I can ssh into my laptop, but I cannot get x-forwarding working in this direction. When I try to start an x-client on my laptop from a unix box, I get the following error: $ xeyes X11 connection rejected because of wrong authentication. X connection to localhost:10.0 broken (explicit kill or server shutdown). I have made sure that the line "X11Forwarding yes" is in /etc/sshd_config. I also tried to create a file called "~/.ssh/.config" with the line "ForwardX11=yes" in it. While SSHed into my laptop, I can see that $DISPLAY has been appropriately set: $ echo $DISPLAY localhost:10.0 as opposed to, when logged in locally, $ echo $DISPLAY 127.0.0.1:0.0 I can also see that 'localhost' is resolved correctly ("MACHINE2048" is my laptop): $ ping localhost Pinging MACHINE2048 [127.0.0.1] with 32 bytes of data: Reply from 127.0.0.1: bytes=32 time<1ms TTL=128 When I run xhost, everything appears to be correct: $ xhost access control enabled, only authorized clients can connect INET:MACHINE2048 INET:localhost INET:MACHINE2048.netname.net <-- Actual netname removed LOCAL: I'm stumped. Any ideas? (Thanks in advance!) -- 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/