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

Terminal & SSH add-on lacks information about user #3314

Closed
Aviatorpaal opened this issue Nov 15, 2023 · 1 comment
Closed

Terminal & SSH add-on lacks information about user #3314

Aviatorpaal opened this issue Nov 15, 2023 · 1 comment

Comments

@Aviatorpaal
Copy link

Aviatorpaal commented Nov 15, 2023

Describe the issue you are experiencing

The add-on lacks information about the SSH client user name in order to connect to the server.

What type of installation are you running?

Home Assistant OS

Which operating system are you running on?

Home Assistant Operating System

Which add-on are you reporting an issue with?

Almond

What is the version of the add-on?

9.8.1

Steps to reproduce the issue

  1. Install the add-on
  2. Create key pair
  3. Attempt to connect from an SSH client
    ...

System Health information

System Information

version core-2023.11.1
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.11.6
os_name Linux
os_version 6.1.59
arch x86_64
timezone Europe/Oslo
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
GitHub API Calls Remaining 4972
Installed Version 1.33.0
Stage running
Available Repositories 1333
Downloaded Repositories 11
Home Assistant Cloud
logged_in false
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Home Assistant OS 11.1
update_channel stable
supervisor_version supervisor-2023.11.3
agent_version 1.6.0
docker_version 24.0.6
disk_total 38.7 GB
disk_used 10.0 GB
healthy true
supported true
board ova
supervisor_api ok
version_api ok
installed_addons Terminal & SSH (9.8.1), Node-RED (15.1.1), Z-Wave JS UI (3.0.2), Studio Code Server (5.14.2), Samba share (12.1.0), Mosquitto broker (6.3.1), Home Assistant Google Drive Backup (0.111.1), ESPHome (2023.10.6)
Dashboards
dashboards 1
resources 5
views 13
mode storage
Recorder
oldest_recorder_run November 4, 2023 at 17:24
current_recorder_run November 15, 2023 at 13:38
estimated_db_size 308.57 MiB
database_engine sqlite
database_version 3.41.2

Anything in the Supervisor logs that might be useful for us?

N/A

Anything in the add-on logs that might be useful for us?

s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/apks.sh
cont-init: info: /etc/cont-init.d/apks.sh exited 0
cont-init: info: running /etc/cont-init.d/keygen.sh
[13:32:47] INFO: Restoring host keys...
cont-init: info: /etc/cont-init.d/keygen.sh exited 0
cont-init: info: running /etc/cont-init.d/profile.sh
cont-init: info: /etc/cont-init.d/profile.sh exited 0
cont-init: info: running /etc/cont-init.d/ssh.sh
[13:32:47] INFO: Setup authorized_keys
cont-init: info: /etc/cont-init.d/ssh.sh exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun sshd (no readiness notification)
services-up: info: copying legacy longrun ttyd (no readiness notification)
[13:32:47] INFO: Starting Web Terminal...
[2023/11/15 13:32:47:7241] N: ttyd 1.7.3-a8cae75 (libwebsockets 4.3.2-v4.3.2)
[2023/11/15 13:32:47:7244] N: tty configuration:
[2023/11/15 13:32:47:7245] N:   start command: tmux -u new -A -s homeassistant bash -l
[2023/11/15 13:32:47:7245] N:   close signal: SIGHUP (1)
[2023/11/15 13:32:47:7245] N:   terminal type: xterm-256color
[2023/11/15 13:32:47:7255] N:    /usr/lib/libwebsockets-evlib_uv.so
[2023/11/15 13:32:47:7256] N: lws_create_context: LWS: 4.3.2-v4.3.2, NET CLI SRV H1 H2 WS ConMon IPV6-off
[2023/11/15 13:32:47:7256] W: lws_create_context: unreasonable ulimit -n workaround
[2023/11/15 13:32:47:7258] N: elops_init_pt_uv:  Using foreign event loop...
[2023/11/15 13:32:47:7258] N: __lws_lc_tag:  ++ [wsi|0|pipe] (1)
[2023/11/15 13:32:47:7259] N: __lws_lc_tag:  ++ [vh|0|netlink] (1)
[2023/11/15 13:32:47:7260] N: __lws_lc_tag:  ++ [vh|1|default||8099] (2)
[2023/11/15 13:32:47:7261] N: [vh|1|default||8099]: lws_socket_bind: source ads 0.0.0.0
[2023/11/15 13:32:47:7262] N: __lws_lc_tag:  ++ [wsi|1|listen|default||8099] (2)
[2023/11/15 13:32:47:7263] N:  Listening on port: 8099
s6-rc: info: service legacy-services successfully started
[13:32:47] INFO: Starting the SSH daemon...
Server listening on 0.0.0.0 port 22.
Server listening on :: port 22.

Additional information

No response

@frenck
Copy link
Member

frenck commented Nov 15, 2023

From the add-on documentation:

CleanShot 2023-11-15 at 20 08 19@2x

../Frenck

@frenck frenck closed this as not planned Won't fix, can't repro, duplicate, stale Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants