You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The PubkeyAuthentication option of OpenSSH must be set to yes to allow connecting to the sketch container. While this is the default configuration value of OpenSSH
How to reproduce
When a local sketch starts it says:
...
Connect to this container via any of these methods:
🖥️ ssh sketch-1ttk-y2qj-jkdc-518b
...
My (non-standard, but more secure) SSH client configuration contains this block at the end (it applies each of those settings to all connections which don't have a previously defined value for that option):
Host*ForwardAgentnoForwardX11noPermitLocalCommandno# Avoid public keys being proposed to any SSH server we connect to (ex: whoami.filippo.io)PubkeyAuthenticationnoIdentitiesOnlyyesAddKeysToAgentno
The PubkeyAuthentication option of OpenSSH must be set to
yesto allow connecting to the sketch container. While this is the default configuration value of OpenSSHHow to reproduce
When a local
sketchstarts it says:My (non-standard, but more secure) SSH client configuration contains this block at the end (it applies each of those settings to all connections which don't have a previously defined value for that option):
Context
User workaround by custom SSH config
Add this custom SSH configuration in ~/.ssh/config (anywhere above the
Host *above):Proposed fix
Change the message displayed when the container is started to include the
-o PubkeyAuthentication=yesarguments in thesshcommand.