Changes

From SME Server
Jump to navigationJump to search
306 bytes added ,  18:22, 12 June 2007
m
Line 207: Line 207:     
<code><b>affa --send-key JOB</b></code><br>
 
<code><b>affa --send-key JOB</b></code><br>
Sends the public key to the host 'remoteHostName' as configure in the record of job JOB. Generates the DSA key, ff not already done.
+
Sends the public key to the host 'remoteHostName' as configure in the record of job JOB. Generates the DSA key, if not already done.
    
<code><b>affa --send-key --host=TARGETHOST [--port=PORT]</b></code><br>
 
<code><b>affa --send-key --host=TARGETHOST [--port=PORT]</b></code><br>
 
Sends the public key to the TARGETHOST. TARGETHOST is a FQHN or an IP address. Give PORT, if sshd on the TARGETHOST listen to another than the standard port 22. Generates the DSA key, ff 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 listen to another than the standard port 22. Generates the DSA key, ff not already done.
 +
 +
Note: 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.
 +
    
<code><b>affa --full-restore JOB [ARCHIVE]</b></code><br>
 
<code><b>affa --full-restore JOB [ARCHIVE]</b></code><br>
Line 275: Line 278:  
<code><b>affa --revoke-key --host=TARGETHOST [--port=PORT]</b></code><br>
 
<code><b>affa --revoke-key --host=TARGETHOST [--port=PORT]</b></code><br>
 
Deletes the public dsa key on the remote server.
 
Deletes the public dsa key on the remote server.
 +
 +
Note: 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:''' Options can be abbreviated to uniqueness, e.g. --mak is equal to --make-cronjobs
 
'''Note:''' Options can be abbreviated to uniqueness, e.g. --mak is equal to --make-cronjobs
501

edits

Navigation menu