Changeset 1201d77


Ignore:
Timestamp:
01/27/15 09:38:22 (4 weeks ago)
Author:
Kris Moore <kris@…>
Branches:
releng/10.1.1
Children:
1995136
Parents:
227c4d4
git-author:
Kris Moore <kris@…> (01/27/15 09:37:41)
git-committer:
Kris Moore <kris@…> (01/27/15 09:38:22)
Message:

Hide the .ssh mkdir warnings in lpreserver GUI

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-qt5/life-preserver/lp-gui/scripts/setup-ssh-keys.sh

    r3667cdb r1201d77  
    3535PUBKEY="`cat .ssh/id_rsa.pub`" 
    3636 
    37 echo $PUBKEY | ssh -p $SSHPORT $SSHUSER@$SSHHOST 'mkdir .ssh ; chmod 700 .ssh ; tee -a .ssh/authorized_keys ; chmod 644 .ssh/authorized_keys' 
     37echo $PUBKEY | ssh -p $SSHPORT $SSHUSER@$SSHHOST 'mkdir .ssh 2>/dev/null; chmod 700 .ssh ; tee -a .ssh/authorized_keys ; chmod 644 .ssh/authorized_keys' 
    3838 
    39 echo $PUBKEY | ssh -p $SSHPORT $SSHUSER@$SSHHOST 'mkdir .ssh ; chmod 700 .ssh ; tee -a .ssh/authorized_keys2 ; chmod 644 .ssh/authorized_keys2' 
     39echo $PUBKEY | ssh -p $SSHPORT $SSHUSER@$SSHHOST 'mkdir .ssh 2>/dev/null; chmod 700 .ssh ; tee -a .ssh/authorized_keys2 ; chmod 644 .ssh/authorized_keys2' 
    4040 
    4141if [ "$?" != "0" ]; then 
Note: See TracChangeset for help on using the changeset viewer.