Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • May 25 20:43
    henrybarreto labeled #1930
  • May 25 20:43
    henrybarreto labeled #1930
  • May 25 20:43
    henrybarreto labeled #1930
  • May 25 20:43
    henrybarreto labeled #1930
  • May 25 20:43
    henrybarreto labeled #1930
  • May 25 20:43
    henrybarreto labeled #1930
  • May 25 20:43
    henrybarreto assigned #1930
  • May 25 20:43
    henrybarreto opened #1930
  • May 25 20:42

    henrybarreto on improveValidationAndRoutesModel

    api,pkg: add custom validator t… (compare)

  • May 25 20:33

    henrybarreto on improveValidationAndRoutesModel

    api,pkg: add custom validator t… (compare)

  • May 24 12:13

    gustavosbarreto on master

    gateway: add path to proxy API … (compare)

  • May 24 12:13

    gustavosbarreto on gatewayOpenAPIProxyAndUpdateMock

    (compare)

  • May 24 12:13
    gustavosbarreto closed #1916
  • May 24 12:13
    henrybarreto ready_for_review #1916
  • May 24 10:33
    glynhudson opened #1929
  • May 24 09:04

    otavio on master

    api: fix typo in server.go sti… (compare)

  • May 24 09:04
    otavio closed #1928
  • May 24 02:44
    eltociear opened #1928
  • May 23 15:10

    dependabot[bot] on npm_and_yarn

    (compare)

  • May 23 15:10
    dependabot[bot] commented #1922
trainingday-PL
@trainingday-PL
i added docker to group, i tried many solutions, many ssh configurations, many kali install instances... still nothing
trainingday-PL
@trainingday-PL
@otavio Now i checked, debian works too.. Only kali... I need kali, and kali not work :p Life is brutal ^^
trainingday-PL
@trainingday-PL
@otavio When i put docker logs shellhub in all working systems, all is ok but on kali i get "2021/09/15 13:35:02 http: panic serving 159.203.157.46:443: crypt: unknown crypt function"
Otavio Salvador
@otavio
@trainingday-PL I asked which version did you try
we fixed it in 0.7.x
I suggest you to use 0.7.6
@gustavosbarreto we should make the new release
trainingday-PL
@trainingday-PL
Lol i wrote that! When i use curl -sSf "https://cloud.shellhub.io/install.sh?tenant_id=c847d63f-8517-4c15-a41a-a2df257f16aa" | sh it downloading newest versions, right?
Otavio Salvador
@otavio
@trainingday-PL please download the script and change it to use the 0.7.6 agent release
and see if it works for you
trainingday-PL
@trainingday-PL
Ok i will try, thank you <3
trainingday-PL
@trainingday-PL
I download script, changed shellhubio/agent:v0.7.5 to shellhubio/agent:v0.7.6 and still same problem in kali :(
Otavio Salvador
@otavio
@trainingday-PL please open an issue describing how we can reproduce it
so we can look at it
trainingday-PL
@trainingday-PL
Ok, open issue on github?
Otavio Salvador
@otavio
yep @trainingday-PL
linuxmonger
@linuxmonger:matrix.org
[m]
When I try to import a private key (rsa or ed25519), I get an error "Not valid key". These are keys I've used for months. Any ideas?
2 replies
This is a fresh install on Linux Mint.
Benny Smartboatia
@BennySBoatia
Hey there, is there a way to change the owner of an existing namespace?
Otavio Salvador
@otavio
@BennySBoatia not currently.
Benny Smartboatia
@BennySBoatia
@otavio thx! That’s what I expected. Would be great to see this feature sometime in the future. Best, Benny
Otavio Salvador
@otavio
@BennySBoatia please report an issue asking for this feature. So we can plan for it.
Michael de Gans
@mdegans
Is there some hidden documentation on how to set up public key authentication?
I'm fairly familiar with setting it up in a forward ssh situation but with this reverse ssh setup, I'm not quite sure, for example, which public key to put in "Public Keys" and what I would put for "hostname"
2 replies
cbAtGH
@cbAtGH
@otavio how does one reset a cloud password?
1 reply
Mauricio Faccin
@mfaccin
hey guys! I would like to know if is possible to customize the dashboard.
I would like to add the MAC address of the board on the list (the last seen info would be nice on the table as well).
additionally, the boards are requesting a new connection every boot. do you have any tip on how to debug the cause of it? :)
thanks!
yasslkb
@yasslkb
hi guys how can i modify the look and the feel of the web Ui
Otavio Salvador
@otavio
@mfaccin @yasslkb currently, not. We are publishing 0.8.0 release and has the REST API documented and you could use it to inquiry extra info, if need.
Rino
@rinose
hi, when I run on script install.sh I have this error: Unable to find image 'shellhubio/agent:v0.8.0' locally
docker: Error response from daemon: manifest for shellhubio/agent:v0.8.0 not found: manifest unknown: manifest unknown.
See 'docker run --help'.
1 reply
why?
Paulo Guevara
@pauloroach
I was able to update using v0.8.1
Otavio Salvador
@otavio
Great :-D
NOTICE: Everyone, we enabled the billing. Up to 3 devices it remain free but for more than 3 devices, it requires a payment method to be added.
cwalford1
@cwalford1

