Changes

From SME Server
Jump to navigationJump to search
3 bytes removed ,  00:52, 30 August 2012
Line 182: Line 182:  
then to protect the key and limit it to one usage and only one IP. You need to change {MY MIRROR} and {MY HUB IP }
 
then to protect the key and limit it to one usage and only one IP. You need to change {MY MIRROR} and {MY HUB IP }
   −
  echo "no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty,command=\"~/bin/ftpsync\",from=\"{MY HUB IP }\" "|cat - ~/.ssh/contribs-push\@{MY MIRROR}.rsa.pub > ~/.ssh/contribs-push.tmp && mv ~/.ssh/contribs-push.tmp ~/.ssh/contribs-push\@{MY MIRROR}.rsa
+
  echo "no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty,command=\"~/bin/ftpsync\",from=\"{MY HUB IP }\" "|cat - ~/.ssh/contribs-push\@{MY MIRROR}.rsa.pub > ~/.ssh/contribs-push.tmp && mv ~/.ssh/contribs-push.tmp ~/.ssh/contribs-push\@{MY MIRROR}.rsa.pub
 
  −
.pub
      
finally protect your keys
 
finally protect your keys
Line 190: Line 188:  
'''
 
'''
 
never give your private key, only send your  public (.pub) to the downstream mirror.'''
 
never give your private key, only send your  public (.pub) to the downstream mirror.'''
      
==== setting up ftpsync-smeserver.conf====
 
==== setting up ftpsync-smeserver.conf====
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,254

edits

Navigation menu