Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Bad local forwarding specification while connecting to cluster

I am connecting to a data cluster and following these steps:

(I obviously have my .ssh/config file set up properly)

  1. Open the tunnel

  2. SSH into the cluster

  3. Try to bind a port to the server so I can use a Jupyter notebook through this command: ssh -N -L 22127:localhost:22127 [cluster_name]

  4. Run the ipython command on the cluster through: ipython notebook --ip=127.0.0.1 --port=22127 --no-browser

In the end, on step 3, I always get a "Bad local forwarding error". Please note that I have people next to me who have the exact same commands and configurations on the .ssh/config file and can connect and run the Jupyter server.

like image 478
PL-RL Avatar asked Mar 12 '18 13:03

PL-RL


People also ask

How to configure port forwarding?

Port forwardings can also be specified in the configuration file. IPv6 addresses can be spec- ified by enclosing the address in square brackets. Only the superuser can forward privileged ports. By default, the local port is bound in accordance with the GatewayPorts setting.

Why can't I connect to an Azure Data Explorer cluster?

Look for the status of Azure Data Explorer in the region where you're trying to connect to a cluster. If the status isn't Good (green check mark), try connecting to the cluster after the status improves.

What should I do if the Azure cluster status isn't good?

If the status isn't Good (green check mark), try connecting to the cluster after the status improves. If you still need assistance solving your issue, please open a support request in the Azure portal.

Can Cluster operators be added to account operators in ADUC console?

Review details about using the appropriate accounts and group memberships at http://go.microsoft.com/fwlink/?LinkId=83477 . So, we can try to add the cluster-operator account to Account Operators in the ADUC console to see if it can work.


1 Answers

Those both are UTF-8 encoded spaces.

\xc2\xa0
\x0a\x20
   

Make sure you use second one.

like image 59
Neftanic Avatar answered Oct 23 '22 05:10

Neftanic