]> apps.delaporte.us Git - dotfiles.git/blobdiff - bootstrap.sh
SSH Keygen command
[dotfiles.git] / bootstrap.sh
index 82ec93cfa2d7489cfacec4002d10397235982c0e..28d0dc0e015a1fca09040446898c5f1fb0b8ed1e 100755 (executable)
@@ -2,6 +2,10 @@
 # You can scp just this file to the destination host,
 #   and then run it.
 
 # You can scp just this file to the destination host,
 #   and then run it.
 
+if [ ! -f ~/.ssh/id_rsa ]; then
+       ssh-keygen
+fi
+
 if [ ! -d ~/dotfiles ]; then
        cd ~; git clone git@github.com:edthedev/dotfiles.git
 fi
 if [ ! -d ~/dotfiles ]; then
        cd ~; git clone git@github.com:edthedev/dotfiles.git
 fi