| ||||||
| 5/23 |
| 1999/3/12-13 [Computer/SW/Security] UID:15584 Activity:nil |
3/11 There's ssh and scp. Is there sftp? I want to interactively get
and put a file. scp is rather inconvenient.
\_ DataFellows ships an sftp but it's just making an ssh tunnel
to the ftp-cmd channel for you to use. It only secures the
command channel and requires that you have some account on the
remote machine. Due to the design of the ftp protocol, it
is difficult to secure the data channel, though there are ways to
do this that involve a bit of work on the part of an administrator.
--jon
\_ I'm sure you could just write a little script called sftp that
would establish a secure channel and tunnel ftp automatically.
\_ no, you can not do it with a simple shell script for
the data channel. The command channel is simple, data is
not with most of the unix ftp clients available.
\_ in many cases, you need to hack the ftp client from source
(or edit raw binary for the truly fooful) to get it to
use arbitary host:port's for the data channel (you need to
use ftp's passive mode btw). There is a way to combine both
the data and command channel for easier forwarding through
a novel use of a socks proxy. This is the "bit of work" to
which I earlier referred. --jon
\_ Most people only really care about securing the command
channel because of the password. If you were working
on something top secret, however, that would be a diff
story and you should just use the inconvenient scp.
\_ How about:
ssh -f -L 1234:csua.berkeley.edu:23 http://csua.berkeley.edu
sleep 20 </dev/null >/dev/null
as adapted from the fetchmail manpage?
\_ What about writing an expect script to transfer files using
ssh? For example, if I want to get a file to my machine
from soda I can do:
ssh soda -C cat filenameOnSoda > fileNameOnMyMachine
You can use the same trick to send a file. You could
write a script that would also let you do ls and other
stuff too. -emin
\_ the nice thing about a "secure ftp" is that you
amortize the cost of the SSH authentication process
over the transfer time of a number of files rather
then once for each file transferred, and yet you
can still deal with files on a individual, interactive
basis. Doing ls via another ssh-wrapper would just
add to the number of ssh-authentications needed, which
for some users is a high cost. --jon
\_ Try SRP. It provides a secure ftp and ftpd, along with a few other
cool security features.
\_ Can someome who has looked at SRP explain what it is about? |
| 5/23 |
|
| csua.berkeley.edu Science Undergraduate Association The Computer Science Undergraduate Association is dedicated to representing the undergraduate Computer Science student body and associates to the University of California at Berkeley, its representatives, and other related organizations; Our office is located in 343 Soda Hall, located at the corner of Hearst & LeRoy. May___| |May, 2004 | |_S___M___T___W___T___F___S_| | |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 | | |___|___|| Calendar of Events Mon, May 3rd, (6:00 PM) General Meeting/Officer Elections Announcements: * CSUA t-shirts are now available in the office (343 Soda) for $12 each. Baby-doll cuts also available. View the design on front and back. The CSUA Mentoring Program is calling for new students to sign up to be mentored. Register to find out more information about this free program at the mentoring website. Members interested in mentoring should contact jhs as soon as possible. CSUA Officer Meetings: Politburo meetings for Spring 2004 are scheduled for every Monday at 6pm in 337 Soda Hall. New members always welcome. Help Sessions are being offered, open especially to new students. The topics, times, and locations are listed here. We just made a Costco run. If you don't know what this means, stop by 343 Soda to find out. The Constitution has been amended. Many thanks to AMD and the TDA Project. Secure remote logins require either SSH ( Java Client) or S/KEY ( Java Client). User Policy - The Rules * Frequently Asked Questions about the CSUA and Soda * CSUA Constitution * Message of the Day - Including downtime announcements * CSUA Library * CSUA Encyclopedia * Membership application form, in PDF, TeX, DVI, and Postscript. The Mentoring Program * Prospective LSCS Mailing List. |