server->update([ 'private_key_id' => $private_key_id ]); // Delete the old ssh mux file to force a new one to be created Storage::disk('ssh-mux')->delete("{$this->server->first()->ip}_{$this->server->first()->port}_{$this->server->first()->user}"); $this->server->refresh(); } public function mount() { $this->parameters = getRouteParameters(); } }