Skip to content

Instantly share code, notes, and snippets.

@ttscoff
Last active June 21, 2024 14:46
Show Gist options
  • Save ttscoff/ee50738f7a1605dd4f81a3e8ca74dc6e to your computer and use it in GitHub Desktop.
Save ttscoff/ee50738f7a1605dd4f81a3e8ca74dc6e to your computer and use it in GitHub Desktop.
SOLVED: SSH issue
debug1: Remote: /Users/ttscoff/.ssh/authorized_keys:11: key options: agent-forwarding port-forwarding pty user-rc x11-forwarding
debug1: Remote: /Users/ttscoff/.ssh/authorized_keys:11: key options: agent-forwarding port-forwarding pty user-rc x11-forwarding
debug1: Sending command: ls
@ttscoff
Copy link
Author

ttscoff commented Jun 21, 2024

SOLVED

Solved, it was a problem with my config.fish.

The problem line was:

[ -f $HOMEBREW_PREFIX/share/forgit/forgit.plugin.fish ]; and source $HOMEBREW_PREFIX/share/forgit/forgit.plugin.fish

Changing to:

if status is-interactive
	[ -f $HOMEBREW_PREFIX/share/forgit/forgit.plugin.fish ]; and source $HOMEBREW_PREFIX/share/forgit/forgit.plugin.fish
end

Fixed it. Thanks for all the suggestions.

Solution indirectly discovered by way of this SO post

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment