[Bug 3622] New: Please add an option to generate fish shell output

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Fri Oct 6 12:33:39 AEDT 2023


            Bug ID: 3622
           Summary: Please add an option to generate fish shell output
           Product: Portable OpenSSH
           Version: 9.5p1
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: ssh-agent
          Assignee: unassigned-bugs at mindrot.org
          Reporter: kemelzaidan at gmail.com

Please, add an argument (maybe -f since it's not in use) to generate
fish shell commands to the stdout just like there are options for C
shell and Bash.

Fish shell sets variable with the set command. -x for export and -g for
global scope, so you would need:

set -xg SSH_AUTH_SOCK /tmp/ssh-XXXXXXKjJOVJ/agent.199681
set-xg SSH_AGENT_PID 199682
echo Agent pid 199682
To unset the variables, use the -e flag like:


You can take a look in the fish shell documentation here:


Kemel Zaidan

You are receiving this mail because:
You are watching the assignee of the bug.

More information about the openssh-bugs mailing list