Open stevenGravy opened 1 month ago
The issue appears to be that there is no longer a sshd
service but rather just a ssh
service.
teleport join openssh
defaults to using systemctl restart sshd
as the restart command but this can be supplied manually by users via: teleport join openssh --restart-sshd=systemctl restart ssh
thanks @rosstimothy , let me see about putting that in docs. Do you think this is common enough it whou
teleport join openssh
defaults to usingsystemctl restart sshd
as the restart command but this can be supplied manually by users via:teleport join openssh --restart-sshd=systemctl restart ssh
thanks @rosstimothy , let me see about putting that in docs. Do you think this is common enough it should be part of the regular flow to check what is your service?
Another option is to see which units are available and restart either ssh.service
or sshd.service
. We can get the available units using systemctl list-units --type=service --all --output=json
.
Expected behavior:
The
teleport join openssh
would work in Ubuntu 24.04 as with Ubuntu 22.04Current behavior:
Attempting to run
teleport join openssh
results in this error. This was on the default Ubuntu 24.04 in Amazon with a Arm4g.nano
.Bug details:
teleport
binary and create a node tokenteleport join openssh
as above.