File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -140,4 +140,17 @@ spec:
140
140
` ` `
141
141
142
142
For more information about moderated sessions and session sharing, see
143
- [Moderated Sessions](../access-controls/guides/moderated-sessions.mdx).
143
+ [Moderated Sessions](../access-controls/guides/moderated-sessions.mdx).
144
+
145
+ ## Unable to connect to agentless OpenSSH server as root
146
+
147
+ You should check your sshd configuration in ` /etc/ssh/sshd_config` for a setting like
148
+ ` PermitRootLogin no` or `PermitRootLogin forced-commands-only` - either of these
149
+ settings will prevent login as root.
150
+ If you wish to log in as root to an OpenSSH server via Teleport, we recommend
151
+ changing this setting to `PermitRootLogin prohibit-password`.
152
+
153
+ You will need to restart sshd for the change to take effect :
154
+ ` ` ` code
155
+ $ sudo systemctl restart sshd
156
+ ` ` `
You can’t perform that action at this time.
0 commit comments