public-key crypto for dummies
Mar. 12th, 2007 03:52 amhttp://rcsg-gsir.imsb-dsgi.nrc-cnrc.gc.ca/documents/internet/node31.html
Very concise writeup. Skip to the paragf beginning with "The second method does not require any help from the systems administrator," because you're not going to get any.
Once you have this set up, you've basically set up a trust system whereby one account (on one machinename, with a given privatekey) is trusted by another account (the first account uses the privatekey to pass a challenge based on the publickey) - so you authenticate without a password. This not only saves the nuisance of typing but also pairs well with the perl module Net::SCP for doing all sorts of synchronization and maintenance automation. Of course, you can just use any scripting language/method to automate scp. Wouldn't it be nice if the whole world were this simple?
For example, I wrote a perl script to get my (dhcp) address from ifconfig (on machine A) and scp it to another machine (B) with a static ip; it will hold me over for accessing machine A, until I get the sysadmin to put a static ip on A next week.
Apologies to everyone, and the stupid unix tricks will end soon and I will return to posting about ... NOTHING. Absolutely nothing! BWA HA HA.
(Note to suicide sam e: next time I am able I will set you up with ubuntu linux.)
Very concise writeup. Skip to the paragf beginning with "The second method does not require any help from the systems administrator," because you're not going to get any.
Once you have this set up, you've basically set up a trust system whereby one account (on one machinename, with a given privatekey) is trusted by another account (the first account uses the privatekey to pass a challenge based on the publickey) - so you authenticate without a password. This not only saves the nuisance of typing but also pairs well with the perl module Net::SCP for doing all sorts of synchronization and maintenance automation. Of course, you can just use any scripting language/method to automate scp. Wouldn't it be nice if the whole world were this simple?
For example, I wrote a perl script to get my (dhcp) address from ifconfig (on machine A) and scp it to another machine (B) with a static ip; it will hold me over for accessing machine A, until I get the sysadmin to put a static ip on A next week.
Apologies to everyone, and the stupid unix tricks will end soon and I will return to posting about ... NOTHING. Absolutely nothing! BWA HA HA.
(Note to suicide sam e: next time I am able I will set you up with ubuntu linux.)