Gateway

Add gateway support for ssh and rsync