WordPress.org

Ready to get started?Download WordPress

Forums

SSH SFTP Updater Support
Error: There was an error connecting to the server... (6 posts)

  1. dizmoduck
    Member
    Posted 1 year ago #

    I get this error
    ----
    Error: There was an error connecting to the server, Please verify the settings are correct.
    ----
    I'm on my own vitual server tith Debian 6.0
    Wordpress 3.2.1
    SSH SFTP Updater Support (0.4)
    http://phpseclib.sourceforge.net/wordpress-svn.zip

    I can SSH with PuTTY and FileZilla with SSH2

    FTP/SSH Username: user
    FTP/SSH Password: XXXX
    I'm using the id_ras from user/.shh/
    Upload Private Key: id_ras

    can you help
    BR
    /michael

    http://wordpress.org/extend/plugins/ssh-sftp-updater-support/

  2. TerraFrost
    Member
    Plugin Author

    Posted 1 year ago #

    In class-wp-filesystem-ssh2.php can you find and uncomment out this line?

    //define('NET_SFTP_LOGGING', NET_SFTP_LOG_REALTIME);

    Once that's done if you could tell me the output that'd be great.

    Thanks!

  3. dizmoduck
    Member
    Posted 1 year ago #

    were do I find the output?

    I have look in
    /var/log/Apache2/access.log
    /var/log/Apache2/error.log
    /var/log/Apache2/access_domaile
    /var/log/Apache2/error_domaile
    /var/log/syslog and massages

  4. TerraFrost
    Member
    Plugin Author

    Posted 1 year ago #

    It should just be displayed in the browser. eg.

    http://www.flickr.com/photos/31717414@N06/7999373527/

    That said, assuming you're using the latest SVN version of this plugin, it'd be more helpful if you could replace the line I asked you to replace with this instead:

    define('NET_SSH2_LOGGING', NET_SSH2_LOG_REALTIME);

    Thanks!

  5. dizmoduck
    Member
    Posted 1 year ago #

    ok, thats works

    ----------------------------------------
    <- NET_SSH2_MSG_KEXINIT (0.0016s)
    00000000 14:51:d1:13:46:2b:9e:6d:4c:53:a2:ac:79:f1:7b:5a .Q..F+.mLS..y.{Z
    00000010 08:00:00:00:7e:64:69:66:66:69:65:2d:68:65:6c:6c ....~diffie-hell
    00000020 6d:61:6e:2d:67:72:6f:75:70:2d:65:78:63:68:61:6e man-group-exchan
    00000030 67:65:2d:73:68:61:32:35:36:2c:64:69:66:66:69:65 ge-sha256,diffie
    00000040 2d:68:65:6c:6c:6d:61:6e:2d:67:72:6f:75:70:2d:65 -hellman-group-e
    00000050 78:63:68:61:6e:67:65:2d:73:68:61:31:2c:64:69:66 xchange-sha1,dif
    00000060 66:69:65:2d:68:65:6c:6c:6d:61:6e:2d:67:72:6f:75 fie-hellman-grou
    00000070 70:31:34:2d:73:68:61:31:2c:64:69:66:66:69:65:2d p14-sha1,diffie-
    00000080 68:65:6c:6c:6d:61:6e:2d:67:72:6f:75:70:31:2d:73 hellman-group1-s
    00000090 68:61:31:00:00:00:0f:73:73:68:2d:72:73:61:2c:73 ha1....ssh-rsa,s
    000000a0 73:68:2d:64:73:73:00:00:00:9d:61:65:73:31:32:38 sh-dss....aes128
    000000b0 2d:63:74:72:2c:61:65:73:31:39:32:2d:63:74:72:2c -ctr,aes192-ctr,
    000000c0 61:65:73:32:35:36:2d:63:74:72:2c:61:72:63:66:6f aes256-ctr,arcfo
    000000d0 75:72:32:35:36:2c:61:72:63:66:6f:75:72:31:32:38 ur256,arcfour128
    000000e0 2c:61:65:73:31:32:38:2d:63:62:63:2c:33:64:65:73 ,aes128-cbc,3des
    000000f0 2d:63:62:63:2c:62:6c:6f:77:66:69:73:68:2d:63:62 -cbc,blowfish-cb
    00000100 63:2c:63:61:73:74:31:32:38:2d:63:62:63:2c:61:65 c,cast128-cbc,ae
    00000110 73:31:39:32:2d:63:62:63:2c:61:65:73:32:35:36:2d s192-cbc,aes256-
    00000120 63:62:63:2c:61:72:63:66:6f:75:72:2c:72:69:6a:6e cbc,arcfour,rijn
    00000130 64:61:65:6c:2d:63:62:63:40:6c:79:73:61:74:6f:72 dael-cbc@lysator
    00000140 2e:6c:69:75:2e:73:65:00:00:00:9d:61:65:73:31:32 .liu.se....aes12
    00000150 38:2d:63:74:72:2c:61:65:73:31:39:32:2d:63:74:72 8-ctr,aes192-ctr
    00000160 2c:61:65:73:32:35:36:2d:63:74:72:2c:61:72:63:66 ,aes256-ctr,arcf
    00000170 6f:75:72:32:35:36:2c:61:72:63:66:6f:75:72:31:32 our256,arcfour12
    00000180 38:2c:61:65:73:31:32:38:2d:63:62:63:2c:33:64:65 8,aes128-cbc,3de
    00000190 73:2d:63:62:63:2c:62:6c:6f:77:66:69:73:68:2d:63 s-cbc,blowfish-c
    000001a0 62:63:2c:63:61:73:74:31:32:38:2d:63:62:63:2c:61 bc,cast128-cbc,a
    000001b0 65:73:31:39:32:2d:63:62:63:2c:61:65:73:32:35:36 es192-cbc,aes256
    000001c0 2d:63:62:63:2c:61:72:63:66:6f:75:72:2c:72:69:6a -cbc,arcfour,rij
    000001d0 6e:64:61:65:6c:2d:63:62:63:40:6c:79:73:61:74:6f ndael-cbc@lysato
    000001e0 72:2e:6c:69:75:2e:73:65:00:00:00:69:68:6d:61:63 r.liu.se...ihmac
    000001f0 2d:6d:64:35:2c:68:6d:61:63:2d:73:68:61:31:2c:75 -md5,hmac-sha1,u
    00000200 6d:61:63:2d:36:34:40:6f:70:65:6e:73:73:68:2e:63 mac-64@openssh.c
    00000210 6f:6d:2c:68:6d:61:63:2d:72:69:70:65:6d:64:31:36 om,hmac-ripemd16
    00000220 30:2c:68:6d:61:63:2d:72:69:70:65:6d:64:31:36:30 0,hmac-ripemd160
    00000230 40:6f:70:65:6e:73:73:68:2e:63:6f:6d:2c:68:6d:61 @openssh.com,hma
    00000240 63:2d:73:68:61:31:2d:39:36:2c:68:6d:61:63:2d:6d c-sha1-96,hmac-m
    00000250 64:35:2d:39:36:00:00:00:69:68:6d:61:63:2d:6d:64 d5-96...ihmac-md
    00000260 35:2c:68:6d:61:63:2d:73:68:61:31:2c:75:6d:61:63 5,hmac-sha1,umac
    00000270 2d:36:34:40:6f:70:65:6e:73:73:68:2e:63:6f:6d:2c -64@openssh.com,
    00000280 68:6d:61:63:2d:72:69:70:65:6d:64:31:36:30:2c:68 hmac-ripemd160,h
    00000290 6d:61:63:2d:72:69:70:65:6d:64:31:36:30:40:6f:70 mac-ripemd160@op
    000002a0 65:6e:73:73:68:2e:63:6f:6d:2c:68:6d:61:63:2d:73 enssh.com,hmac-s
    000002b0 68:61:31:2d:39:36:2c:68:6d:61:63:2d:6d:64:35:2d ha1-96,hmac-md5-
    000002c0 39:36:00:00:00:15:6e:6f:6e:65:2c:7a:6c:69:62:40 96....none,zlib@
    000002d0 6f:70:65:6e:73:73:68:2e:63:6f:6d:00:00:00:15:6e openssh.com....n
    000002e0 6f:6e:65:2c:7a:6c:69:62:40:6f:70:65:6e:73:73:68 one,zlib@openssh
    000002f0 2e:63:6f:6d:00:00:00:00:00:00:00:00:00:00:00:00 .com............
    00000300 00 .

    -> NET_SSH2_MSG_KEXINIT (0.0001s)
    00000000 14:08:df:01:b2:2d:8c:6b:ef:79:6e:b3:a2:da:4c:a3 .....-.k.yn...L.
    00000010 80:00:00:00:36:64:69:66:66:69:65:2d:68:65:6c:6c ....6diffie-hell
    00000020 6d:61:6e:2d:67:72:6f:75:70:31:2d:73:68:61:31:2c man-group1-sha1,
    00000030 64:69:66:66:69:65:2d:68:65:6c:6c:6d:61:6e:2d:67 diffie-hellman-g
    00000040 72:6f:75:70:31:34:2d:73:68:61:31:00:00:00:0f:73 roup14-sha1....s
    00000050 73:68:2d:72:73:61:2c:73:73:68:2d:64:73:73:00:00 sh-rsa,ssh-dss..
    00000060 00:76:61:72:63:66:6f:75:72:32:35:36:2c:61:72:63 .varcfour256,arc
    00000070 66:6f:75:72:31:32:38:2c:61:72:63:66:6f:75:72:2c four128,arcfour,
    00000080 61:65:73:31:32:38:2d:63:62:63:2c:61:65:73:31:39 aes128-cbc,aes19
    00000090 32:2d:63:62:63:2c:61:65:73:32:35:36:2d:63:62:63 2-cbc,aes256-cbc
    000000a0 2c:61:65:73:31:32:38:2d:63:74:72:2c:61:65:73:31 ,aes128-ctr,aes1
    000000b0 39:32:2d:63:74:72:2c:61:65:73:32:35:36:2d:63:74 92-ctr,aes256-ct
    000000c0 72:2c:33:64:65:73:2d:63:74:72:2c:33:64:65:73:2d r,3des-ctr,3des-
    000000d0 63:62:63:2c:6e:6f:6e:65:00:00:00:76:61:72:63:66 cbc,none...varcf
    000000e0 6f:75:72:32:35:36:2c:61:72:63:66:6f:75:72:31:32 our256,arcfour12
    000000f0 38:2c:61:72:63:66:6f:75:72:2c:61:65:73:31:32:38 8,arcfour,aes128
    00000100 2d:63:62:63:2c:61:65:73:31:39:32:2d:63:62:63:2c -cbc,aes192-cbc,
    00000110 61:65:73:32:35:36:2d:63:62:63:2c:61:65:73:31:32 aes256-cbc,aes12
    00000120 38:2d:63:74:72:2c:61:65:73:31:39:32:2d:63:74:72 8-ctr,aes192-ctr
    00000130 2c:61:65:73:32:35:36:2d:63:74:72:2c:33:64:65:73 ,aes256-ctr,3des
    00000140 2d:63:74:72:2c:33:64:65:73:2d:63:62:63:2c:6e:6f -ctr,3des-cbc,no
    00000150 6e:65:00:00:00:30:68:6d:61:63:2d:73:68:61:31:2d ne...0hmac-sha1-
    00000160 39:36:2c:68:6d:61:63:2d:73:68:61:31:2c:68:6d:61 96,hmac-sha1,hma
    00000170 63:2d:6d:64:35:2d:39:36:2c:68:6d:61:63:2d:6d:64 c-md5-96,hmac-md
    00000180 35:2c:6e:6f:6e:65:00:00:00:30:68:6d:61:63:2d:73 5,none...0hmac-s
    00000190 68:61:31:2d:39:36:2c:68:6d:61:63:2d:73:68:61:31 ha1-96,hmac-sha1
    000001a0 2c:68:6d:61:63:2d:6d:64:35:2d:39:36:2c:68:6d:61 ,hmac-md5-96,hma
    000001b0 63:2d:6d:64:35:2c:6e:6f:6e:65:00:00:00:04:6e:6f c-md5,none....no
    000001c0 6e:65:00:00:00:04:6e:6f:6e:65:00:00:00:00:00:00 ne....none......
    000001d0 00:00:00:00:00:00:00 .......

    -> NET_SSH2_MSG_KEXDH_INIT (0s)
    00000000 1e:00:00:00:80:75:3b:c3:cc:8a:80:42:7f:c3:75:75 .....u;....B..uu
    00000010 7e:0b:27:13:de:c8:fe:98:8e:6a:49:f7:88:52:14:df ~.'......jI..R..
    00000020 10:73:08:09:3f:3a:25:f1:10:a9:5c:69:a8:13:fb:eb .s..?:%...\i....
    00000030 b4:a9:d9:9d:6d:b5:97:30:31:94:0c:78:2a:a5:7a:02 ....m..01..x*.z.
    00000040 d2:3b:e2:89:6c:8b:cb:d5:2f:b1:e7:d7:80:6f:37:84 .;..l.../....o7.
    00000050 82:5a:b3:a5:21:08:02:61:e0:7b:3e:7d:86:8a:d3:0f .Z..!..a.{>}....
    00000060 c3:f5:83:30:98:64:15:e2:5d:ab:2c:e0:d2:95:0b:b5 ...0.d..].,.....
    00000070 d0:23:eb:0b:19:5b:fb:cc:0e:b1:57:81:3f:79:89:1f .#...[....W.?y..
    00000080 ce:5b:4c:a8:35 .[L.5

    <- NET_SSH2_MSG_KEXDH_REPLY (0.0507s)
    00000000 1f:00:00:01:17:00:00:00:07:73:73:68:2d:72:73:61 .........ssh-rsa
    00000010 00:00:00:03:01:00:01:00:00:01:01:00:df:db:a2:dd ................
    00000020 55:b7:91:cd:b4:0b:96:3a:92:87:a2:2f:dc:c2:bb:1d U......:.../....
    00000030 5b:e3:4b:a3:08:42:bd:14:5d:d0:27:7a:bf:03:ce:39 [.K..B..].'z...9
    00000040 98:d1:f2:2b:3b:d2:e2:f8:92:68:b5:05:e2:fe:c6:22 ...+;....h....."
    00000050 c9:7e:cd:9b:e2:00:60:7c:88:b8:9f:51:d9:60:4c:39 .~....|...Q.L9
    00000060 5d:d7:e9:38:51:25:3a:b6:0b:a4:73:c3:73:3a:18:12 ]..8Q%:...s.s:..
    00000070 75:60:43:26:bf:37:f2:cc:a9:7f:84:a6:ba:ff:5c:c5 u`C&.7........\.
    00000080 f1:c0:a8:15:60:f0:95:5e:ff:36:0d:84:00:5a:a9:81 ....`..^.6...Z..
    00000090 e0:40:2f:58:11:97:57:b7:ac:de:a6:86:1d:3e:ef:e1 .@/X..W......>..
    000000a0 e1:77:6a:f1:a2:f5:34:1b:13:79:40:8d:df:72:93:9a .wj...4..y@..r..
    000000b0 5d:67:92:52:2d:8b:49:3e:33:8d:cb:ef:b6:e5:d3:be ]g.R-.I>3.......
    000000c0 50:39:17:0f:80:9f:02:12:77:0b:5f:1b:46:69:79:46 P9......w._.FiyF
    000000d0 b7:f7:f1:6a:95:06:06:b3:e8:f6:82:47:99:fe:d3:7d ...j.......G...}
    000000e0 cd:2b:62:6a:40:b5:8c:d4:bd:c5:d8:6f:ee:5c:62:e5 .+bj@......o.\b.
    000000f0 8e:98:0b:89:c6:61:4a:d1:3e:9c:a0:17:e8:65:65:d4 .....aJ.>....ee.
    00000100 1c:b9:a1:f8:74:3b:03:59:67:b5:cc:96:a3:5d:6d:b4 ....t;.Yg....]m.
    00000110 9c:16:1a:fc:9c:b1:9a:f9:7d:a9:6a:a5:00:00:00:81 ........}.j.....
    00000120 00:d7:0f:21:74:76:e2:33:0e:0e:75:67:e2:25:11:63 ...!tv.3..ug.%.c
    00000130 07:72:e7:55:75:00:dc:f8:44:96:b8:bd:39:ef:4f:cc .r.Uu...D...9.O.
    00000140 2b:72:9e:72:ab:a8:d9:9a:e6:12:30:5f:21:d0:54:a0 +r.r......0_!.T.
    00000150 97:8e:65:90:36:15:bb:a8:f9:63:ab:13:e0:cc:b7:35 ..e.6....c.....5
    00000160 31:9b:4e:60:eb:11:08:1c:1d:2b:94:be:de:30:35:9c 1.N`.....+...05.
    00000170 08:7e:30:02:10:76:33:f9:56:d9:1d:22:2f:bc:31:28 .~0..v3.V.."/.1(
    00000180 3b:02:38:54:f3:4f:f0:43:7d:02:e1:0a:e4:b6:e2:65 ;.8T.O.C}......e
    00000190 e7:ba:10:ec:2e:7b:d6:a8:a2:b2:84:1b:6f:59:85:4a .....{......oY.J
    000001a0 7f:00:00:01:0f:00:00:00:07:73:73:68:2d:72:73:61 .........ssh-rsa
    000001b0 00:00:01:00:76:fd:6e:61:4c:ec:0e:96:2a:d0:68:43 ....v.naL...*.hC
    000001c0 5d:5d:41:48:5f:1d:6c:8e:04:95:8f:d3:43:9b:a2:05 ]]AH_.l.....C...
    000001d0 fc:a2:27:26:d5:ea:f0:f6:8f:15:2b:6b:0a:7e:4b:7b ..'&......+k.~K{
    000001e0 1a:89:5b:49:07:0e:ea:d3:b5:48:f2:7b:80:04:e0:3b ..[I.....H.{...;
    000001f0 3e:90:a4:23:8c:fe:a0:3d:b5:3b:6d:51:d7:8d:1f:25 >..#...=.;mQ...%
    00000200 30:0c:41:2b:ef:2a:f0:1c:f9:f0:00:24:b4:8e:6c:2e 0.A+.*.....$..l.
    00000210 04:f2:53:5d:dd:b6:a7:dc:15:4e:ae:e6:d3:1b:78:f4 ..S].....N....x.
    00000220 af:c4:b8:fd:5d:d6:0a:f7:11:7b:25:22:f7:39:1f:23 ....]....{%".9.#
    00000230 8d:e4:ab:cd:51:ad:ea:d0:4c:5b:b1:67:65:15:68:67 ....Q...L[.ge.hg
    00000240 4c:66:ff:ee:42:dd:c2:3d:c2:54:95:29:55:90:b1:fa Lf..B..=.T.)U...
    00000250 5e:53:3e:9d:1e:89:10:fa:a8:9e:40:f0:24:a4:0e:24 ^S>.......@.$..$
    00000260 d8:17:4b:95:0f:6a:32:ee:2a:44:bf:6e:2c:94:87:62 ..K..j2.*D.n,..b
    00000270 ef:18:c3:90:6c:9a:d1:40:01:60:5a:33:ff:b0:9c:04 ....l..@.`Z3....
    00000280 49:91:3e:b7:a6:44:e0:b8:43:86:5a:5f:7c:6b:9d:0b I.>..D..C.Z_|k..
    00000290 fb:e4:0f:33:bd:a5:17:9d:28:5c:f4:a7:59:64:20:72 ...3....(\..Yd r
    000002a0 7e:7e:7a:f9:47:73:f9:b4:e3:43:5f:f7:34:0c:4d:af ~~z.Gs...C_.4.M.
    000002b0 e8:2c:49:c6 .,I.

    -> NET_SSH2_MSG_NEWKEYS (0.0001s)
    00000000 15 .

    <- NET_SSH2_MSG_NEWKEYS (0s)
    00000000 15 .

    -> NET_SSH2_MSG_SERVICE_REQUEST (0s)
    00000000 05:00:00:00:0c:73:73:68:2d:75:73:65:72:61:75:74 .....ssh-useraut
    00000010 68 h

    <- NET_SSH2_MSG_SERVICE_ACCEPT (0.0353s)
    00000000 06:00:00:00:0c:73:73:68:2d:75:73:65:72:61:75:74 .....ssh-useraut
    00000010 68 h

    -> NET_SSH2_MSG_USERAUTH_REQUEST (0s)
    00000000 32:00:00:00:04:72:6f:6f:74:00:00:00:0e:73:73:68 2....root....ssh
    00000010 2d:63:6f:6e:6e:65:63:74:69:6f:6e:00:00:00:09:70 -connection....p
    00000020 75:62:6c:69:63:6b:65:79:00:00:00:00:07:73:73:68 ublickey.....ssh
    00000030 2d:72:73:61:00:00:01:17:00:00:00:07:73:73:68:2d -rsa........ssh-
    00000040 72:73:61:00:00:00:03:01:00:01:00:00:01:01:00:d3 rsa.............
    00000050 84:1e:15:a3:4a:36:ff:00:23:60:51:ec:3a:14:9e:56 ....J6..#`Q.:..V
    00000060 2c:36:71:12:c5:07:7c:28:fb:7c:30:6a:0a:89:5a:da ,6q...|(.|0j..Z.
    00000070 19:d3:cf:dc:1f:00:3b:e1:a1:6a:00:af:41:4e:3c:92 ......;..j..AN..
    00000080 5f:b0:14:1d:c7:8a:01:65:69:30:d7:53:dd:52:e3:3a _......ei0.S.R.:
    00000090 77:33:af:7d:2f:8c:11:c0:6f:eb:12:f9:34:49:02:c4 w3.}/...o...4I..
    000000a0 ce:bc:5c:73:80:47:fc:d5:19:16:cb:5a:ae:22:ed:1c ..\s.G.....Z."..
    000000b0 49:41:df:28:94:ad:23:28:db:3e:ff:6c:bb:15:47:cb IA.(..#(.>.l..G.
    000000c0 70:63:35:27:a4:85:b1:9d:c9:ac:03:03:20:a6:ff:a4 pc5'........ ...
    000000d0 0f:07:80:d2:f9:3d:ba:30:d5:0e:87:f6:6e:1b:89:53 .....=.0....n..S
    000000e0 c7:c2:50:59:0a:b2:57:4c:5d:ce:a1:60:f5:82:f2:95 ..PY..WL]..`....
    000000f0 5a:eb:0d:fa:9d:00:89:91:fa:70:ba:63:55:8c:b4:4d Z........p.cU..M
    00000100 72:1e:bf:82:e6:3f:39:80:e1:0e:97:f4:dd:7f:06:d5 r....?9.........
    00000110 95:31:5b:c5:34:ac:62:d1:c1:30:f3:90:34:98:94:c6 .1[.4.b..0..4...
    00000120 3b:57:c5:56:dd:4f:10:3b:dc:e6:4f:e4:5d:85:d1:99 ;W.V.O.;..O.]...
    00000130 d2:e2:ad:62:fb:db:68:f8:5d:cc:19:b1:df:dc:5e:3d ...b..h.].....^=
    00000140 b3:2b:da:71:03:28:9e:61:69:a6:88:1a:2c:db:f1 .+.q.(.ai...,..

    <- NET_SSH2_MSG_USERAUTH_FAILURE (0.2501s)
    00000000 33:00:00:00:12:70:75:62:6c:69:63:6b:65:79:2c:70 3....publickey,p
    00000010 61:73:73:77:6f:72:64:00 assword.

    -> NET_SSH2_MSG_DISCONNECT (0.0001s)
    00000000 01:00:00:00:0d:00:00:00:00:00:00:00:00 .............
    --------------------------------

  6. TerraFrost
    Member
    Plugin Author

    Posted 1 year ago #

    The SSH server doesn't like the private key you're using. I'd double check that to be extra sure that the one you're trying to use with this plugin is the correct one.

    Also, fwiw, your NET_SSH_MSG_USERAUTH_FAILURE message suggests that your SSH server supports not just publickey but also password based authentication..

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic