View Single Post
Old 12-14-2004, 09:23 PM   #5 (permalink)
skaven
Insane
 
Location: Austin, TX
Quote:
Originally Posted by aurigus
The problem with doing all of that is he doesnt have SSH access.
SSH is not the only protocol that can be tunneled. The linux TCP stack has support for tunneling over an arbitrary pair of ports; it's just a matter of setting it up. Obviously tunneling through an SSH *session* is more secure, but it is definitely possible to instruct linux to pipe data from a shell process out an arbitrary TCP port, then receive that data on the other end from another arbitrary TCP port. Just because you'd be using the FTP *port* doesn't mean you're limited to the FTP *protocol*.

Hell, if you have FTP access, that implies that port 21 is open, in which case why not just run your ssh daemon on port 21 on both machines? There's no rule saying it has to be on port 22.
skaven is offline  
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73