combine scp push/pull functions