I’m a network engineer and relatively new to python, my python programs will eventually be running on a small centos VM and from there communicating to network devices, however, to assist my learning and creating the code I’m installing PyChalm on my windows Laptop.
Can I connect the PyCharm on my windows machine to use the interpreter on the remote centos machine? I would like to do this as this will be more representative of the production environment, The remote machine will have specific modules installed to assisting in interfacing the code to the network devices. I would like my code written on PyCharm to be executed on this remote VM.
I have tried using the
CTRL + ALT + SHIFT
- Python Interpreter
- SSH Interpreter
- Details of my remote centos VM
However, it always fails to connect with a error “ Connection to firstname.lastname@example.org:22 failed index 11 out of bounds for length 11
Apologies if my terminology is a bit off !! I’m not even sure if what I’m trying to do is the correct approach.