Changeset 2439


Ignore:
Timestamp:
Sep 29, 2009, 6:46:08 PM (9 years ago)
Author:
bruno
Message:
  • Avoids error message if some ssh conf files do not exist
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.9/mindi/mindi

    r2438 r2439  
    22692269    # Copy of files mandatory for ssh to automate mount if sshfs is used
    22702270    mkdir $mountpoint/.ssh
    2271     cp -rp ~root/.ssh/*.pub ~root/.ssh/config ~root/.ssh/known* $mountpoint/.ssh
     2271    cp -rp ~root/.ssh/*.pub ~root/.ssh/config ~root/.ssh/known* $mountpoint/.ssh 2> /dev/null
    22722272    echo > $mountpoint/tmp/myssh << EOF
    22732273ssh -o StrictHostKeyChecking=no $*
Note: See TracChangeset for help on using the changeset viewer.