ssh 2 tunnel to named pipe not working - please help
From: Jared (jared_at_hwai.com)
Date: 02/25/04
- Next message: Nico Kadel-Garcia: "Re: Does sftp or scp gaurentee delivery?"
- Previous message: Torsten Bronger: "Avoiding sending clear text passwords"
- Next in thread: Richard E. Silverman: "Re: ssh 2 tunnel to named pipe not working - please help"
- Reply: Richard E. Silverman: "Re: ssh 2 tunnel to named pipe not working - please help"
- Reply: Per Hedeland: "Re: ssh 2 tunnel to named pipe not working - please help"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 25 Feb 2004 06:23:21 -0800
OK, this is officially escalated to an annoyance. I have previously
been able to set up a scenario as follows:
ssh user@targethost 'cat > inbound_namedpipe' < outbound_namedpipe &
This works as expected under ssh v1 connectivity (i.e., RSA key
exchange method, ssh v1 authorized_keys file etc.). I am now trying
to do this using using ssh v2 (DSA key exchange, authorization file,
etc.) and it won't work . I can execute a remote command with no
problem ( ls -l | ssh user@targethost 'cat > textfile.txt'); but I'm
pretty sure I'm not getting to the named pipe on the target side.
The reasoning behind my diagnosis: The process on either side of the
tunnel is an Oracle export and import; under the ssh1 tunnel I could
see the activity (if you've ever used these utilities you know what I
mean). Under the ssh2 tunnel I see the export start but there is no
activiy on the import side. The named pipe on the outbound side is >
0 bytes while the named pipe on the inbound side stays at zero bytes.
I did a small export/import test using files and it worked fine. The
OS and Oracle versions are identical on both machines.
Here is my setup
TARGET MACHINE:
1. mknod /tmp/inpipe.dmp p
2. imp xxx/xxx (params) file=/tmp/inpipe.dmp &
SOURCE MACHINE
3. mknod /tmp/outpipe.dmp p
4. ssh user@targethost 'cat > /tmp/inpipe.dmp' < /tmp/outpipe.dmp &
5. exp xxx/xxx (params) file=/tmp/outpipe.dmp
As I mentioned above, this works under ssh v1. Is there a syntax
change for v2? I reread the man page but didn't pick up on one.
Please help - I have a data warehouse to move around and don't want to
spend the weekend moving tapes!
Thanks in advance -
Kind regards,
jh
- Next message: Nico Kadel-Garcia: "Re: Does sftp or scp gaurentee delivery?"
- Previous message: Torsten Bronger: "Avoiding sending clear text passwords"
- Next in thread: Richard E. Silverman: "Re: ssh 2 tunnel to named pipe not working - please help"
- Reply: Richard E. Silverman: "Re: ssh 2 tunnel to named pipe not working - please help"
- Reply: Per Hedeland: "Re: ssh 2 tunnel to named pipe not working - please help"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|