In the next version, Pyscripter will support working with remote files i.e. files that may reside in different computers (servers) including Windows and Linux machines. You will be able to open, edit run debug and save back these files. They work seamlessly with other PyScripter features such as the Recent File list, project files, and Run Configurations.
To use PyScripter with remote files your computer need to have SSH client capabilities at the computer running PyScripter and an SSH server running on the remote computer. SSH is a widely used network protocol for securely connecting to remote machines. Windows 10 since the April 2018 update includes SSH. With earlier versions of Windows 10 you need to manually enable SSH through “Enable Optional Features”. For other versions of Windows you can install the latest version of OpenSSH for Windows using the provided installation instructions.
Configuring the SSH client side
Pyscripter requires password-less authentication using rsa keys. You need to create the rsa keys and add them to the ssh-agent service which needs to be running. Your public key needs to be added to the ~/.ssh/authorised_keys file on the server side. Instructions are provided here.
The SSH server service (sshd) and SSH agent service (ssh-agent) need to be running on the server side. This is most likely true for Linux machines. In Windows machines you need to start the server using the
net start sshd
net start ssh-agent
commands. You can also configure these services to run automatically.
Testing the SSH connection
From a command prompt issue the following command:
You can open remote files using the File Menu. You are then shown the Open Remote File dialog shown below:
Setting up SSH Servers
Editing SSH sever information