Changeset 2875


Ignore:
Timestamp:
Sep 30, 2011, 1:59:12 AM (7 years ago)
Author:
bruno
Message:
  • Copy everything under .ssh of root account to allow for sshfs mount without passwd at restore time.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.9/mindi/mindi

    r2864 r2875  
    24652465    # Copy of files mandatory for ssh to automate mount if sshfs is used
    24662466    mkdir $mountpoint/.ssh
    2467     cp -rp ~root/.ssh/*.pub ~root/.ssh/config ~root/.ssh/known* $mountpoint/.ssh 2> /dev/null
     2467    cp -rp ~root/.ssh/* $mountpoint/.ssh 2> /dev/null
    24682468    echo > $mountpoint/tmp/myssh << EOF
    24692469ssh -o StrictHostKeyChecking=no $*
Note: See TracChangeset for help on using the changeset viewer.