hey guys, when I register a device (using the one-line install script) it appears as a pending device named with its mac address. Is there some way to specify a name at install-time or change it afterwards with an api call or similar?

I am trying to automate the registration of several devices, and it would be helpful if I could assign them meaningful names.

Edit: account is cloud hosted if it matters

2 replies
yasslkb
@yasslkb
hi guys I want to know how can I add a billing module or billing functionality If it's possible first?
Otavio Salvador
@otavio
@yasslkb I don't know if I followed you. Do you want to enable billing at your instance?
@yasslkb if so, this is not possible. It is a closed source module we did internally to allow us to sell the SaaS service we offer (cloud.shellhub.io).
cbAtGH
@cbAtGH
should i be able to hit the api from a managed instance? I am getting a "Method Not Allowed" when attempting to authenticate api/login
1 reply
HarelAshwal
@HarelAshwal
Hey Guy, I registered a device, but when i try to start a session , the terminal looks like it "stucks" and shows nothing, when i look on the sessions log, it says the session "authenticated" . any ideas?
1 reply
cwalford1
@cwalford1

Hey guys, I noticed some strange behavior with a device on my instance. While I was connected to a terminal session, the session closed and I was kicked off. Then, when I looked at my device list to see if it had gone offline it was, but another device with the same host-name appeared in the pending device list.

The new device has a different MAC and UUID. I accepted it into the namespace, but while it shows as online on the web portal, when I try to connect from a terminal I get "connection to <instance_url> closed".

Both devices are still in the namespace, one showing online and the other offline, but attempting to connect to either results in the above described behavior.

Any ideas what could have happened and the best course for recovery? I can still connect to the device as another device on the local network is accessible.

6 replies
disideris
@disideris
hi there! can anyone help me with this? How to get access to admin console https://docs.shellhub.io/admin-manual/admin-console/ ?
I have an self hosted older version of shellhub but i never configured an admin user. Any help?
5 replies
Kittipong H.
@onnz

how to put the parameter into ./agent, I got the error when run
$ ./agent
This application is configured via the environment. The following environment
variables can be used:

KEY TYPE DEFAULT REQUIRED DESCRIPTION
SHELLHUB_SERVER_ADDRESS String true
SHELLHUB_PRIVATE_KEY String true
SHELLHUB_TENANT_ID String true
SHELLHUB_KEEPALIVE_INTERVAL Integer 30
SHELLHUB_PREFERRED_HOSTNAME String
SHELLHUB_PREFERRED_IDENTITY String
SHELLHUB_SIMPLE_USER_PASSWORD String
SHELLHUB_LOG_LEVEL String info
FATA[0000] required key SERVER_ADDRESS missing value

Kittipong H.
@onnz
I got it ; just , SERVER_ADDRESS=http://xxx.shellhub.co PRIVATE_KEY=/host/etc/shellhub.key TENANT_ID=db1bdec8-fae7-4f8b-8556-2da8bf8xxxxx ./agent
Otavio Salvador
@otavio
@onnz in Yocto Project we use a systems service to initialize it
Glyn Hudson
@glynhudson

Hi, I've been running shellhub v0.3.7 for a couple of years. It's been working great. I've just tried to upgrade to the latest version following your upgrade docs (https://docs.shellhub.io/admin-manual/updating/). However, I've run into an issue trying to upgrade the db.

make upgrade_mongodb

returns

sh: 1: Syntax error: end of file unexpected make: *** [upgrade_mongodb] Error 2

The db is stored in the normal docker volume. Any ideas what could be the issue?

14 replies
Kittipong H.
@onnz
One more question, I ran the agent on OrangePi Board with Ubuntu & Armbian OS, when I restart the OrangePi, the both OS at Shellhub console always see it as NEW device. I need add it every single reboot. How to solve it. With raspbery pi, no problem
10 replies
Andreas Freund
@andy-freund

Hello, I have the following problem:
I have an RPi that is only accessible to me remotely.
It is currently running under the free solution offered at cloud.shellhub.io. However, this community solution is limited to three devices. I therefore set up my own server in December last year.
My question now is how can I exchange the current Docker container via SSH remote? If I were to stop the container remotely, the connection would be immediately terminated.
I haven't been able to do it via a script either.
Here is the script that is automatically started after the RPi start:

sudo su
docker stop 853e52f965c3
docker rm 853e52f965c3
curl -sSf "http://www/install.sh?tenant_id=xxx | sh

(www stands for my server, xxx stands for my ID)

Otavio Salvador
@otavio
@andy-freund that is a hard-to-solve problem as any failure could lose the connectivity. When we had this situation in past (customers moving from ShellHub Cloud to the ShellHub Managed server) it was done using an OTA package which in the new image used the new server. We never did this using Docker. Maybe community members here have done that?
Tom Hale
@HaleTom
How do I bulk reject a bunch of devices at once?
Otavio Salvador
@otavio
@HaleTom on the ui it isn't currently supporter but you can do it using API.