pycharm-pro test sftp connection hanging
I want to add a new sftp connection from TOOL > Deployment.
When i click on the "Test Connection" button, a pop-up would show "Connecting by SFTP..",
and then run endless.
I am using the newest version of pycharm-pro.
Some logging when run this error would be as follow.
2020-04-25 00:33:18,621 [ 47117] DEBUG - t.connections.RemoteConnection - Opening connection to sftp://0.0.0.0:9922/ in @1145f274
2020-04-25 00:33:18,643 [ 47139] DEBUG - ntellij.ssh.impl.SshConnection - Failed to create SSH channel using existing SSH sessions, creating new SSH session
2020-04-25 00:33:18,644 [ 47140] DEBUG - ntellij.ssh.impl.SshConnection - Establishing new SSH session to root@0.0.0.0:9922
2020-04-25 00:33:18,998 [ 47494] INFO - port.random.BouncyCastleRandom - Generating random seed from SecureRandom.
2020-04-25 00:33:19,400 [ 47896] INFO - z.sshj.transport.TransportImpl - Client identity string: SSH-2.0-SSHJ_0.27.0
2020-04-25 00:33:19,409 [ 47905] INFO - z.sshj.transport.TransportImpl - Server identity string: SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.3
2020-04-25 00:33:19,493 [ 47989] INFO - om.intellij.ssh.impl.sshj.sshj - Authentication log: SSHJ connection to root@0.0.0.0:9922
* With preferred authentications: publickey,keyboard-interactive,password
* With signature factories: ssh-rsa, ssh-dss, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, ssh-ed25519
* With keep alive interval 300 seconds
* With keep alive count max 1000
* With OpenSshLikeHostKeyVerifier(knownHostsFile=[/Users/01379863/.ssh/known_hosts], strictHostKeyChecking=ASK)
* With predefined password
* With authentications: password by net.schmizz.sshj.userauth.method.AuthPassword, keyboard-interactive by net.schmizz.sshj.userauth.method.AuthKeyboardInteractive
* With socketFactory com.intellij.ssh.sockets.MySftpJavaSocketFactory@191d0be6
* With connect timeout 10000
* Connected
=> none by net.schmizz.sshj.userauth.method.AuthNone@5e665c22 (failure, new allowed auth methods: publickey, password)
=> password by net.schmizz.sshj.userauth.method.AuthPassword@3505afed (success)
2020-04-25 00:33:19,497 [ 47993] DEBUG - ntellij.ssh.impl.SshConnection - SSH session @14f07dd7 established to root@0.0.0.0:9922
2020-04-25 00:33:19,497 [ 47993] DEBUG - ellij.ssh.SshConnectionService - Creating sftp channel within SshjSshConnection(root@0.0.0.0)@14f07dd7
2020-04-25 00:33:19,550 [ 48046] INFO - .channel.direct.SessionChannel - Will request `sftp` subsystem
2020-04-25 00:36:00,284 [ 208780] INFO - .diagnostic.PerformanceWatcher - Unindexed files update took 194459ms; general responsiveness: 1/194 sluggish; EDT responsiveness: 1/194 sluggish
pls help. Any suggestion?
Please sign in to leave a comment.
Did you figure anything out? I have the exact same problem
Does it work from other FTP clients like FileZilla?