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
{{ message }}
Repository navigation
Remote SSH connection fail if remote default shell use fish #18183
It doesn't work when connecting to Windows via ssh either.
** WARNING: connection is not using a post-quantum key exchange algorithm.
** This session may be vulnerable to "store now, decrypt later" attacks.
** The server may need to be upgraded. See https://openssh.com/pq.html
sh: The term 'sh' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
then:
Line |
5 | c "$SHELL" -ilc '\''if command -v codex >/dev/null 2>&1; then exit 0;
| ~~~~
| The term 'then' is not recognized as a name of a cmdlet, function, script file, or executable program.
| Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
fi:
Line |
5 | -ilc '\''if command -v codex >/dev/null 2>&1; then exit 0; fi; exit 8
| ~~
| The term 'fi' is not recognized as a name of a cmdlet, function, script file, or executable program.
| Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
86\':
Line |
5 | \''if command -v codex >/dev/null 2>&1; then exit 0; fi; exit 86'\'''
| ~~~~~~~
| The module '86' could not be loaded. For more information, run 'Import-Module 86'.
Activity
cyenxchen commentedon Apr 19, 2026
I'm experiencing the same issue and hope for a quick fix
BlackHole1 commentedon Apr 23, 2026
It doesn't work when connecting to Windows via ssh either.