Last active
November 6, 2022 23:07
-
-
Save valorad/b85dfc9db32ee9f5031df4f34bbdf468 to your computer and use it in GitHub Desktop.
SSH Config Examples
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Linux: /home/me/.ssh/config | |
# macOS: /Users/me/.ssh/config | |
# Windows: C:\Users\me\.ssh\config | |
# 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 | |
# Windows - localhost - powershell | |
HOST localhost | |
Hostname localhost | |
User valorad | |
Port 22 | |
IdentityFile C:\Users\valorad\.ssh\id_ed25519 | |
RequestTTY yes | |
RemoteCommand powershell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment