X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=rootsshsync;h=9d9140af8ac75e39d4c1f599ddb2e8ca2c139fa6;hb=6a00cb7fd60392cb2aa1343af02b5d95a5e6241f;hp=e962f19295b9b1918b70cd8f3ed48f788939fbef;hpb=4f1b3daa120bbbf886af22bf15ee8b65b13d0eb8;p=distro-setup diff --git a/rootsshsync b/rootsshsync index e962f19..9d9140a 100755 --- a/rootsshsync +++ b/rootsshsync @@ -28,5 +28,5 @@ else fi # -t times, so it won't rewrite the file every time, # -L resolve links -rsync -rtL $(eval echo ~${SUDO_USER:-$USER})/.ssh $dest +rsync -rtL $(eval echo ~${SUDO_USER:-$USER})/.ssh/ $dest chown -R root:root /root/.ssh