none
TIme out when SSH connection RRS feed

  • Question

  • Hello,

    in order to install python packages, I want to connect to a Ubuntu node.

    I go to connect, generate a user and try to connect in SSH with putty or powershell. But it's time out.

    Tho node is in the "idle" state but I don't know how to activate it.

    Wednesday, December 18, 2019 8:46 PM

All replies

  • Please provide more details so that we can help you better:

    1. Which Azure product/service are you using?

    2. What is the end goal you are trying to achieve

    2. Is there any documentation you are following to achieve this, if yes, please share the link to the document.

    Wednesday, December 18, 2019 9:10 PM
    Moderator
  • Hello,

    I am using Azure Batch in order to run some python code which needs a few packages.

    On a local environment, I use pip install but this command seems not to be known on a node (I choose the Ubuntu version of VM, standard A1)

    One of my ideas was to install pio first, then call the "pip install" for packages. I didn't find any documentation explaining how to do that except this post on stackoverflow :

    https://stackoverflow.com/questions/53171724/azure-batch-data-science-vm-python-packages-missing

    and the command :

    bin/bash -c "sudo apt-get -y update && export DEBIAN_FRONTEND=noninteractive && sudo apt-get install -y python3-pip && sudo pip3 install pandas;"

    which gives me an error at node's star.

    Then I tried to connect in SSH to the node VM but I don't succeed and it is a time out in the putty window.

    Thursday, December 19, 2019 6:43 AM