@@ -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) { |
@@ -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) { |
@@ -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) { |
@@ -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) { |