Edit remote file

How can I edit a file located in a remote Ubuntu machine using Sublime in my local machine?

Edit it on ur machine and use scp to transfer it to remote machine

@abdulbasithashraf

You can use a tool called Cyberduck.