window using a remote connection server pycharm

1. Go pycharm, the File-> Settings-> Deployment:

  1. Add a new Server, type as SFTP, name a custom, such as the UI automation projects;

  2. Enter the host name of the SFTP host:

  3. Enter the port number in the Port

  4.User name enter the user name

  5.Auth type Select Password

  6.password enter the password;

  7. Click "Test SFTP connection" test connection

At this point it should be a successful connection, the connection may be unsuccessful IP, port number, user name, password is wrong

2. Configure Mappings:

  Local path: Select a local directory

  Deployment path on server: Select the server project directory

3. Go Pycharm File-> Setting-> Project Interpreter, the project environment into remote virtual server environment:

  Use SSH interpreter, enter the Host, Port, Username, click Next;

  Enter the password and click next

  Select the server path to the virtual environment

 

     

 

Guess you like

Origin www.cnblogs.com/jingzaixin/p/11491627.html