|  Developer
Updated on May 17, 2022

hub.ssh_tunnel.create

Hub Type: , ,

Connection Type:

  • Create ssh tunnel to controller. Used to access remote controller via ssh.
Edit
Field Type Required Description
serverAddress string + Server that will accept ssh tunnel from controller
serverPort int Server’s ssh port that will accept ssh tunnel from controller (defaults to 8822)
serverUser string + Username that will be used to authenticate on server
serverPass string + Password that will be used to authenticate on server
tunnelPort int + Free server port which will accept ssh tunnel connection from clients
time int Tunnel open time in minutes. Max value minutes (defaults to minutes). Tunnel will be closed either after timeout if there are no connections, or after last connection closed.
Edit

Edit
Code Message Data
-32600 Bad request, rpc.params.notfound.
-32500 hub.ssh_tunnel.failed
Edit
Edit
				
					{
    "method": "hub.ssh_tunnel.create",
    "id": "_ID_",
    "params": {
        "serverAddress": "server.address.com",
        "serverUser": "server_user",
        "serverPass": "server_password",
        "tunnelPort": 33333,
        "time": 60
    }
}				
			
Edit
				
					{
    "error": null,
    "id": "_ID_",
    "result": {}
}