Giter Site home page Giter Site logo

laravel-ssh-client's People

Contributors

dependabot[bot] avatar roke22 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

laravel-ssh-client's Issues

connection

hello

in same browser possible connect second tab third tab like if we have 4 or 5 server then sepeat tab wise connection ?

Database connection [localhost] not configured.

I stuck into this loop where I kept getting while running : php artisan migrate:refresh

Database connection [localhost] not configured.

enter image description here

In my database.php, I have this set

'connections' => [


    'pgsql' => [
        'driver' => 'pgsql',
        'url' => env('DATABASE_URL'),
        'host' => env('DB_HOST', '127.0.0.1'),
        'port' => env('DB_PORT', '5432'),
        'database' => env('DB_DATABASE', 'forge'),
        'username' => env('DB_USERNAME', 'forge'),
        'password' => env('DB_PASSWORD', ''),
        'charset' => 'utf8',
        'prefix' => '',
        'prefix_indexes' => true,
        'schema' => 'public',
        'sslmode' => 'prefer',
    ],

],

In my .env, I have this

DB_CONNECTION=pgsql
DB_HOST=localhost
DB_PORT=5432
DB_DATABASE=ssh_server
DB_USERNAME=postgres
DB_PASSWORD=

Please Note :

'driver' => 'pgsql',

I already create a ssh_server in my local pqsl server, see it like so. I can even clicked on it to open it

Any hints for me ?

enter image description here

I can run web socket

I downloaded proyect but get connection refused
how I can know what happened?

WebSocket connection to 'ws://localhost:8090/' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED
connectServer @ 1:33

I run command
php ssh-server/bin/websocket.php 2>&1 >/dev/null &
[1] 5980
image

Public key connection

Hi,

Would it be possible that if a user has a public key stored in his account that it can connect passwordless?
A use case would be, to have a page with CSS tabs on it, and login using public key encryption also by a screen reference (tmux session name) so it can be reloaded.

Do you have any experience with that? Or would you be willing to build that? (paid ofc..)

I found a resource on it.
https://jordanelver.co.uk/blog/2010/11/27/automatically-attaching-to-a-tmux-session-via-ssh/

Connection Closed instantly

Hi there,
i try to get Laravel SSH-Client working.
But when i try to connect to server it instantly gives an error connection closed.

root@evilcorp:/var/www/html/evilcorp-ssh# php ssh-server/bin/websocket.php 2>&1 >/dev/null &
[1] 15887
root@evilcorp:/var/www/html/evilcorp-ssh# PHP Fatal error:  Uncaught Error: Call to undefined function MyApp\ssh2_connect() in /var/www/html/evilcorp-ssh/ssh-server/src/Servidorsocket.php:109
Stack trace:
#0 /var/www/html/evilcorp-ssh/ssh-server/src/Servidorsocket.php(67): MyApp\Servidorsocket->connectSSH()
#1 /var/www/html/evilcorp-ssh/ssh-server/vendor/cboden/ratchet/src/Ratchet/WebSocket/WsServer.php(75): MyApp\Servidorsocket->onMessage()
#2 /var/www/html/evilcorp-ssh/ssh-server/vendor/cboden/ratchet/src/Ratchet/WebSocket/WsServer.php(131): Ratchet\WebSocket\WsServer->Ratchet\WebSocket\{closure}()
#3 /var/www/html/evilcorp-ssh/ssh-server/vendor/ratchet/rfc6455/src/Messaging/MessageBuffer.php(248): Ratchet\WebSocket\WsServer->Ratchet\WebSocket\{closure}()
#4 /var/www/html/evilcorp-ssh/ssh-server/vendor/ratchet/rfc6455/src/Messaging/MessageBuffer.php(194): Ratchet\RFC6455\Messaging\MessageBuffer->processData()
#5 /var/www/html/evilcorp-ssh/ssh-server/vendor/cboden/ratchet/src/Ratchet/WebSocket/WsServer.php(153): Ratchet\RFC6455\Messaging\MessageBuffer->onData()
#6 /var/www/html/evilcorp-ssh/ssh-server/vendor/cboden/ratchet/src/Ratchet/Http/HttpServer.php(54): Ratchet\WebSocket\WsServer->onMessage()
#7 /var/www/html/evilcorp-ssh/ssh-server/vendor/cboden/ratchet/src/Ratchet/Server/IoServer.php(112): Ratchet\Http\HttpServer->onMessage()
#8 /var/www/html/evilcorp-ssh/ssh-server/vendor/cboden/ratchet/src/Ratchet/Server/IoServer.php(95): Ratchet\Server\IoServer->handleData()
#9 /var/www/html/evilcorp-ssh/ssh-server/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php(123): Ratchet\Server\IoServer->Ratchet\Server\{closure}()
#10 /var/www/html/evilcorp-ssh/ssh-server/vendor/react/stream/src/Util.php(71): Evenement\EventEmitter->emit()
#11 /var/www/html/evilcorp-ssh/ssh-server/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php(123): React\Stream\Util::React\Stream\{closure}()
#12 /var/www/html/evilcorp-ssh/ssh-server/vendor/react/stream/src/DuplexResourceStream.php(193): Evenement\EventEmitter->emit()
#13 /var/www/html/evilcorp-ssh/ssh-server/vendor/react/event-loop/src/StreamSelectLoop.php(245): React\Stream\DuplexResourceStream->handleData()
#14 /var/www/html/evilcorp-ssh/ssh-server/vendor/react/event-loop/src/StreamSelectLoop.php(212): React\EventLoop\StreamSelectLoop->waitForStreamActivity()
#15 /var/www/html/evilcorp-ssh/ssh-server/vendor/cboden/ratchet/src/Ratchet/Server/IoServer.php(74): React\EventLoop\StreamSelectLoop->run()
#16 /var/www/html/evilcorp-ssh/ssh-server/bin/websocket.php(38): Ratchet\Server\IoServer->run()
#17 {main}
  thrown in /var/www/html/evilcorp-ssh/ssh-server/src/Servidorsocket.php on line 109

On developer console it says:

WebSocket connection to 'wss://wss.evilcorp.de:8090/' failed: 
connectServer @ 1:33
decrypt @ 1:98

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.