(You may want to add sftp-config.json to your global gitignore). This will create a sftp-config.json at the root of your project. SFTP is a Sublime Text package that will allow you to keep in sync files on your laptop and on a server. This will also allow Sublime to connect to your server without asking for credentials. ![]() The second terminal shouldn't ask for credentials. Host serverĬheck that it works by running "ssh server" in a terminal. This mean that you will have to authenticate only once. ![]() SSH configĬreate a ~/.ssh/config file, which allows reusing existing connection. I sometimes modify untracked files on the server using rmate (see below). I never edit "tracked" files on the server directly. I have all my code on my laptop, edit locally and automatically push the files to my server. They are meant to be incremental, just setting up SFTP will go a long way. ![]() This steps should help working remotely with Sublime Text.
0 Comments
Leave a Reply. |