2 factor authentication for ssh remote host
Hi,
I am trying to connect to my remote server via ssh. When i do the ssh configruations and test connection (figure 1 below), it works very well and lets me do 1st factor and 2nd factor.
However, when I have tested this and wanted to deploy to the server (upload to... function under tools-->deployment) it keeps going endlessly. not sure how to fix it hence asking. (below is a pic of it just not stopping even if i hit cancel)
possible sensitive bits blurred out.
thanks,
Shishir
Please sign in to leave a comment.
oh also, my pycharm version is 2020.3 thanks.
Hi,
I would start from updating IDE to the most recent available build (2022.3.2) as there are lots of changes in SSH & Deployment subsystems since 2020.3.
For starters the backrooms, I'd make sure I had the most latest version 2022.3.2
I have the exact same issue, when I test the SSH connection inside "SSH Configurations" it connects successfully, though it doesn't work when connecting from the "Deployment" section or when I try to upload files. I have PyCharm 2023.1, Runtime version: 17.0.6+10-b829.5 amd64, ubuntu:GNOME. Any suggestions?
Thanks all, but same problem after i upgraded to PyCharm 2022.3.2 (Professional Edition)
Still broken. Exactly as Ghadi Al Hajj said above; when i do test it works well with 2 factor but deployment fails. not sure why. any help thanks.
Hello,
Could you please add the following lines to **Help | Debug Log Settings…**:
#com.intellij.ssh
#com.jetbrains.plugins.webDeployment
reconnect and grab logs folder zipped from ***Help | Collect logs and Diagnostic Data*** ?
Please submit a request at https://youtrack.jetbrains.com/issues/PY to be assisted.
Hi All,
I was wondering if anyone found a solution for this? I'm having the same issue and would appreciate any tips.
Hello Maya Mallabykay
Please try a workaround from this comment.