This function fails:
def push_keys():
"""
Uploads our authorized_keys file to the .ssh folder of the user
on the
remote system so we don't have to use passwords any more
"""
put("authorized_keys", "~/.ssh/authorized_keys")
This succeeds:
def push_keys():
"""
Uploads our authorized_keys file to the .ssh folder of the user
on the
remote system so we don't have to use passwords any more
"""
put("./authorized_keys", "~/.ssh/authorized_keys")
Not sure what the "put" context is supposed to be but apparently
it's not the directory from which the current fabfile.py is being run.
S