deployment to remote computer fails 'Username is not provided'

Since I updated pycharm to v 2021.1 my ssh configurations fail to connect. When I try 'test connection' in Settings > Build, Execution, Deployment > Deployment > Test Connection I get the following error message:

"Connection to 'server.name' failed.
Username is not provided"

This is weird since I have provided the user names in the SSH configurations. Moreover, the ssh configurations seems to work, because when I try to connect using them in Settings > Tools > SSH Configurations > Test Connection I get

"Successfully connected!"

So it seems something has changed in the deployment setting somehow, perhaps in the latest upgrade of pycharm? What can be done here?

1

Hi, have you tried to delete and re-add your SSH project interpreter?

-1
Avatar
Permanently deleted user

I have the same error, and even if I add a new SSH project interpreter, it is still error.

0
Avatar
Permanently deleted user

Yes, I also tried adding a new ssh project interpreter with the same result. Had to roll back to the previous pycharm version

0

I would suggest to add the following lines to **Help | Diagnostic Tools | Debug Log Settings...**:

#com.intellij.ssh
#com.jetbrains.plugins.webDeployment

(keeping the # character)

Then reproducing the issue and submitting a ticket to https://youtrack.jetbrains.com with Logs from Help | Collect Logs and Diagnostic Data

0

Hello, 

 

I have reported the issue https://youtrack.jetbrains.com/issue/PY-48269 to proceed with the investigation, please follow it for updates and feel free to comment/upload logs to the ticket. 

0

Please try **Help > Find Action >** type "Registry" and open it. Then find ``ide.ssh.library.backend.webDeployment.use.sshj`` and enable it back if it is disabled. 

0

请先登录再写评论。