"""Functions for accessing remote hosts.

At present, these are implemented by calling ssh's command line programs.
"""

from paver.easy import sh

def scp(source, dest):
    """Copy the source file to the destination."""
    sh("scp %s %s" % (source, dest))
    
"""Functions for accessing remote hosts.

At present, these are implemented by calling ssh's command line programs.
"""

from paver.easy import sh

def scp(source, dest):
    """Copy the source file to the destination."""
    sh(["scp", source, dest])

Make scp safer.