Answer the question
In order to leave comments, you need to log in
How to easily and quickly upload the modified code to a remote server during coding, accessible only via SSH?
There is a remote server with CentOS, accessible only via SSH. How do I code on my Windows machine and upload changes to a remote server with one click.
Answer the question
In order to leave comments, you need to log in
I advise you to use the PyCharm IDE - it has various options for synchronizing local code with a remote server, including via SFTP (SSH), including automatically when files change.
Well, or, as an option - Cygwin . In it, using rsync, you can synchronize the local directory with the remote one. Game of course, but I once did it)
Of course, I don’t understand this, but I would look towards CI and some good system for storing code for this.
SFTP WinSCP
In the simplest case. We open the server file for editing, when saving it is poured back.
Of course, you should not do this (manually upload the code to the server). It is better to do it with the help of git at least. In general, if the server in your work is used simply for tests, then it is better to install a virtual machine locally and test it on it. And on the server already deploy some kind of ready-made solution. So it will be more convenient to debug.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question