Changeset 148


Ignore:
Timestamp:
12/14/2006 17:11:11 (5 years ago)
Author:
ccowart
Message:

Allowing the use of keys for  scp:// fetches.

Location:
trunk/confman
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/confman/confman.conf

    r123 r148  
    5050# are not handled correctly in sftp and scp URIs. 
    5151CONF_EXPORT_FILE="/var/db/confman/export.tgz" 
    52 CONF_EXPORT_URI="scp://${REPO_HOSTNAME}${CONF_EXPORT_FILE}" 
     52CONF_EXPORT_URI="scp://confman@${REPO_HOSTNAME}${CONF_EXPORT_FILE}" 
     53CONF_SSH_KEY="/root/id_rsa" 
    5354 
    5455# What group should be able to read confman files? 
  • trunk/confman/confmanlib.sh

    r142 r148  
    7878            remote="${CONF_EXPORT_URI#*://}" 
    7979            remote="${remote/\//:/}" 
    80             scp -p $remote $tmpfile  
     80            scp -p -i ${CONF_SSH_KEY} -o StrictHostKeyCHecking=no \ 
     81                $remote $tmpfile  
    8182            ;; 
    8283        http|https|ftp) 
Note: See TracChangeset for help on using the changeset viewer.