@@ -59,7 +59,7 @@ |
||
59 | 59 | $ssh2->on('connect', function(SSH2Interface $ssh2) { |
60 | 60 | echo "# CONNECTED\n"; |
61 | 61 | $ssh2->createDriver(SSH2::DRIVER_SFTP) |
62 | - ->connect(); |
|
62 | + ->connect(); |
|
63 | 63 | }); |
64 | 64 | |
65 | 65 | $ssh2->on('disconnect', function(SSH2Interface $ssh2) use($loop) { |
@@ -55,7 +55,7 @@ |
||
55 | 55 | $ssh2->on('connect', function(SSH2Interface $ssh2) { |
56 | 56 | echo "# CONNECTED\n"; |
57 | 57 | $ssh2->createDriver(SSH2::DRIVER_SFTP) |
58 | - ->connect(); |
|
58 | + ->connect(); |
|
59 | 59 | }); |
60 | 60 | |
61 | 61 | $ssh2->on('disconnect', function(SSH2Interface $ssh2) use($loop) { |
@@ -67,7 +67,7 @@ |
||
67 | 67 | $ssh2->on('connect', function(SSH2Interface $ssh2) { |
68 | 68 | echo "# CONNECTED\n"; |
69 | 69 | $ssh2->createDriver(SSH2::DRIVER_SHELL) |
70 | - ->connect(); |
|
70 | + ->connect(); |
|
71 | 71 | }); |
72 | 72 | |
73 | 73 | $ssh2->on('disconnect', function(SSH2Interface $ssh2) use($loop) { |
@@ -54,7 +54,7 @@ |
||
54 | 54 | $ssh2->on('connect', function(SSH2Interface $ssh2) { |
55 | 55 | echo "# CONNECTED\n"; |
56 | 56 | $ssh2->createDriver(SSH2::DRIVER_SHELL) |
57 | - ->connect(); |
|
57 | + ->connect(); |
|
58 | 58 | }); |
59 | 59 | |
60 | 60 | $ssh2->on('disconnect', function(SSH2Interface $ssh2) use($loop) { |