Show
Ignore:
Timestamp:
02/21/12 11:56:50 (1 year ago)
Author:
mbrevda
Message:

ssh keys needs to be 0600 or less or ssh will reject them

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • freepbx/branches/2.10/amp_conf/bin/freepbx_engine

    r13491 r13540  
    212212  chown -R $AMPASTERISKUSER:$AMPASTERISKGROUP $(readlink -f $ASTVARLIBDIR) 
    213213  chmod -R g+w $(readlink -f $ASTVARLIBDIR) 
     214  #ssh keys need to be 0600 
     215  [ -d $ASTVARLIBDIR/.ssh ] && chown -R 0600 $ASTVARLIBDIR/.ssh 
    214216  chown -R $AMPASTERISKUSER:$AMPASTERISKGROUP $(readlink -f $ASTLOGDIR) 
    215217  chmod -R g+w $(readlink -f $ASTLOGDIR)