Remove unused import

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Fix canonicalize_hostname()

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Allow passing user=None to remove the 'user@'

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Remove the 'user@' prefix before checking status

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
remote: Add ability to push a file to a remote machine

Add put_file() and _sftp_put_file() without sudo support

Signed-off-by: David Zafman <dzafman@redhat.com>