Skip to content

Instantly share code, notes, and snippets.

@valorad
Last active November 6, 2022 23:07

Revisions

  1. valorad revised this gist Nov 6, 2022. 1 changed file with 11 additions and 2 deletions.
    13 changes: 11 additions & 2 deletions config.txt
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    # Linux: /home/me/.ssh/config
    # macOS: /Users/me/.ssh/config
    # Windows: [TBD]
    # Windows: C:\Users\me\.ssh\config

    # macOS - localhost - fish shell
    HOST localhost
    @@ -9,4 +9,13 @@ HOST localhost
    Port 22
    IdentityFile /Users/me/.ssh/id_ed25519
    RequestTTY yes
    RemoteCommand /usr/local/bin/fish -l
    RemoteCommand /usr/local/bin/fish -l

    # Windows - localhost - powershell
    HOST localhost
    Hostname localhost
    User valorad
    Port 22
    IdentityFile C:\Users\valorad\.ssh\id_ed25519
    RequestTTY yes
    RemoteCommand powershell
  2. valorad created this gist Nov 6, 2022.
    12 changes: 12 additions & 0 deletions config.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    # Linux: /home/me/.ssh/config
    # macOS: /Users/me/.ssh/config
    # Windows: [TBD]

    # macOS - localhost - fish shell
    HOST localhost
    Hostname localhost
    User me
    Port 22
    IdentityFile /Users/me/.ssh/id_ed25519
    RequestTTY yes
    RemoteCommand /usr/local/bin/fish -l