disabling root and olpc passwords

subbukk subbukk at gmail.com
Mon Feb 4 13:31:53 EST 2008


On Monday 04 Feb 2008 10:11:02 pm Chas. Owens wrote:
> Or better yet, use sftp or scp.  Your olpc user gets his/her own keys
> generated when you first start up.
sftp and scp both require receiver to share login password with sender. nc 
doesn't. It just reads/writes bytestreams from/to network sockets. E.g. You 
can transfer sub-directories across machines with :
  olpc at 192.168.1.2 $ nc -lp 9999 | tar xzvf - ./src

  olpc at 192.168.1.1 $ tar czvf - ./src | nc -q 10 192.168.1.2 9999

without exchanging passwords. Very handy for machines in a mesh. sftp/scp 
would be an overkill for such purposes. The 20KB nc is one of those utilities 
that makes you wonder how you ever managed without it :-).

Subbu



More information about the Devel mailing list