1. POLINA LYUBAVINA

POLINA LYUBAVINA

Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • in reply to: No such file or directory #1034
    POLINA LYUBAVINA
    Participant

      In the terminal, I tried

      
      ssh polinalyub_@63.239.135.112 -vvv
      

      and this is part of the response

      
      debug1: Offering public key: /home/fabric/.ssh/id_rsa RSA SHA256:j8FrCXHeQrou+3J3NEFD9x+C+6nGiViOl9PKLmZ9cq4
      debug3: send packet: type 50
      debug2: we sent a publickey packet, wait for reply
      debug3: receive packet: type 51
      
      in reply to: Test Server/Bastion Host Login #999
      POLINA LYUBAVINA
      Participant

        I meant to post this in the No such file or directory discussion 🙂

        in reply to: No such file or directory #998
        POLINA LYUBAVINA
        Participant

          Hi Paul,

          My id_rsa_fabric is called fab_rsa on my local machine and I’ve copied that over to the Jupyter host. I updated the code that you have above to make that one change. And I’m able to build slices, just not able to log in to them. Here’s the stack trace that I’m getting:

          
          
          Unknown exception: q must be exactly 160, 224, or 256 bits long
          Traceback (most recent call last):
          File “/opt/conda/lib/python3.9/site-packages/paramiko/transport.py”, line 2109, in run
          handler(self.auth_handler, m)
          File “/opt/conda/lib/python3.9/site-packages/paramiko/auth_handler.py”, line 298, in _parse_service_accept
          sig = self.private_key.sign_ssh_data(blob)
          File “/opt/conda/lib/python3.9/site-packages/paramiko/dsskey.py”, line 108, in sign_ssh_data
          key = dsa.DSAPrivateNumbers(
          File “/opt/conda/lib/python3.9/site-packages/cryptography/hazmat/primitives/asymmetric/dsa.py”, line 244, in private_key
          return backend.load_dsa_private_numbers(self)
          File “/opt/conda/lib/python3.9/site-packages/cryptography/hazmat/backends/openssl/backend.py”, line 826, in load_dsa_private_numbers
          dsa._check_dsa_private_numbers(numbers)
          File “/opt/conda/lib/python3.9/site-packages/cryptography/hazmat/primitives/asymmetric/dsa.py”, line 282, in _check_dsa_private_numbers
          _check_dsa_parameters(parameters)
          File “/opt/conda/lib/python3.9/site-packages/cryptography/hazmat/primitives/asymmetric/dsa.py”, line 274, in _check_dsa_parameters
          raise ValueError(“q must be exactly 160, 224, or 256 bits long”)
          ValueError: q must be exactly 160, 224, or 256 bits long
          
          

          Here’s the printed output:
          Node Node1 IP 63.239.135.112
          q must be exactly 160, 224, or 256 bits long

          Thanks,

          Polina

          in reply to: Test Server/Bastion Host Login #997
          POLINA LYUBAVINA
          Participant

            Hi Paul,

            My id_rsa_fabric is called fab_rsa on my local machine and I’ve copied that over to the Jupyter host. I updated the code that you have above to make that one change. And I’m able to build slices, just not able to log in to them. Here’s the stack trace that I’m getting:

            `

            Unknown exception: q must be exactly 160, 224, or 256 bits long
            Traceback (most recent call last):
            File “/opt/conda/lib/python3.9/site-packages/paramiko/transport.py”, line 2109, in run
            handler(self.auth_handler, m)
            File “/opt/conda/lib/python3.9/site-packages/paramiko/auth_handler.py”, line 298, in _parse_service_accept
            sig = self.private_key.sign_ssh_data(blob)
            File “/opt/conda/lib/python3.9/site-packages/paramiko/dsskey.py”, line 108, in sign_ssh_data
            key = dsa.DSAPrivateNumbers(
            File “/opt/conda/lib/python3.9/site-packages/cryptography/hazmat/primitives/asymmetric/dsa.py”, line 244, in private_key
            return backend.load_dsa_private_numbers(self)
            File “/opt/conda/lib/python3.9/site-packages/cryptography/hazmat/backends/openssl/backend.py”, line 826, in load_dsa_private_numbers
            dsa._check_dsa_private_numbers(numbers)
            File “/opt/conda/lib/python3.9/site-packages/cryptography/hazmat/primitives/asymmetric/dsa.py”, line 282, in _check_dsa_private_numbers
            _check_dsa_parameters(parameters)
            File “/opt/conda/lib/python3.9/site-packages/cryptography/hazmat/primitives/asymmetric/dsa.py”, line 274, in _check_dsa_parameters
            raise ValueError(“q must be exactly 160, 224, or 256 bits long”)
            ValueError: q must be exactly 160, 224, or 256 bits long

            `
            Here’s the printed output:
            Node Node1 IP 63.239.135.112
            q must be exactly 160, 224, or 256 bits long

            Thanks,

            Polina

            in reply to: No such file or directory #972
            POLINA LYUBAVINA
            Participant

              silly question, Paul, but for the noobs here how do you put your private key into the Jupyter container at the path if it’s in the browser?

            Viewing 5 posts - 1 through 5 (of 5 total)