in reply to Ssh Keys
becomesif (-e !"/$home/.ssh/id_dsa.pub")
Once you grok that, you can go one step further and sayunless (-e "/$home/.ssh/id_dsa.pub")
becomesif (-e !"/$home/.ssh/id_dsa.pub") { `ssh-keygen -t dsa` };
`ssh-keygen -t dsa` unless (-e "/$home/.ssh/id_dsa.pub");
Update: Bad advice withdrawn
|
|---|