LJ Archive

Listing 6: Using ssh to Forward FTP

mick@homebox:~/ > ssh -2 -f mbauer@zippy -L \
7777:zippy:21 sleep 20
Enter passphrase for DSA key
'/home/mick/.ssh/id_dsa':
mick@homebox:~/ > ncftp -p 7777 localhost
LJ Archive