threefoldtech / tfgrid-sdk-ts

Apache License 2.0
4 stars 8 forks source link

🐞 [Bug]: Can't SSH into Caprover, Umbrel or Wordpress, need a password #2620

Closed A-Harby closed 6 months ago

A-Harby commented 6 months ago

Is there an existing issue for this?

which package/s did you face the problem with?

Dashboard

What happened?

I deployed a WordPress instance; the site itself is working fine, but I can't SSH into the VM because it keeps asking for a password.

Steps To Reproduce

No response

which network/s did you face the problem on?

Dev, QA

version

2.4.0-rc1

Twin ID/s

No response

Node ID/s

No response

Farm ID/s

No response

Contract ID/s

No response

Relevant screenshots/screen records

image

Relevant log output

{
  "version": 0,
  "contractId": 27313,
  "nodeId": 26,
  "name": "wposb7g",
  "created": 1714306502,
  "status": "ok",
  "message": "",
  "flist": "https://hub.grid.tf/tf-official-apps/tf-wordpress-latest.flist",
  "publicIP": null,
  "planetary": "300:164c:759a:efe6:14c:c09c:76fe:8fd1",
  "myceliumIP": "",
  "interfaces": [
    {
      "network": "nwh9t4r",
      "ip": "10.20.4.2"
    }
  ],
  "capacity": {
    "cpu": 1,
    "memory": 2048
  },
  "mounts": [
    {
      "name": "diskbm5",
      "mountPoint": "/var/www/html",
      "size": 16106127360,
      "state": "ok",
      "message": ""
    }
  ],
  "env": {
    "SSH_KEY": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC5VHR8M7XmORr8BqPzNcVEg4U9bbiHhfPm96tgIcqUX8IEzaLfczhms4Nllwv6hDXG6YP0dJ/C80xMB/srZQNbzookdobKiN60Usowt1DCDkb3UgvAj83p4Sy85caAN5ya2uUs1bnxNQjWEcsHRk69ysybyMuvJgiO56gofluTNhTiowXhpD7810QzXk//GvPp9RA1q53f9r6dSW5orQvL9IPWC2TcMHLBOagRFCt8GUykS3WD2qcEsnm0v4ILHC5z0p3JRwYEaUf2dZjKJc+URWitgU8mQ+h+ApiUt/wJK1DEIaoeGHWLIKzB3Lu5Fq36QRVFAPt1wF5K+c5y/9l9dlahGs9MZEpQBLf1lK9wMZHeHsz2TQwL6PrA0jw6eDGdsJ+euo/wblX4sHgQsA/DSC6NpF+LihgmHeSczQHRTs1YP2ka6ERMwncy3MeCIGW25EkZO6qKrhxGJKMT/c7Xy6nIVCcczNs6vO0ZJor1aAyVzMcxn9sDEPVB22NAn9BRzHoAsqkqmQwhwjP6uFZuP92x06Fk+51yT8xY/jMRlKephNhtkmsF8BDMVX3MQz8WC9JVgQCXCnm2eda7caC1ph3R1ggASy+EYi/ycfn1xo+jRriUBJ1+NHt95Gwby/dvxJCMXsxG4wBPWVpXKjS6LLY4auPDMf7Uo5UHD5IzKQ== Threefold\n\nssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCvmSYj5BKWkizdNyIziMfMm0CRrgq0UxFtBfBdArUMXSFkU30rtExbg6dlVFJCufw6UsCESm/QBSwlOyYKRdpsfVARcAw5G5OG0iX/22n+tYmCcWpmOJLJZaAmSynF1kwpBx3XDy40mFL6OMXjqFcU3DirbcucIL185XfAsTzrq3tDtSvmYPwbXMVMbs1ZAZValxOQNuaLty4qGD2awxVNZq4vtAzgpz3FFo3cs2g70jsGiPq/rsH+NxZHYmqvYnF/S0aPGBrbOe2yW8Cz0mqq5CzqbjYd+Qorkmt7uyJrlCBI43ky+pUuiAYeE1eJlWl5svA+ibWk5yYoa6svLUkaL1kcOMeZWLzDjL3OCrno9gglNp8zUkdSagHROoYlGgpc5fnzMGX4MKDLpHdE9xdk4NjpjB2Iq3hV3DamexXAhLEirLYv9fSilSyKVf/2kvYAa9o+NS4DgBVvXg9J54By/mAVsydD4lbpNe/2pX/WoFGCczmoQfWdHgJPYVCf2vU= harby@ahmed-Saleh-Harby",
    "MYSQL_USER": "admin",
    "MYSQL_PASSWORD": "tZA2!OxwCNwi",
    "ADMIN_EMAIL": "harbya@incubaid.com",
    "WP_URL": "wp52wposb7g.gent02.qa.grid.tf"
  },
  "entrypoint": "/sbin/zinit init",
  "metadata": "",
  "description": "",
  "rootfs_size": 524288000,
  "corex": false,
  "gpu": [],
  "deploymentName": "wposb7g",
  "projectName": "wordpress/wposb7g",
  "billing": "0.245 TFT/hour",
  "wireguard": "[Interface]\nAddress = 100.64.20.3/32\nPrivateKey = Uxfy1UCQmYdkO3eguo9qsRcLKxH68gQkw/5dWRdZYPY=\n\n[Peer]\nPublicKey = /TX223frzFlqwdW2I4lRp52qQJQmsCq+eKujO8lIpgg=\nAllowedIPs = 10.20.0.0/16, 100.64.20.0/32\nPersistentKeepalive = 25\nEndpoint = 185.69.167.81:15467"
}
A-Harby commented 6 months ago

The same is happening with Umbrel.

image

A-Harby commented 6 months ago

Same to Caprover.

image

ramezsaeed commented 6 months ago

Was and issue in the ssh module itself not in the solutions. will be fixed here https://github.com/threefoldtech/tfgrid-sdk-ts/issues/2603