How the SSH Integration Works

Estimated reading: 1 minute

We can’t make the connection directly from Skure front-end (what we see in the browser) to the target server, because the technical limitation, so that we must implement the real-time handler in the Skure back-end, to handle the request from front-end, then convert it to SSH command and send to target server. The executing command from Skure back-end to the remote server is approved, because the PHP allowed to do the SSH connect from server to server.

By implementing the WebSocket handler, using the Ratchet package: http://socketo.me/docs/hello-world

We can handle the command from front-end, then send it to the target server and get the response, then response the front-end.

CONTENTS
Scroll to Top