From: Smith, Graham - Computing Technician (Graham.Smith at domain it-tallaght.ie)
Date: Wed 04 Sep 2002 - 12:31:45 IST
Not sure if this is what your looking for
- but you could make an ssh tunnel between two of the hosts.
For example you could create a tunnel
from cat to bat, then you'd just copy (scp) your moo.txt
to a different port on bat from host axe, and the file would
be transfered to host cat.
The tunnel is created from a port redirect.
Look up ssh -R in the man page. Its not going to be
quite as short and sweet a command though, but you can
always wrap a script around it if its something you do regularly.
G.
___________________________
Graham Smith,
Network Administrator,
Department of Computing,
Institute of Technology,
Tallaght, Dublin 24
Phone: + 353 (01) 4042840
-----Original Message-----
From: kevin lyda [mailto:kevin+dated+1031569966.1eadf0 at domain ie.suberic.net]
Sent: 04 September 2002 12:13
To: irish linux users group
Subject: [ILUG] scp host routing?
let's say i have three hosts axe, bat and cat. i want to copy moo.txt
from axe to cat but i have to "hop" across bat. in uucp i'd just do:
uucp moo.txt bat!cat!moo.txt
anyone know if this is possible in an ssh client? openssh doesn't seem
to have this.
kevin
-- kevin at domain suberic.net that a believer is happier than a skeptic is no more to fork()'ed on 37058400 the point than the fact that a drunken man is happier meatspace place: home than a sober one. the happiness of credulity is a http://ie.suberic.net/~kevin cheap & dangerous quality -- g.b. shaw -- Irish Linux Users' Group: ilug at domain linux.ie http://www.linux.ie/mailman/listinfo/ilug for (un)subscription information. List maintainer: listmaster at domain linux.ie
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:18:37 GMT