Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to ssh into device or connect using the browser #3479

Open
rohitmediratta opened this issue Jan 28, 2024 · 6 comments
Open

Unable to ssh into device or connect using the browser #3479

rohitmediratta opened this issue Jan 28, 2024 · 6 comments
Labels
question Further information is requested status/not-reproducible

Comments

@rohitmediratta
Copy link

rohitmediratta commented Jan 28, 2024

Description

I have an Ubuntu 22.04 machine that is Registered and Online (as per Dashboard on shellhub).
When I try to connect from the browser or via ssh USER @ SSHID, I get the following error

user:~/workspace/$ ssh @sshid
USER @ SSHID's password:
/bin/sh: 0: Illegal option --
Connection to cloud.shellhub.io closed.

What could be debugged further?
On the device the following was executed successfully
curl -sSf "https://cloud.shellhub.io/install.sh?tenant_id=HIDDEN" | sh

Edition

Community

Version

v0.14.1

@gustavosbarreto
Copy link
Member

@rohitmediratta Could you please provide the output of the following command on your Ubuntu 22.04 machine?

ls -l /bin/sh

@henrybarreto
Copy link
Member

Sorry. I have linked the wrong issue on my PR.

@rohitmediratta
Copy link
Author

no worries, let me know if you need anything from my setup for this.

@henrybarreto
Copy link
Member

henrybarreto commented Jan 30, 2024

@rohitmediratta, could you run this command?

ls -l /bin/sh

@rohitmediratta
Copy link
Author

rohitmediratta commented Jan 30, 2024

~ > ls -l /bin/sh
lrwxrwxrwx 1 root root 4 Dec 22 11:52 /bin/sh -> dash*
~ > dash
\w > env
HISTFILESIZE=500
TMUX=/tmp/tmux-62163080/default,3555056,0
snip
This was run when my machine was registered, but not "online". I dont think it should matter, but providing this info just fyi..

@henrybarreto
Copy link
Member

Hi, @rohitmediratta

Thank you for your patience.

I have been trying to reproduce your issue, but the connection worked file.

@henrybarreto henrybarreto added status/not-reproducible question Further information is requested labels Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested status/not-reproducible
Projects
None yet
Development

No branches or pull requests

3 participants