Changes

From SME Server
Jump to navigationJump to search
12 bytes added ,  06:38, 28 November 2007
m
Line 214: Line 214:     
=== Usage and command line options ===
 
=== Usage and command line options ===
 +
{{Note box|Options can be abbreviated to uniqueness, e.g. --mak is equal to --make-cronjobs}}
 
  affa --run JOB
 
  affa --run JOB
 
Starts a job run. Usually done by the cronjob.  
 
Starts a job run. Usually done by the cronjob.  
Line 225: Line 226:  
  affa --send-key --host=TARGETHOST [--port=PORT]
 
  affa --send-key --host=TARGETHOST [--port=PORT]
 
Sends the public key to the TARGETHOST. TARGETHOST is a FQHN or an IP address. Give PORT, if sshd on the TARGETHOST listens to another than the standard port 22. Generates the DSA key, if not already done.
 
Sends the public key to the TARGETHOST. TARGETHOST is a FQHN or an IP address. Give PORT, if sshd on the TARGETHOST listens to another than the standard port 22. Generates the DSA key, if not already done.
 +
{{Note box|When initially doing this step, you will need to temporarily enable "Allow secure shell access using standard passwords" on the production server.
 +
The --send-key option only works, if the public keys are stored in /root/.ssh/authorized_keys2 on the remote host. This is true for SME server}}
   −
{{Note box|When initially doing this step, you will need to temporarily enable "Allow secure shell access using standard passwords" on the production server
  −
  −
The --send-key option only works, if the public keys are stored in /root/.ssh/authorized_keys2 on the remote host. This is true for SME server}}
      
  affa --check-connections
 
  affa --check-connections
Line 297: Line 297:  
  affa --revoke-key --host=TARGETHOST [--port=PORT]
 
  affa --revoke-key --host=TARGETHOST [--port=PORT]
 
Deletes the public dsa key on the remote server.
 
Deletes the public dsa key on the remote server.
 
+
{{Note box|The --revoke-key option only works, if the public keys are stored in /root/.ssh/authorized_keys2 on the remote host. This is true for SME server.}}
{{Note box|The --revoke-key option only works, if the public keys are stored in /root/.ssh/authorized_keys2 on the remote host. This is true for SME server.
  −
 
  −
Options can be abbreviated to uniqueness, e.g. --mak is equal to --make-cronjobs}}
      
=== Example setups ===
 
=== Example setups ===
501

edits

Navigation menu