Slashdot Mirror


Sending Files w/o Sending Clear Passwords?

Ambush_Bug asks: "I've done some googling around, but to no avail. I'm wondering if the Slashdot knows of a remote login protocol which exists in security space somewhere between ssh & rsh/ftp/telnet. Basically, the point is that I don't care if my data are encrypted, but I'd rather not send my password around as plaintext. I'm sending extremely large astronomical images which don't compress very well (noisy backgrounds...) and sftp is just too slow, but our sysadmin isn't fond of rcp, ftp and the like. Is there something in between?"

151 comments

  1. Push 'em. by TheSHAD0W · · Score: 2, Informative

    Put the data up in an obscure or passworded http or ftp server directory, then log in to your remote host via ssh and grab them remotely.

    1. Re:Push 'em. by Bob.Smart · · Score: 1

      To be more explicit:
      (1) mkdir --mode=og+x-r ~/public_html/private/
      Apache can't read this directory but can access specific files in it.
      (2) mkdir ~/public_html/private/xyzzy/
      where xyzzy is any random password. Put the files you want to transfer in that directory and retrieve them with wget.

    2. Re:Push 'em. by WoTG · · Score: 1

      Just a quick note, if you use a passworded http directory, your password is NOT sent in clear text on most modern web server configurations. They are usually hashed with MD5 somehow - there's a standard, but I can't seem to Google it right now. (This doesn't encrypt the data, it just secures your password)

    3. Re:Push 'em. by MSG · · Score: 1

      Actually the password is base64 encoded, to be safe over 7bit media. It's still very much "plain text".

    4. Re:Push 'em. by Jeremiah+Cornelius · · Score: 1
      1) Digest Auth HTTP. (http://www.ietf.org/rfc/rfc2617.txt) For IIS it's a check-button, Apache it's a mod: mod_auth_digest (Requires capable browser: IE or Moz).

      2) One-time Passwords - think S/Key. I think Apache needs mod_auth_pam, and the PAM module for S/Key needs to be configured. I havn't done this, but the buzz is opiepasswd is the most flexible PAM module.

      KERBEROS. A whole bunch of work to kerberize one service, but if you start here, you can move to K5 for most of your infrastructure. I like the approach. K5 and LDAP - this was the Windows 2000 approach, and it works great on Unix. GSSAPI software, like NFS v4, will support K5 extensions. Samba 3 is now a final release, and gets you there too.

      --
      "Flyin' in just a sweet place,
      Never been known to fail..."
    5. Re:Push 'em. by WoTG · · Score: 1

      OK, you had me worried for a bit (no pun intended)!

      I had to Google for "HTTP Authentication" to come up with this: Apache reference page. It DOES use MD5, but I don't really know how popular this digest authentication is... I know my web host supports it, but I don't remember how I ended up figuring that out.

    6. Re:Push 'em. by Directrix1 · · Score: 1

      If you don't secure your data transmission you might as well not login. You might as well just go all plaintext, because a man-in-the-middle attack could be used to inject whatever your trying to secure with your "secure password only" approach anyways.

      --
      Occam's razor is the blind faith in the natural selection of least resistance and in universal oversimplification. -- EF
    7. Re:Push 'em. by Directrix1 · · Score: 1

      MD5 is still susceptible to dictionary attacks. So you better choose random characters as your pass if you plan on using HTTP Auth. Somebody needs to petition to get SRP as the new Secure Remote Password mechanism.

      --
      Occam's razor is the blind faith in the natural selection of least resistance and in universal oversimplification. -- EF
    8. Re:Push 'em. by Anonymous Coward · · Score: 0

      Please note that unless there is a challenge-response protocol where some random challenge is generated by the server-end, no amount of hashing will do you any good.

      IIRC HTTP basic auth just base64-encodes the username and password, which is totally insecure.

    9. Re:Push 'em. by jovlinger · · Score: 1

      It shouldn't take too long to write a javascript function for encrypting salt+password with the password. Send this as your authentication; the server decrypts with known password to confirm.

      Of course, I'm no security expert, so this may be horribly insecure. It just occurred to me that by setting the salt to include the current time of day, you should be able to thwart replay attacks that occur more than a given epsilon after the login, which is kinda neat.

    10. Re:Push 'em. by Directrix1 · · Score: 1

      This is also susceptible to dictionary attack. Scenario:
      Man in the middle intercepts your authentication message. Stores it in memory then runs the same salt on a dictionary. No problem.

      --
      Occam's razor is the blind faith in the natural selection of least resistance and in universal oversimplification. -- EF
    11. Re:Push 'em. by jovlinger · · Score: 1

      The salt is encrypted w/ the password:

      Auth(enteredpw) = Enc(enteredpw, RandomSalt+time+enteredpw)

      Verify(auth) = let salt,time,enteredpw = Dec(knownpw,auth)
      check: enteredpw == knownpw && (timenow - time < replaywindow)

      Is that what you understood me to say above? Ifso, could you explain how the dictionary attack comes in?

      There is a window during which the entered password can be replayed; this can be countered by either having the server store the salt and allow a given salt to be used only once (in which case the time is not needed), or to restrict logins to be repeated only outside the replay window.

    12. Re:Push 'em. by Directrix1 · · Score: 1

      That would require the remote authentication service to have the same synchronized times (to the precision of the time declaration), and it would also require the knowledge of the salt by the end user as a third credential. Furthermore, the enumeration through possible human memorable salts along with the dictionary makes it still susceptible to dictionary attacks. Because even though it is salted with the time and a number the time can be recorded and the number can be brute forced along with the password. I would suggest looking at srp.stanford.edu for a secure password passing mechanism.

      --
      Occam's razor is the blind faith in the natural selection of least resistance and in universal oversimplification. -- EF
    13. Re:Push 'em. by jovlinger · · Score: 1

      I must be losing my explantory powers. The salt, by what I thougth was standard convention, is a random number generated by the password creation routine -- in this case javascript (as per my granp-parent post). My apologies for either misusing terminology or poorly explaing myself.

      Assuming that is how you understood salts to work, then I am confused where human-memorable salts enter the picture. Why would the human even see the salt, as it is a random number supplied by the remote client program?

      You're correct about the synchronized times, and that item of the tuple can be omitted, if you have some other way of combating replay, such as state on the server to disallow repeated use of a particular salt. (as per my parent post).

      As for brute force, I had rather assumed that if that wasn't a valid attack in this threat model.
      Oh, I guess this would give you an opportunity to run dictionary attacks off line. Good point.

      I guess you would have to use a secure hash rather than self-encryption to get around that. Send (salt, hash(enteredpass+salt)) as authetication, verify that hash(knownpass,salt) == auth.

    14. Re:Push 'em. by MSG · · Score: 1

      I don't really know how popular this digest authentication is

      Not very. It only works if your server has a plaintext equivalent of your password. It's useless if you're authenticating against LDAP, for instance. Usually you'll end up using Basic authentication (plain text password) over SSL.

  2. DVD by Dancin_Santa · · Score: 2, Interesting

    Snail mail doesn't require a password.

    1. Re:DVD by larry+bagina · · Score: 1

      snail mail does require encoding binary data into text (base64 or uuencode) which adds an extra 15% overhead or so.

      --
      Do you even lift?

      These aren't the 'roids you're looking for.

    2. Re:DVD by kernelistic · · Score: 1

      Snail mail requires no such thing. You either use iso9660 or UDF to encode the disc.

    3. Re:DVD by DjReagan · · Score: 1

      Eh? Snail-mail - you know.. like the post office, and the letterbox out front of the house? People use it to send pieces of paper in envelopes to each other. Sometimes they send parcels. In this case, the guy would use it to send a CD with his data burnt on it.

      I'm not quite sure why you think that requires Base64

      Perhaps you're thinking of E-Mail?

      --
      "When I grow up, I want to be a weirdo"
    4. Re:DVD by 91degrees · · Score: 1

      Bandwidth is pretty good as well if you're sending a lot of data.

    5. Re:DVD by xsbellx · · Score: 1

      "Never underestimate the bandwidth of a station wagon loaded with mag tapes". -- Unknown

      --
      If VISTA is the answer, you didn't understand the question
    6. Re:DVD by PerlGuru · · Score: 1

      I'm sorry to see these other poor saps didn't get the joke, I for one did. I quite enjoyed it I must say.

    7. Re:DVD by Directrix1 · · Score: 1

      If you are actually referring to email and not snail mail, then the file encoding process takes up 133% of the original, without the MIME Headers.

      --
      Occam's razor is the blind faith in the natural selection of least resistance and in universal oversimplification. -- EF
    8. Re:DVD by Mod+Me+God · · Score: 1

      Sneaker-net is a little more secure. Massive bandwidth too.

      --
      --

      FreeNET user? Comfortable with the adverse selection?
    9. Re:DVD by Tower · · Score: 1

      The latency can be a bitch, though - especially on those NJ -> MN transfers.

      --
      "It's tough to be bilingual when you get hit in the head."
  3. SCP by CyberVenom · · Score: 2, Informative

    Try scp. It is included with ssh.

    1. Re:SCP by Anonymous Coward · · Score: 1, Informative

      And if you're working with a win box, WinSCP3 is a pretty good app.

  4. use an IM client by Anonymous Coward · · Score: 0

    What about running an IM client and using its file transfer feature? Most IM clients offer plaintext file transfers, and most have secure authentication processes (e.g., MSN Messenger uses an MD5 challenge-response system).

    You can probably use something like Jabber.

    1. Re:use an IM client by Anonymous Coward · · Score: 0

      My experience is that IM file transfers are often slow and usually don't work well on NATed or firewalled computers.

  5. The answer is... by Anonymous Coward · · Score: 0

    CDRW+UPS.

    Innovative protocol that requires a stack of blank CDs and a business account with UPS (unless you want to drive to a drop-off).

    CDRW+Fedex is a similar fork of this protocol.

  6. Re:SCP (with -c none) by Anonymous Coward · · Score: 3, Informative

    specifically "scp -c none", which will send the data in the clear, but still do the secure authentication (ie. no cleartext passwords)

    It isn't always enabled; your admin may have to set it up. Google around for the details.

  7. ummm... by Tr0mBoNe- · · Score: 1

    Basically if you are sending something... no matter what, it is broken down into packets and sent. Your computer does not care what it is, just where it is going. It is the job of the receiver to understand it. The reason yer SFTP is slow is because yer internet connection is throttled for non HTTP packets. This is common in large networks and schools.

    What I would do is burn it onto a CD and snail mail it to the person. If the file is to large to put onto one cd, then probabally it is too large to send in one sitting.

    If all your traffic is local though, like still on the same LAN or WAN, or (taking a large leap) Metropolitan Area Network, the transfer rates should be no problem.

    One other thing. If your institution is using extremley large images or files, generally your sys admins are nice enough to allow you to tansfer them at generally astronomical speeds. If yours are being little trolls holing their bandwidth and crushing the boned of all who cross their path is seek of the precious BW, might i suggest a Knight in Shining Armor, or their boss.

    --
    while(1) { fork(); };
  8. one time passwords by FiDooDa · · Score: 1

    it seems that one time passwords could help you out here.

    It doesn't encrypt passwords for cleartext protocols but if the password is used only once it's not a great risk.

    I used it on OpenBSD (ftp server) and it worked great.

    OpenBSD S/Key FAQ section

    1. Re:one time passwords by FiDooDa · · Score: 1

      *sigh* I should of wrote: because the password is used only once it's not a great risk

    2. Re:one time passwords by lavv17 · · Score: 1

      if your ftp server supports s/key or opie, then you can send the one-time password automatically without s/key calculator using lftp.

    3. Re:one time passwords by Anonymous Coward · · Score: 0

      You mean "I should have written".

    4. Re:one time passwords by Anonymous Coward · · Score: 0

      You mean he meant "Ah shoulda writin".

  9. sftp? by __aafkqj3628 · · Score: 0, Offtopic

    I always thought sftp was secure and allowed file transfer.

    1. Re:sftp? by Anonymous Coward · · Score: 1, Insightful

      Congratulations on not even reading the submission text, you unbelievably stupid piece of shit.

    2. Re:sftp? by Anonymous Coward · · Score: 0

      rofl...that got modded "insightful." I mean, it was insightful, but it's just hilarous to see that comment with an "insightful" tag.

  10. PPP? by CyberVenom · · Score: 1

    Not sure exactly how you would set it up, but PPP supports unencrypted data streams with hashed passwords when using authentication like CHAP. or... Maybe you could write a Perl (or Python, or shell) script that issies a challenge and spits out whatever files you want if the challenge succeeds. Hell, maybe I'll write one right now - here I go! (check this thread in a few minutes to see the finished product...)

    1. Re:PPP? by pyite · · Score: 1

      What the? How would you manage to run PPP over IP? It's a WAN protocol. SFTP, on the other hand, uses the SSH Transport Layer protocol, and as such, can run on top of TCP/IP. Have fun writing your "script."

      --

      "Nature doesn't care how smart you are. You can still be wrong." - Richard Feynman

    2. Re:PPP? by DA-MAN · · Score: 1

      > How would you manage to run PPP over IP?

      Microsoft managed to do it. The protocol is called pptp and does just that. I know this is off topic, just wanted to point out that ppp over ip is totally doable.

      http://www.poptop.org

      --
      Can I get an eye poke?
      Dog House Forum
    3. Re:PPP? by CyberVenom · · Score: 1

      I think the whole point is that encrypting the entire datastream is too processor intensive in this case, so SFTP (or even SCP) would be out of the question. PPP could potentially be run over a TCP/IP socket (like VPN/PPTP). Not that PPP itself is really the point, I just thought that there might be a way to use existing authentication methods. The script I wrote does not use PPP, but implements a challenge handshake based on some of the same concepts as CHAP.

    4. Re:PPP? by pyite · · Score: 1

      Well, the reason I raised an eyebrow is because you seemed (IMHO) to point to PPP being the core of this whole thing. PPTP is something different entirely (a something I hate with a passion but that's another discussion all together ;)). Really, PPP, or PPTP, not CHAP are critical to this. All you really need is a challenge response. Avoiding this all together, we can just use a one time password. There are numerous (good) ways for implementing those.

      --

      "Nature doesn't care how smart you are. You can still be wrong." - Richard Feynman

    5. Re:PPP? by aminorex · · Score: 1

      There's a project on sf.net for ppp over
      telnet over tcp over ip.

      Useful for getting a back-door into your
      company's network.

      --
      -I like my women like I like my tea: green-
    6. Re:PPP? by CyberVenom · · Score: 1

      That sounds like exactly what I meant when I mentioned PPP.

    7. Re:PPP? by Anonymous Coward · · Score: 0
  11. One-time passwords by jhealy1024 · · Score: 3, Informative

    If you use one-time passwords, you can use a totally insecure connection because the password is invalid immediately after you use it. Thus, even if it gets sniffed, it doesn't give an attacker anything they can use to get into your system. Thus, the connection is totally insecure, but your password remains safe. Sounds to me like just what you would want.

    Look into libpam-opie on linux or s/key on the *BSDs for more info. Some good background is available from the FreeBSD manual:

    http://www.freebsd.org/doc/en_US.ISO8859-1/books /h andbook/skey.html

    It integrates well with most of the "basic" services on those OSes, so you shouldn't have much trouble getting it off the ground.

    The one pain is that you have to look up a new password off of a card or piece of paper every time you log in. Alternately, some programs allow you to compute the OTP challenge/response on the fly (you could even write a script to help you out if you do this often enough).

    Definitely worth a look...

  12. Re:SCP (with -c none) by CyberVenom · · Score: 2, Informative

    Here's a link to the manpage. http://www.die.net/doc/linux/man/man1/scp.1.html

  13. Don't authenticate by duffbeer703 · · Score: 1

    If you're on an internal network, setup an anonymous FTP server...

    I've seen setups where anyone can upload a file to a certain directory, then some script routine runs every so often and moves the file to the actual place where you want the file to go.

    --
    Conformity is the jailer of freedom and enemy of growth. -JFK
  14. FTP and SSH by ccarr.com · · Score: 1

    I've never tried this, but I once heard that it's possible to create an SSH tunnel for port 21, FTP's control port. The data is actually transmitted in the clear over other ports, but the protocol-related transmissions take place over the encrypted port. I'm not sure how this would work; since the tunneling would mask the client's orgin to the server, I would expect problems negotiating the data ports.

    --
    I don't know half of you half as well as I should like, and I like less than half of you half as well as you deserve. BB
    1. Re:FTP and SSH by Anonymous Coward · · Score: 0

      What you're talking about is actually called SFTP and is pretty easy to set up. If you have SSH installed on your server, chances are you can do SFTP already.

      CuteFTP Pro is a fairly good windows client for SFTP.

    2. Re:FTP and SSH by dublin · · Score: 1

      ...it's possible to create an SSH tunnel for port 21, FTP's control port. The data is actually transmitted in the clear over other ports, but the protocol-related transmissions take place over the encrypted port.

      This approach will crash and burn if attempting to traverse a stateful firewall, of course, since such a beast needs the info in the control conection in order to allow the data connection back through.

      --
      "The future's good and the present is nothing to sneeze at." - Roblimo's last ./ post
    3. Re:FTP and SSH by Otto · · Score: 1

      This approach will crash and burn if attempting to traverse a stateful firewall, of course, since such a beast needs the info in the control conection in order to allow the data connection back through.
      Not if you use FTP in PASV mode though, right? Using PASV lets the client do the connection to the server for both the control and data connections.

      --
      - Give a man a fire and he's warm for a day, but set him on fire and he's warm for the rest of his life.
  15. very simple - tunnel ftp over SSH by stonebeat.org · · Score: 3, Informative

    FTP uses 2 ports: port 21 for control connection(passwd/authentication) and port 20 for data transfer.
    You just need to tunnel 21 through SSH, and leave 20 unecrypted.
    Very simple technique, but very powerful. I use SSH tunneling everyday.
    openssh supports tunneling and the windows downloadable form http://www.ssh.com also supports it. takes 3 mins to setup the tunnel.

    1. Re:very simple - tunnel ftp over SSH by user555 · · Score: 1

      FTP is a strange protocol and there are about a million gotcha's with trying to do ftp on SSH.

      To start with you sysadmin must allow you to ssh in to the machine running ftp. (Mine doesn't allow it because he does want people slowing down the server by for example compiling on it...)

      Even then this will probably only work for passive ftp.

      Read the Orielly SSH book if you're curious. They discuss how to do this for about 20 pages.
      BTW, getting both data and commands encrypted is next to impossible.

      Bottom line. Go ahead try it. If you have the right setup it might be easy. But don't be surprised if you have trouble.

    2. Re:very simple - tunnel ftp over SSH by gl4ss · · Score: 1

      btw ftp allows quite funky configurations too.

      for example, if you limit the clients that can use it to the active mode ones, you can actually portforward the control connection from any computer you like on internet(so the computer that actually serves the files, and brings up the data transfer connections can sit behind a firewall that allows no incoming connections)

      --
      world was created 5 seconds before this post as it is.
    3. Re:very simple - tunnel ftp over SSH by Anonymous Coward · · Score: 0

      Mine doesn't allow it because he does want people slowing down the server by for example compiling on it...

      That's funny, when I don't want people to compile on a server I administer I don't install compilers on it.

  16. Anonymous FTP by WolfWithoutAClause · · Score: 1
    I think you should use anonymous ftp (your operator should be fairly happy with that, it's the one remaining, legitimate use of ftp there is), then log in securely using ssh and move it somewhere safe and run an md5 checksum on it to check that it made the trip without any modifications or corruption.

    I don't see that you have much advantage from using a secured ftp in this case- 99.999% of the time you won't get hacked or anything and in this case the data you are hauling isn't sensitive anyway. Just don't use the anonymous ftp account for anything that needs the security.

    --

    -WolfWithoutAClause

    "Gravity is only a theory, not a fact!"
  17. Try a faster cipher by semanticgap · · Score: 4, Informative

    Sftp uses ssh as the transport. Chances are your ssh configuration defaults to 3des which is painfully slow, you might do better by specifying blowfish as your cipher, or if you are really lucky, your sysadmin has compiled ssh with "none" cipher enabled (but my guess is you are not so lucky, even though ssh with none as cipher addresses your problem precisely - passwords are encrypted, and the rest isn't).

    To tell sftp to tell ssh to use blowfish I believe you need "sftp -oCipher=blowfish"

    1. Re:Try a faster cipher by kwerle · · Score: 3, Informative

      This is exactly the right kind of thing to do.

      I use scp, and so the command I issue is

      scp -c blowfish SomeFile me@TargetHost:/somepath

      On my 11Mb/s 802.11 network I am capped by bandwidth, not by CPU.

    2. Re:Try a faster cipher by adrizk · · Score: 1

      but my guess is you are not so lucky, even though ssh with none as cipher addresses your problem precisely - passwords are encrypted, and the rest isn't

      I just want to point this out so there are no faulty assumptions about security: If you use password based authentication, your password is only protected by the cipher, so with "none", your password will be sent plaintext. A lot of SSH2 servers will be set up so you can't use password authentication with less secure ciphers anyway.

      Public key authentication is probably ok though, even over a non-encrypted connection (and a more secure authentication method in general). So if you have control over both ends of the connection, use no encryption, and public key authentication, and you should be pretty good

    3. Re:Try a faster cipher by semanticgap · · Score: 1

      If you use password based authentication, your password is only protected by the cipher, so with "none", your password will be sent plaintext.

      Good point! Shows how assumption is the mother of all problems, I stand corrected, cipher none is not such a good idea.

    4. Re:Try a faster cipher by Big+Jason · · Score: 1

      I think arcfour is even faster.

    5. Re:Try a faster cipher by Dwonis · · Score: 1

      Odd. scp is *much* slower than rsync -e ssh on my system.

    6. Re:Try a faster cipher by kwerle · · Score: 1

      That seems REALLY unlikely, unless rsync is telling scp to use a faster cipher. Is it slow because the CPU is maxed?

      Or maybe scp is trying to compress files that are already compressed?

    7. Re:Try a faster cipher by Dwonis · · Score: 1
      rsync doesn't use scp. It uses ssh to open a channel to a remote "rsync --server" command.

      The scp (which uses the scp1 protocol over ssh), which is what you that comes with OpenSSH seems to use some insanely slow protocol over SSH. My guess is that it uses some sort of "send, wait-for-ack" mechanism.

      The CPU is *not* maxxed. I'm sending from a PIII-650 to/from a Thunderbird 1200 over a wireless LAN card.

      My point is that it's not the cipher that's the problem, it's probably the archaic SCP1 protocol (which runs on top of both SSH 1 and 2) that's the problem.

  18. WebDAV or HTTP? by YellowElectricRat · · Score: 1

    You could use WebDAV (works on IIS and Apache) or, as a slightly more tricky alternative, plain HTTP uploads (you'd need an upload handling script).

    As long as you enable authentication, and make sure it's not basic authentication (use digest authentication, or if it's a windows box, NTLM), you're set - your password is encrypted, but your data isn't.

    Similarly, you could use either WebDAV or HTTP uploads over an HTTPS connection WITH basic authentication, which gives you overall encryption on the lot, but that's not really what you were after...

    1. Re:WebDAV or HTTP? by utopiabound · · Score: 1

      You don't need a script. There's a standard PUT command in the HTTP spec. If you use windows you can drag and drop files into a netscape window to transfer them up. On a *nix you can use curl (with the --upload-file option). Just make sure it's password protected and you're ready to go.

    2. Re:WebDAV or HTTP? by Anonymous Coward · · Score: 0

      You don't even need PUT support if you hack up a small PHP script to write POSTed data into a file. Just make sure you use Digest, NTLM or GSS-Negotiate to authenticate the connection instead of Basic authentication (which uses unencrypted passwords). Recent versions of curl support all those authenticated methods.

  19. tunnel FTP through SSH by stonebeat.org · · Score: 1

    oh btw if you dont want to setup tunneling manually, you can also purchase appgate's mindterm, which a a webbased tunneling java program, that is very easy to setup.

  20. -c None by KagatoLNX · · Score: 1, Redundant

    It was mentioned above but not modded up, use scp with -c none.

    That should use scp with no cipher. You can, however, still use a key pair for authetication. Thus, auth is secure, transmission is plain.

    --
    I think Mauve has the most RAM. --PHB (Dilbert Comic)
    1. Re:-c None by Fished · · Score: 1

      Newer versions of OpenSSH don't support -c none. (The usual security zealot nonsense from the OpenBSD people from what I can tell. There *is* a place for -c none.)

      --
      "He who would learn astronomy, and other recondite arts, let him go elsewhere. " -- John Calvin, commenting on Genesis 1
    2. Re:-c None by shepd · · Score: 1

      >Newer versions of OpenSSH don't support -c none. (The usual security zealot nonsense from the OpenBSD people from what I can tell. There *is* a place for -c none.)

      Then try lsh! It's GNU software instead. Has fewer bugs, it seems, too. :-)

      --
      If you could be told what you can see or read, then it follows that you could be told what to say or think - BoC
    3. Re:-c None by swdunlop · · Score: 1

      And fewer eyes watching the source code.. Fewer bugs in a project of similar complexity with fewer users is not necessary a clean bill of health.

    4. Re:-c None by shepd · · Score: 1

      >And fewer eyes watching the source code.. Fewer bugs in a project of similar complexity with fewer users is not necessary a clean bill of health.

      Normally I'd agree, but the OpenSSH project has led me to believe that there are times this analogy breaks down, badly.

      Worse than that is BIND. There's likely even more people poring over that project, but for years it was plagued with the worst kind of bugs. I wouldn't be surprised if there's a lot more for people to find.

      There's many more examples, some worse, some not.

      I really do like lsh. It's fast, quick to compile, and has a REALLY streamlined set of libraries and installation procedure. Plus its author seems to read slashdot. :o)

      --
      If you could be told what you can see or read, then it follows that you could be told what to say or think - BoC
    5. Re:-c None by Anonymous Coward · · Score: 0

      Then try lsh! It's GNU software instead.

      This is not an endorsement.

      Remember what you've learned from the FSF, kids. Use GNU software, go to jail!

      Demand only genuine BSD software. Accept no substitutes.

    6. Re:-c None by Anonymous Coward · · Score: 0

      Shep, this is really getting silly now. Why haven't you responded to this post yet? You went out of your way to answer the guy who asked you to configure a bare-bones desktop without any features or software, but you haven't responded to the guy who wanted to hear your answer to the G5. Why not?

      You said, and I quote here, "Hardware to hardware, then, I challenge you to bring up a Mac system (non-laptop) which I can't beat with similar or better PC hardware, of similar or better quality." Those are your words, Shep. You really ought to stand by them.

      Post your best configuration for a machine that approximates the G5's capabilities and feature set, and the price. Let us see the truth for ourselves.

      Because, you see, if you don't either prove your point or admit you were wrong, you're just a goddamned motherfucking Mac-hating troll. And we can't have that, Shep. We really can't.

      What's it going to be, Shep?

    7. Re:-c None by Anonymous Coward · · Score: 0

      >What's it going to be, Shep?

      Dude, are you *ever* going to check out my site about you? Bookmark (Ctrl-D) it for future reference!

    8. Re:-c None by Anonymous Coward · · Score: 0

      Dude, are you *ever* going to respond to this post?

  21. SFTP slowness by lpontiac · · Score: 3, Informative
    The reason yer SFTP is slow is because yer internet connection is throttled for non HTTP packets. This is common in large networks and schools.

    There are a couple of other things that can slow SFTP and SCP down:

    • You're encrypting. Not a problem on a fast machine with a slow link, but on a slow machine with a fast link, it's noticable. Another poster has already pointed out you can configure ssh to not compress.
    • The SSH2 protocol implements its own flow control, over and above what TCP is already doing. A really simple implementation of the protocol that won't allow multiple packets to go out without (yet) being acknowledged will slow down heaps - when PuTTY improved it's packet handling I saw scp over 802.11 go from 20KiB/s to 450KiB/s.

      Apparantly, when using OpenSSH, you'll want to use the -B option to bump up the internal buffer size way beyond the 32768 byte default.
  22. How about kerberos? by DeathBunny · · Score: 3, Informative

    Sounds like a good application for Kerberos. From the RedHat Kerberos docs:

    "Kerberos is a network authentication protocol created by MIT which uses symmetric key cryptography to authenticate users to network services -- eliminating the need to send passwords over the network. When users authenticate to network services using Kerberos, unauthorized users attempting to gather passwords by monitoring network traffic are effectively thwarted."

    Just find yourself an FTP client and server that both support Kerberos. Here's a few links to get you started:

    Kerberos section of the RedHat 9 manual:
    http://www.redhat.com/docs/manuals/linux/ RHL-9-Man ual/ref-guide/ch-kerberos.html

    Kerberos FAQ:
    http://www.cmf.nrl.navy.mil/CCS/people/kenh/ kerber os-faq.html

    MIT Kerberos page:
    http://web.mit.edu/kerberos/www/

    1. Re:How about kerberos? by inburito · · Score: 1

      Yes. Mod parent up. Kerberos is exactly what this person is looking for.

    2. Re:How about kerberos? by TilJ · · Score: 1

      I agree, Kerberos is definitely the solution here. Aside from solving the original poster's problem, it also does a whole bunch of other cool stuff - consider it a bonus :-)

      I've collected a bunch of Kerberos information at the ROSPA website, and I have several realms in production use. It provides the sort of magic that seems simple until you try to work at a site that doesn't use it.

      --
      "The purpose of argument is to change the nature of truth." -- Bene Gesserit Precept
  23. sftp too slow - WHY? by wowbagger · · Score: 1

    OK, the question I would have is, exactly WHY is sftp too slow?

    The raw throughput of sftp isn't much less than ftp, given that you have enough CPU on both ends of the link for the encryption/decryption.

    You speak as though the slowdown of sftp is very large compared to ftp - not the few percent the protocol itself would add. This would lead me to beleive that you are running slow due to the encryption itself.

    So, first of all I would check the CPUs of the machines involved - unless you are running an old junque P75 you should not have a big problem filling most pipes.

    Secondly, check what encryption algorithm you are using for the link once it is up. Some of the algorithms require less CPU than others.

    It really sounds like SSH/SFTP would be the solution you want, but you just need to to a bit of tuning.

    1. Re:sftp too slow - WHY? by epine · · Score: 1
      Soekris will soon have a new PCI crypto accelerator, the VPNL401 Encryption at 400Mbs. That ought to be enough encrypted bandwidth to map every prospective Starbuck's franchise in the Virgo Galactic Cluster.

      Even without hardware crypto, any modern 1GHz CPU can saturate a fat pipe using AES or Blowfish as the cypher algorithm. Quit blaming sftp and find a way to make sftp work properly.

    2. Re:sftp too slow - WHY? by MarkusQ · · Score: 1

      The raw throughput of sftp isn't much less than ftp, given that you have enough CPU on both ends of the link for the encryption/decryption.

      You speak as though the slowdown of sftp is very large compared to ftp - not the few percent the protocol itself would add. This would lead me to beleive that you are running slow due to the encryption itself.

      So, first of all I would check the CPUs of the machines involved - unless you are running an old junque P75 you should not have a big problem filling most pipes.

      I didn't dig into it at the time (had other things to worry about), but about a month ago I had to transfer data between a half dozen identically configured 1.7 GHz RH9 boxes. In this environment sftp was about 1/8th the speed of ftp on large files over an issolated 100Mbs network.

      I'd thought as you do until I saw what was happening, at which point I switched to ftp for the rest of the transfers.

      -- MarkusQ

    3. Re:sftp too slow - WHY? by Anonymous Coward · · Score: 0

      cause 20% or more of your pipe is being used by encryption.

    4. Re:sftp too slow - WHY? by DjReagan · · Score: 1

      The implementation of ssh you are using can have a huge impact on the transfer speeds. I was recently using ( an admittedly slightly old version of) SSH Communications's SSH software, and getting around 250Kb/sec with the blowfish cipher - getting rid of that and installing OpenSSH bumped the throughput up to 4.5Mb/sec on blowfish.

      --
      "When I grow up, I want to be a weirdo"
  24. netcat? by Atzanteol · · Score: 1

    Occasionally I want to make a disk-image to a remote machine (typically sending 6 gig). I use netcat to just send the bits as fast as possible.

    Machine a:
    # nc -l -p 1234 > file

    Machine b (via ssh session):
    # nc machinea 1234 file_to_send

    --
    "Ignorance more frequently begets confidence than does knowledge"

    - Charles Darwin
    1. Re:netcat? by man1ed · · Score: 1

      Watch for botched HTML tags.
      That should have read:

      Machine b (via ssh session):
      # nc machinea 1234 < file_to_send

    2. Re:netcat? by Wolfrider · · Score: 1

      --You should also have the ssh session properly set up, i.e. with -2 -c blowfish for fast encryption.

      --
      .
      == WolfriderV6 == I'm willing to admit that *I just might* be wrong... Are you??
    3. Re:netcat? by Atzanteol · · Score: 1

      Why? Only my login session is encrypted. Netcat just sends data from B to A.

      And as somebody pointed out, the second line should read:
      Machine b:
      # nc machinea 1234 file_to_send

      (stupid HTML)..

      --
      "Ignorance more frequently begets confidence than does knowledge"

      - Charles Darwin
  25. E-Mail by afabbro · · Score: 1
    Mail it and have a procmail-driven script that puts it in the right directory. Use perl's MIME and other mail modules to make it easy (both for sending and procmail). No, this isn't 100% secure, but the potential damage is not much worse than mail-bombing - the worst someone could do is intentionally fill up your storage...which they can probably already do. And there's no password at all this way.

    Or just use scp, which is easier still.

    --
    Advice: on VPS providers
    1. Re:E-Mail by steppin_razor_LA · · Score: 1

      Thats got to be one of the worst suggestions I've ever heard.

      Email is a 7 bit medium. If you take a file and encode it for email, you are basically getting 8 bit content to work in a 7 bit medium. This means that the overall file size is increased. Since the author was complaining about speed, adding that overhead isn't likely to help.

      That + the fact that email really isn't designed for transferring large files around. You'd probably break the hell out of whatever mail system you were using anyways.

      There are plenty of other suggestions here (i.e. a HTTP based application.. or better yet just encrypting the control channel)..

      --
      Evolution: love it or leave it
  26. Few quick options by psychosis · · Score: 1

    in bashrc (or whateverrc):
    alias fastscp="scp -prC -c blowfish"

    the -C (compression) won't do much for your images, but is great for most content - think inline zlib compression. blowfish is a reasonably fast cipher as well.

    also, if you're hell-bent on not sending encrypted data, you could set up ssh to not use encryption (type "none"), then use a non-password authentication method - either hostbased or publickey.

    note, though, that the default for scp/ssh is to NOT use compression. why the insistence on not being a little more secure? in my experience, the encryption overhead is not too big a burden on file transfer over a 100Mbps network. Anything less than that and the bandwidth is the bottleneck, not the cpus on either end.

    you may also be able to use an ssl-enabled web page to authenticate, then POST the files over a non-ssl connection... not sure if that's do-able, though.

  27. you can still use scp by Polo · · Score: 1

    Actually, scp will work fine, just use 'none' as the cipher.

    You can even automate things using public key authentication so there aren't passwords.

    a simplified recipe for setting up public key authentication is:

    ssh-keygen -t rsa

    it will ask for a file name, and then generate two files: file and file.pub

    copy file.pub to user@remote in $HOME/.ssh/authorized_keys

    (If the file already exists, append the contents of the file to the end)

    copy file to your local machine's $HOME/.ssh/identity

    If everything is set up ok, you should be able to do:

    ssh user@remote

    and you should be logged in without a password.

    Then try:

    scp -c none localfile user@machine:remotefile

    no passwords, secure login, fast transfers.

  28. Use SCP with the 'none' block cypher by LunaticLeo · · Score: 1

    You need to compile openssh with 'none' cypher. This is not copiled by default.

    The 'none' block cypher will transfer you data in the clear. This gives a near-ftp speed transfer of your data. However, the good thing is that you get the full SSH authentication with passwords encrypted.

    If you can't convince your Sysadmin to compile and install a SSH with 'none' cypher. The next best thing is to use the 'blowfish' cypher. It impacts cpu usage and transfer speed less than any either cypher I have tested.

    BTW, the usage is as follows:

    scp -c none file remote.ip:/dest/

    or

    scp -c blowfish file remote.ip:/dest/

    Good luck.

    --
    -- I am not a fanatic, I am a true believer.
  29. Kerberos FTP by jdurham · · Score: 1

    I've never used it, or even looked at it, but perhaps something like a Kerberized FTP. You may want to try different encryption protocols for scp/ssh. SSH defaults to using IDEA for encryption, which is 64% of non-encryption speed. You can switch to Blowfish, which runs at 88% non-encryption speed. Just use the -c option with ssh/scp. And finally you can look at an unsecured file transfer, such as stock FTP, over IPSec. Check out FreeS/WAN if you are using Linux.

  30. Kerberized FTP by 0x0d0a · · Score: 1

    (a) Use kerberized FTP. Kerberos is a bitch to set up, but if your sysadmin is paranoid about security, he should be using it. Kerberos just deals with authentication, so it's possible to use non-encrypted systems that still use Kerberos authentication.

    (b) Why is it "too slow"? A modern system running AES can saturate a 100Mbits/sec network.

    1. Re:Kerberized FTP by ComputerSlicer23 · · Score: 1
      I've always used rsync, and just sucked the files down. I've found that SSH is considerable slower then FTP or RSYNC on 100Mbit/sec. Granted that was on a dual processor PIII-700 Xeon (both to and from). I used that stock redhat cipher, and then switched to blowfish, while that helped, it still sucked. There are a few interesting tidbits mentioned in the threading about it could possibly be OpenSSH buffering, and flow control that is causing issues.

      I pegged the box about about 60-80% CPU utilization also, which was more then a minor nusince when I was using it to transfer backup copies of my 120GB production database.

      Kirby

    2. Re:Kerberized FTP by Anonymous Coward · · Score: 0

      Kerberos hard to set up? What system are you using? On my system, Windows 2000 Server, you set the domain up and *bang* Kerberos is set up.

  31. OTP Calculators by Cadre · · Score: 1

    For those on the go an OTP calculator for the Palm OS: http://palmkey.sourceforge.net/.

    --
    All editorial writers ever do is come down from the hill after the battle is over and shoot the wounded.
    1. Re:OTP Calculators by Yeechang+Lee · · Score: 1

      I used this very tool (but preferred PilOTP) while at my previous job as an equity analyst for a famous investment bank. The bank firewalled *all* outgoing connections except http/https, but did provide an outgoing telnet proxy. Like the original poster, I didn't care whether the firm's IT group spied on the content of my telnet sessions, but did care about the password for my home Linux box getting stored in some logfile. So I dug up an OTP telnet daemon through Google and happily telneted without divulging my password to anyone. Fortunately, my current job lets me ssh out with no trouble.

    2. Re:OTP Calculators by Anonymous Coward · · Score: 1, Informative

      STRIP will store your passwords and calculate OTPs too.

  32. FTPS by reynaert · · Score: 1

    You can use ftps (ftp with ssl). It does encrypted authentication, and encrypted data transfer is optional. However, few ftp servers and clients support it, as there's really no good reason to use it when you've got ssh.

    1. Re:ftps by TeddyR · · Score: 1

      Thats on the "default" install... but the RH cds (methinks #3, but not sure... but it IS on there somewhere) have wuftpd on them... (you have rpm -e vsftp first, then manually rpm -U wuftp)

      --

      --
      Time is on my side
  33. Kerberos by Fished · · Score: 1
    Kerberos will do this, although you will have to put a bit of effort into setting up a domain. Essentially, it allows you to do fully authenticated rsh, rcp, ftp, etc. while never transmitting your password. Instead, you get a cryptographic key.

    Another option would be to chose a faster encryption algorithm for ssh than the default. In particular, I've seen the arcfour cipher recommended for speed (although I've not used it.) Check out the man page. Older versions of ssh - which you could presumably still find somewhere - support "none" as an encryption option. Using this, you could setup an RSA key and avoid entering a password altogether. One of these options would be easier than setting up kerberos, but not nearly as cool or useful otherwise.

    Finally, you could setup an anonymous ftp server, accessible only from your remote IP address with a world writable "drop box" in it (which would be, however, readable only by you.) This might be the easiest thus far, but I misdoubt that your sysadmin will care for it if he's security paranoid. It is, however, very secure since it is only vulnerable to a Denial of Service attack which could be avoided using a quota, and even without the quota vulnerable only from you IP address. You could do something similar with an http form and/or a webdav server.

    Or, instead of uploading the files, could you download them? That is, could you put up a webserver on the box where the files are captured, then use wget or something to pull them down without a password at all? That might be the easiest of all.

    And, lest we forget, where there's a perl, there's a way. :) You could hack something up using XML::RPC or something in about ten minutes, no doubt. Authenticate by transmitting crypted passwords or something.

    Hope this helps.

    --
    "He who would learn astronomy, and other recondite arts, let him go elsewhere. " -- John Calvin, commenting on Genesis 1
  34. Blowfish tops out at 10Mb/s? by Nonesuch · · Score: 2
    I haven't done the investigation as to why, but SSG (and by extension, scp/sftp) doesn't approach the throughput of FTP.

    Most likely culprit is the general protocol overhead of SSH, even when compression and strong encryption are both disabled.

    For example, across a 100Mbps switch between two machines, transferring large (700MB ISO images) files with FTP or even NFS gives an average throughput of 70Mbps, while using 'scp' (blowfish, no compression) tops out at 10Mbps for the exact same file.

    Oddly, even using 'scp' on loopback on a 1.4Ghz FreeBSD machine hits the same hard limit of ten megabits?

  35. Custom Perl Server! by CyberVenom · · Score: 1

    Here You go!
    (Darn, /. doesn't seem to like code. Well here's a link to the code then!)

    server.pl
    client.pl

    Let me know what you guys think! :)

    This code should provide all of the mentioned features: an MD5-based challenge authentication, and unencrypted transfer of files.

    1. Re:Custom Perl Server! by Anonymous Coward · · Score: 0

      This ROCKS! Nice and simple authentication, sweet. The other solutions (rsync, ssh -c none, etc.) also look good, but it's great to have something in perl.

  36. Rsync over ssh by Leknor · · Score: 1

    I use rsync over ssh to make up for many of scp/sftp weaknesses. eg:

    rsync -e ssh /local/file user@host:/remote/file

    (you should read the rsync man page as that is over simplified, I tend to use a more complex command line that meet my needs.)

    By using ssh2 keys and the ssh-agent I don't get prompted for passwords and I get the benefit of rsync's ability to do partial transfers and other cleverness. It rocks.

  37. Use rsync direct over tcp by DDumitru · · Score: 2, Informative

    Most *nix distributions have a copy of rsync loaded.

    In this case you are using rsync directly over tcp/ip connections, sometimes called "daemon mode".

    This mode features:

    o high-strenght crytpo on passwords, but no encryption of data.
    o passwords that are 100% independent of the system passwords.
    o 100% streaming, even with large numbers of small files.
    o restart of failed transfers where they left off.
    o delta transfers for files where only parts change.
    o optional gzip style compression.
    o plus a lot more neat stuff.

    Info on rsync is at:

    http://rsync.samba.org

    If you have a Linux system with xinetd or equivilent, there is a good change that you already have an /etc/xinetd.d/rsync control record for the daemon. You then need an /etc/rsyncd.conf file plus a "secrets" file to hold the passwords.

    rsync directly on top of tcp/ip is how most "mirror sites" sync to their masters. It is about the only "practical" way to send gigabytes over the internet.

    A couple of caveats. If stuff is twitchy, try to use the latest version of rsync (2.5.6) on both ends. Also, if you use the --compress option with already compressed (or encrypted data), there is a gziplib boundary bug. There are patches for this, but if you are sending uncompressable data, just leave off the --compress option.

    1. Re:Use rsync direct over tcp by Anonymous Coward · · Score: 0

      somebody mod this guy up.

      rsync rocks.

  38. Try rsync over ssh by OneFix · · Score: 1

    This method can also be used as a push or pull.

    rsync -azve 'ssh' /localpath remote.site:/remotepath

    to do a push (reverse the order of the last 2 options for a pull).

    rsync should be faster than any other protocol (lower overhead), the -z option will compress data, and you can always set up an authorized key via ssh on the remote system to allow for password-less access...

  39. scp -c blowfish by bertvl · · Score: 1

    How about using scp with the blowfish cipher?

    scp -c blowfish ...

    It has very low overhead, so shouldn't be too much slower than using ftp...

  40. correcting mis-information, and a solution by menscher · · Score: 3, Informative
    First off, do NOT follow the advice of all the idiots saying to use scp -c none. That will not encrypt your password, despite all the uninformed claims to the contrary. The encryption type is determined during the initiation of the connection. The password is simply part of the data, sent later. (If anyone chooses to dispute this, please provide evidence to back up your claims.)

    Second, if you can afford some slowdown, use -c blowfish. The default is usually 3DES, which is incredibly slow. Blowfish is 11 times faster.

    Finally, if you have some control over what applications are installed at each end, look into SafeTP. It encrypts the password, but not the data. Exactly what you asked for.

    1. Re:correcting mis-information, and a solution by Hard_Code · · Score: 1

      Can you point to a reference on -c none that explains whether or not the authentication negotiation is encrypted? Every other post here says it is, despite -c none.

      --

      It's 10 PM. Do you know if you're un-American?
    2. Re:correcting mis-information, and a solution by Above · · Score: 2, Informative

      I believe the poster is correct, -c none will pass passwords in the clear. You can get around this by using RSA authentication, which is public key based, and thus doesn't need to be encrypted.

      So, -c none only with RSA authentication, please.

  41. man scp. by Eivind · · Score: 1
    ssh, trough scp can do what you want. It never sends passwords in the clear, and it'll happily use whatever cipher you specify for encrypting the data itself. If you want no cipher, you need only specify the command-line switch "-c none"

  42. Make sure you understand the security requirements by user555 · · Score: 1

    There's a reason scp/sftp encrypt everything: sniffing passwords is the simplest and most obvious attack against ftp but it's not the only one.

    There are numerous other attacks. And they only require control of a machine on the same lan as the server or client.

    You don't care if an attacker sees your data fine.
    Do you care if they corrupt the in transit? (FTP has no way to authenticate the data.)

    More seriously, someone could also hijack your FTP session. There are even script kiddie tools to do this. Once someone has taken over your FTP session they can control you account. For example, they replace .ssh/authorized_keys with something different and then have shell access.

    Don't care about what happens on that machine, well once someone controls your account they can probably get your password. Just stick a few trojans in your path. You'd never notice and they'd get your password and happily break into your other accounts.

  43. kerberos or srp by perlchild · · Score: 1

    kerberos might be a bit admin-intensive(and you mentioned you were trying to convince your admin), therefore I recommend you look at http://srp.stanford.edu/ which might do what you require It even has windows-based binary client versions of ftp for those that require them.

  44. HTTP Digest Auth or S/Key by aminorex · · Score: 1

    you could just wget the files from the far
    end, if you enabled digest auth on your httpd.
    alternatively, there is s/key auth for ftp.

    --
    -I like my women like I like my tea: green-
  45. Re:Make sure you understand the security requireme by aminorex · · Score: 1

    All of this is true, but it's far beyond the
    pale of the threat model that the original
    question implies.

    It's ALWAYS possible to describe an attack
    on the security of ANY system. No news there.

    --
    -I like my women like I like my tea: green-
  46. SSH by XiChimos · · Score: 1

    Go into you SSH options, pick a nice MACing algo and then just put none for data encryption. In the key-exchange you get to pick your functions, or none if need be.

    QED.

  47. Anon ftp with IP range restrictions by gad_zuki! · · Score: 1

    Either that or dummy accounts/throw away passwords.

    Considering you're going to be doing this more than once you might as well have your own ftpd set to only accept connections from your IP using anonymous login.

  48. Why isn't there ssh with no encryption? by Whip · · Score: 1
    What I want to know is... why doesn't ssh allow you to do protected logins (encrypted passwords, public-key authenticated logsin, whatever), but then do actual data transfer without encryption? When I'm at work, I want to be able to ssh everywhere (out of convenience: ssh-agent + X11 forwarding + autentication forwarding rock), but I sure as hell don't need my gigabyte-size files encrypted to go 50 feet across the LAN!

    I seem to remember that (very) old ssh versions actually had this feature, but best I can tell, it's gone in newer (e.g. openssh) versions. Anyone have a clue why this is?

    1. Re:Why isn't there ssh with no encryption? by slappyjack · · Score: 1

      I sure as hell don't need my gigabyte-size files encrypted to go 50 feet across the LAN!

      color me stupid (forever to enter the acronym game as CMS), but if you're on a LAN, what do you need to worry about? Someone in your office is sniffing your packets? And isn't it technically their right, being that it's a work environment?

      Your passwd isnt flying out to the internet, and if you're worried about bandwidth, I assume you're not flinging this thing wirelessly.

      IJS... (I'm just sayin')

  49. FTP with TLS support by baffle · · Score: 1

    If memory serves me right, you can use an FTP-server with TLS support. It encrypts the control-connection and leaves the data-connection unencrypted.

    I think this feature is supported by ProFTPD.

    --
    - Baffle
  50. Re:sftp too slow - WHY? because: by Splork · · Score: 1

    ssh sucks for bulk data transfer. it is *not at all optimized* for such a use. its intended primarily for interactive traffic or low bandwidth (read: internet connection speed) traffic.

    for bulk data transfer over high speed networks it blows chunks not only due to the crypto speed but also due to data buffering issues, loads upon loads of data copies (scp and sftp send all data through at least one local pipe with tiny buffers if not more), etc. the crypto dominates, but even with "-c none" its efficiency blows chunks.

    and don't advocate tunneling over ssh as a solution either. TCP over TCP is a bad idea.

    and if the target is a supercomputer or data center machine it probably -does not- have the CPU cycles to deal with the encryption overhead of such a large data transfers...

  51. ftps by lavv17 · · Score: 1
    There is secure extension of ftp protocol (ftps), which is usually turned on by AUTH TLS command in ftp protocol.

    In this ftps protocol, control connection where the password is transmitted is encrypted, and the data connection is encrypted optionally.

    lftp supports AUTH TLS and turns on this secure extension by default if it is supported by server. In Red Hat 8 this extension is supported by default in wu-ftpd.Unfortunately, in Red Hat 9 it is not supported, since wu-ftpd was replaced with vsftpd.

  52. ftp over ssl by Phacka · · Score: 1

    check out pure-ftpd, it can encrypt ftp control channel, you can find a list of compatible clients inside the archive

  53. SAMBA by theridersofrohan · · Score: 1

    Use samba with the "encrypt passwords" option.

  54. sockets by fok · · Score: 1

    use connection with netpipes.
    Like this:

    server$ faucet 3000 -out tar cf - .
    client$ hose server 3000 -in tar xvf -

    You can secure the connection with iptables

    --
    \m/
  55. You can do this: by Tom7 · · Score: 1

    The solutions are:

    Use HTTP and wget from the other machine. Since you don't care about your data being intercepted, you might as well be up front about it!

    Use scp with a faster cipher, like "none". But unless you're on a slow machine and a fairly fast network, I'd be surprised if the encryption is really the bottleneck. Have you looked at 'top'?

  56. UDT by 4of12 · · Score: 1
    6.8 Gbs

    Probably only an option with dedicated lines, though. I don't think they bothered with authentication. But the transfer rates are nice.

    --
    "Provided by the management for your protection."
  57. scp? by Anonymous Coward · · Score: 0

    above

  58. email it! by weeboo0104 · · Score: 1

    mail server admins LOVE it when you send several hundred megabyte email attachments!

    --
    It is easier to build strong children than to repair broken men. -Frederick Douglass
    1. Re:email it! by Anonymous Coward · · Score: 0

      .... To the "Everyone" mailing list with several hundred accounts :-)

  59. SRP telnet/ftp utilities by Dark+Fire · · Score: 1

    SRP provides strong authentication capabilities. Here are the client programs that implement it.

    http://srp.stanford.edu/

  60. kerberos telnet/rcp/ftp by Paul+Jakma · · Score: 1
    You want kerberos V5 telnet/rcp, secure authentication, but without the overhead of encrypting the data stream:


    [paul@fogarty paul]$ echo "kerberos is nifty" > /tmp/kfile
    [paul@fogarty paul]$ rcp /tmp/kfile hibernia:/tmp
    Trying krb4 rcp...
    trying normal rcp (/usr/bin/rcp)
    [paul@fogarty paul]$ telnet -a hibernia
    Trying 192.168.0.3...
    Connected to hibernia.somewhere (192.168.0.3).
    Escape character is '^]'.
    [ Kerberos V5 accepts you as ``paul@SOMEWHERE'' ]
    Last login: Wed Oct 15 03:38:04 from fogarty
    You have mail.
    [paul@hibernia paul]$ cat /tmp/kfile
    kerberos is nifty
    [paul@hibernia paul]$ logout


    note that you still have the option of encrypting the data stream if you wish by specifying -x to either telnet or rcp. So next time someone tells you telnet, rcp are insecure you can tell them they are wrong! :)

    Note there are is also a kerberos version of FTP server/client available.
    --
    I use Friend/Foe + mod-point modifiers as a karma/reputation system.
  61. K5? by Anonymous Coward · · Score: 0

    you can move to K5

    What does Scoop have to do with anything?

    I hadn't previously seen "K5" referring to Kerberos 5.

  62. stunnel to the rescue, or so it would seem by NNland · · Score: 1

    Pick up a copy of stunnel for both machines, set up an ssl tunnel for the control port (21), and let the data channel be unencrypted. Then you don't have to worry about entering a password twice (SSH tunnels require once for ssh and once for ftp).

    I think it just works (in a similar fashion to the way ssh tunnels for ftp just work). But as I've not tried it, I don't know for certain.

  63. Challenge-response by 42forty-two42 · · Score: 1

    Send some random data to the client. The client SHA-1's that and the password, and sends it back. The server checks it against a locally-calculated value. Simple. Using full ssh with no compression would probably be better, though.

  64. Rsync over ssh by edwazere · · Score: 1

    I'm amazed no-one else has said this.

    Rsync over SSH is amazingly efficient, even with one time copies, I've moved files in the multi gigabyte range with this, and it absolutely flies.

    --
    -- You ain't seen me, right?
  65. One word: telephone by Anonymous Coward · · Score: 0

    Call the dude up, start spouting a string of characters.

  66. To do it with SSH (grab that actual disk image) by kcurrie · · Score: 1

    ..just dump to standard out and redirect back via your ssh session:

    ssh remotebox "dd if=/dev/hda" > remotebox-hda.dd

    Nice, because you don't have to log into a machine in a seperate step to start the server process.

    --
    -- I speak only for myself.
    1. Re:To do it with SSH (grab that actual disk image) by Atzanteol · · Score: 1

      The thing is, the questioner didn't want the data going over the ssh session as this took more CPU time (to encrypt the data). All he wanted encrypted was his login password...

      --
      "Ignorance more frequently begets confidence than does knowledge"

      - Charles Darwin
    2. Re:To do it with SSH (grab that actual disk image) by kcurrie · · Score: 1

      ...right, so if you use the "none" cipher ("-c none" if configured) you're done.

      --
      -- I speak only for myself.
    3. Re:To do it with SSH (grab that actual disk image) by Atzanteol · · Score: 1

      right, so if you use the "none" cipher ("-c none" if configured) you're done.

      Would that still encrypt the password though?

      --
      "Ignorance more frequently begets confidence than does knowledge"

      - Charles Darwin