Berkeley CSUA MOTD:Entry 19460
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2025/04/03 [General] UID:1000 Activity:popular
4/3     

2000/10/12-13 [Computer/SW/Unix, Computer/SW/Security] UID:19460 Activity:high
10/11   Pointer to how to make a secure ftp connection from cory to csua?
        \_ man scp
          \_ use ssh to port forward a port from cory to soda, then use
             ftp -P to connect to that forwarded port.  Don't forget to use
             passive mode.
             \_ it's -p
                ftp -P 9001
             \_ ssh -L 9001:csua:21
                ssh -L 9002:csua:20 (can you do these two at once?)
                ftp -p -P 9001 localhost
                \_ I tried this ssh -L 9001:csua:21 from home and it just spit
                   the usage info back at me.  So i tried it locally (i.e. from
                   HERE) and it did the same thing.
                   \_ You need to add the remote host:
                      ssh -L 9001:csua:21 csua
                        \_ I had tried that but it just logs me in!
                           \_ The port forwarding is a side-effect.
                              As long as you are logged in, the port
                              forwarding is on. I suggest using scp
                              unless you really, really need ftp. -- jsjacob