in reply to Ssh Keys

Hmm. Just noticed that everyone so far seems to have missed this amazing typo:
if (-e !"/$home/.ssh/id_dsa.pub")
which should be:
if (! -e "/$home/.ssh/id_dsa.pub")
Otherwise, you're just checking the existance of a file named "" (undef, coerced to a string). {grin}

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.