{"id":20972504,"url":"https://github.com/dantecatalfamo/ox-ssh","last_synced_at":"2025-05-14T11:34:12.681Z","repository":{"id":47007424,"uuid":"303206237","full_name":"dantecatalfamo/ox-ssh","owner":"dantecatalfamo","description":"SSH config export for org-mode","archived":false,"fork":false,"pushed_at":"2021-09-17T15:17:25.000Z","size":132,"stargazers_count":37,"open_issues_count":1,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-05-06T06:08:34.856Z","etag":null,"topics":["configuration","elisp","emacs","exporter","org-mode","ssh"],"latest_commit_sha":null,"homepage":"","language":"Emacs Lisp","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dantecatalfamo.png","metadata":{"files":{"readme":"README.org","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-10-11T20:25:39.000Z","updated_at":"2024-12-05T12:53:35.000Z","dependencies_parsed_at":"2022-09-02T22:32:10.078Z","dependency_job_id":null,"html_url":"https://github.com/dantecatalfamo/ox-ssh","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dantecatalfamo%2Fox-ssh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dantecatalfamo%2Fox-ssh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dantecatalfamo%2Fox-ssh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dantecatalfamo%2Fox-ssh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dantecatalfamo","download_url":"https://codeload.github.com/dantecatalfamo/ox-ssh/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254131996,"owners_count":22020060,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["configuration","elisp","emacs","exporter","org-mode","ssh"],"created_at":"2024-11-19T04:08:35.378Z","updated_at":"2025-05-14T11:34:12.354Z","avatar_url":"https://github.com/dantecatalfamo.png","language":"Emacs Lisp","funding_links":[],"categories":[],"sub_categories":[],"readme":"* ox-ssh\n  [[https://melpa.org/#/ox-ssh][file:https://melpa.org/packages/ox-ssh-badge.svg]]\n\n  SSH configuration export for org-mode.\n** Commands\n   =ox-ssh= provides the following interactive commands:\n   - =org-ssh-export-as-config= Exports to a temporary buffer\n   - =org-ssh-export-to-config= Exports to file with the extension\n     =.ssh_config=\n   - =org-ssh-export-overwrite-user-config= Exports file, overwrites\n     user's =~/.ssh/config=. Prompts user with yes/no option before\n     doing so.\n\n   These commands are also exposed through the =org-export-dispatch= menu.\n** Variables\n   - =org-ssh-header= An optional header that will be added to the\n     beginning of the export. This can be used for comments or rules\n     that apply to all hosts.\n   - =org-ssh-export-suffix= The suffix that will be added to exported file.\n    Defaults to ~.ssh_config~.\n** Usage\n   Export headings with specific properties as entries in an SSH\n   configuration file. These properties correspond with the client\n   configuration options for SSH.\n\n   For a heading to be exported as a host, it must have either a\n   =HOSTNAME= or =IP= property. If an entry has both, =IP= takes\n   precedence. The host alias will be equal to the org title\n   or be overriden by the property =HOST_OVERRIDE=, if it is defined.\n\n   It can also contain one or more\n   optional parameters, listed in the table below.\n\n   | [[https://man.openbsd.org/man5/ssh_config.5][ssh_config(5)]] option             | ox-ssh property                            |\n   |----------------------------------+--------------------------------------------|\n   | [[https://man.openbsd.org/man5/ssh_config.5#AddKeysToAgent][AddKeysToAgent]]                   | =SSH_ADD_KEYS_TO_AGENT=                    |\n   | [[https://man.openbsd.org/man5/ssh_config.5#AddressFamily][AddressFamily]]                    | =SSH_ADDRESS_FAMILY=                       |\n   | [[https://man.openbsd.org/man5/ssh_config.5#BatchMode][BatchMode]]                        | =SSH_BATCH_MODE=                           |\n   | [[https://man.openbsd.org/man5/ssh_config.5#BindInterface][BindInterface]]                    | =SSH_BIND_INTERFACE=                       |\n   | [[https://man.openbsd.org/man5/ssh_config.5#CanonicalDomains][CanonicalDomains]]                 | =SSH_CANONICAL_DOMAINS=                    |\n   | [[https://man.openbsd.org/man5/ssh_config.5#CanonicalizeFallbackLocal][CanonicalizeFallbackLocal]]        | =SSH_CANONICALIZE_FALLBACK_LOCAL=          |\n   | [[https://man.openbsd.org/man5/ssh_config.5#CanonicalizeHostname][CanonicalizeHostname]]             | =SSH_CANONICALIZE_HOSTNAME=                |\n   | [[https://man.openbsd.org/man5/ssh_config.5#CanonicalizeMaxDots][CanonicalizeMaxDots]]              | =SSH_CANONICALIZE_MAX_DOTS=                |\n   | [[https://man.openbsd.org/man5/ssh_config.5#CanonicalizePermittedCNAMEs][CanonicalizePermittedCNAMEs]]      | =SSH_CANONICALIZE_PERMITTED_CNAMES=        |\n   | [[https://man.openbsd.org/man5/ssh_config.5#CASignatureAlgorithms][CASignatureAlgorithms]]            | =SSH_CA_SIGNATURE_ALGORITHMS=              |\n   | [[https://man.openbsd.org/man5/ssh_config.5#CertificateFile][CertificateFile]]                  | =SSH_CERTIFICATE_FILE=                     |\n   | [[https://man.openbsd.org/man5/ssh_config.5#ChallengeResponseAuthentication][ChallengeResponseAuthentication]]  | =SSH_CHALLENGE_RESPONSE_AUTHENTICATION=    |\n   | [[https://man.openbsd.org/man5/ssh_config.5#CheckHostIP][CheckHostIP]]                      | =SSH_CHECK_HOST_IP=                        |\n   | [[https://man.openbsd.org/man5/ssh_config.5#Ciphers][Ciphers]]                          | =SSH_CIPHERS=                              |\n   | [[https://man.openbsd.org/man5/ssh_config.5#ClearAllForwardings][ClearAllForwardings]]              | =SSH_CLEAR_ALL_FORWARDINGS=                |\n   | [[https://man.openbsd.org/man5/ssh_config.5#Compression][Compression]]                      | =SSH_COMPRESSION=                          |\n   | [[https://man.openbsd.org/man5/ssh_config.5#ConnectionAttempts][ConnectionAttempts]]               | =SSH_CONNECTION_ATTEMPTS=                  |\n   | [[https://man.openbsd.org/man5/ssh_config.5#ConnectTimeout][ConnectTimeout]]                   | =SSH_CONNECT_TIMEOUT=                      |\n   | [[https://man.openbsd.org/man5/ssh_config.5#ControlMaster][ControlMaster]]                    | =SSH_CONTROL_MASTER=                       |\n   | [[https://man.openbsd.org/man5/ssh_config.5#ControlPath][ControlPath]]                      | =SSH_CONTROL_PATH=                         |\n   | [[https://man.openbsd.org/man5/ssh_config.5#ControlPersist][ControlPersist]]                   | =SSH_CONTROL_PERSIST=                      |\n   | [[https://man.openbsd.org/man5/ssh_config.5#DynamicForward][DynamicForward]]                   | =SSH_DYNAMIC_FORWARD=                      |\n   | [[https://man.openbsd.org/man5/ssh_config.5#EnableSSHKeysign][EnableSSHKeysign]]                 | =SSH_ENABLE_SSH_KEYSIGN=                   |\n   | [[https://man.openbsd.org/man5/ssh_config.5#EscapeChar][EscapeChar]]                       | =SSH_ESCAPE_CHAR=                          |\n   | [[https://man.openbsd.org/man5/ssh_config.5#ExitOnForwardFailure][ExitOnForwardFailure]]             | =SSH_EXIT_ON_FORWARD_FAILURE=              |\n   | [[https://man.openbsd.org/man5/ssh_config.5#FingerprintHash][FingerprintHash]]                  | =SSH_FINGERPRINT_HASH=                     |\n   | [[https://man.openbsd.org/man5/ssh_config.5#ForwardAgent][ForwardAgent]]                     | =SSH_FORWARD_AGENT=                        |\n   | [[https://man.openbsd.org/man5/ssh_config.5#ForwardX11][ForwardX11]]                       | =SSH_FORWARD_X11=                          |\n   | [[https://man.openbsd.org/man5/ssh_config.5#ForwardX11Timeout][ForwardX11Timeout]]                | =SSH_FORWARD_X11_TIMEOUT=                  |\n   | [[https://man.openbsd.org/man5/ssh_config.5#ForwardX11Trusted][ForwardX11Trusted]]                | =SSH_FORWARD_X11_TRUSTED=                  |\n   | [[https://man.openbsd.org/man5/ssh_config.5#GatewayPorts][GatewayPorts]]                     | =SSH_GATEWAY_PORTS=                        |\n   | [[https://man.openbsd.org/man5/ssh_config.5#GlobalKnownHostsFile][GlobalKnownHostsFile]]             | =SSH_GLOBAL_KNOWN_HOSTS_FILE=              |\n   | [[https://man.openbsd.org/man5/ssh_config.5#GSSAPIAuthentication][GSSAPIAuthentication]]             | =SSH_GSSAPI_AUTHENTICATION=                |\n   | [[https://man.openbsd.org/man5/ssh_config.5#GSSAPIDelegateCredentials][GSSAPIDelegateCredentials]]        | =SSH_GSSAPI_DELEGATE_CREDENTIALS=          |\n   | [[https://man.openbsd.org/man5/ssh_config.5#HashKnownHosts][HashKnownHosts]]                   | =SSH_HASH_KNOWN_HOSTS=                     |\n   | [[https://man.openbsd.org/man5/ssh_config.5#HostBasedAuthentication][HostBasedAuthentication]]          | =SSH_HOST_BASED_AUTHENTICATION=            |\n   | [[https://man.openbsd.org/man5/ssh_config.5#HostBasedKeyTypes][HostBasedKeyTypes]]                | =SSH_HOST_BASED_KEY_TYPES=                 |\n   | [[https://man.openbsd.org/man5/ssh_config.5#HostKeyAlgorithms][HostKeyAlgorithms]]                | =SSH_HOST_KEY_ALGORITHMS=                  |\n   | [[https://man.openbsd.org/man5/ssh_config.5#HostKeyAlias][HostKeyAlias]]                     | =SSH_HOST_KEY_ALIAS=                       |\n   | [[https://man.openbsd.org/man5/ssh_config.5#Hostname][Hostname]]                         | =SSH_HOSTNAME=                             |\n   | [[https://man.openbsd.org/man5/ssh_config.5#IdentitiesOnly][IdentitiesOnly]]                   | =SSH_IDENTITIES_ONLY=                      |\n   | [[https://man.openbsd.org/man5/ssh_config.5#IdentityAgent][IdentityAgent]]                    | =SSH_IDENTITY_AGENT=                       |\n   | [[https://man.openbsd.org/man5/ssh_config.5#IdentityFile][IdentityFile]]                     | =SSH_IDENTITY_FILE=                        |\n   | [[https://man.openbsd.org/man5/ssh_config.5#IgnoreUnknown][IgnoreUnknown]]                    | =SSH_IGNORE_UNKNOWN=                       |\n   | [[https://man.openbsd.org/man5/ssh_config.5#Include][Include]]                          | =SSH_INCLUDE=                              |\n   | [[https://man.openbsd.org/man5/ssh_config.5#IPQoS][IPQoS]]                            | =SSH_IP_QOS=                               |\n   | [[https://man.openbsd.org/man5/ssh_config.5#KbdInteractiveAuthentication][KbdInteractiveAuthentication]]     | =SSH_KBD_INTERACTIVE_AUTHENTICATION=       |\n   | [[https://man.openbsd.org/man5/ssh_config.5#KbdInteractiveDevices][KbdInteractiveDevices]]            | =SSH_KBD_INTERACTIVE_DEVICES=              |\n   | [[https://man.openbsd.org/man5/ssh_config.5#KexAlgorithms][KexAlgorithms]]                    | =SSH_KEX_ALGORITHMS=                       |\n   | [[https://man.openbsd.org/man5/ssh_config.5#LocalCommand][LocalCommand]]                     | =SSH_LOCAL_COMMAND=                        |\n   | [[https://man.openbsd.org/man5/ssh_config.5#LocalForward][LocalForward]]                     | =SSH_LOCAL_FORWARD=                        |\n   | [[https://man.openbsd.org/man5/ssh_config.5#LogLevel][LogLevel]]                         | =SSH_LOG_LEVEL=                            |\n   | [[https://man.openbsd.org/man5/ssh_config.5#MACs][MACs]]                             | =SSH_MACS=                                 |\n   | [[https://man.openbsd.org/man5/ssh_config.5#NoHostAuthenticationForLocalhost][NoHostAuthenticationForLocalhost]] | =SSH_NO_HOST_AUTHENTICATION_FOR_LOCALHOST= |\n   | [[https://man.openbsd.org/man5/ssh_config.5#NumberOfPasswordPrompts][NumberOfPasswordPrompts]]          | =SSH_NUMBER_OF_PASSWORD_PROMPTS=           |\n   | [[https://man.openbsd.org/man5/ssh_config.5#PasswordAuthentication][PasswordAuthentication]]           | =SSH_PASSWORD_AUTHENTICATION=              |\n   | [[https://man.openbsd.org/man5/ssh_config.5#PermitLocalCommand][PermitLocalCommand]]               | =SSH_PERMIT_LOCAL_COMMAND=                 |\n   | [[https://man.openbsd.org/man5/ssh_config.5#PKCS11Provider][PKCS11Provider]]                   | =SSH_PKCS11_PROVIDER=                      |\n   | [[https://man.openbsd.org/man5/ssh_config.5#Port][Port]]                             | =SSH_PORT=                                 |\n   | [[https://man.openbsd.org/man5/ssh_config.5#PreferredAuthentications][PreferredAuthentications]]         | =SSH_PREFERRED_AUTHENTICATIONS=            |\n   | [[https://man.openbsd.org/man5/ssh_config.5#ProxyCommand][ProxyCommand]]                     | =SSH_PROXY_COMMAND=                        |\n   | [[https://man.openbsd.org/man5/ssh_config.5#ProxyJump][ProxyJump]]                        | =SSH_PROXY_JUMP=                           |\n   | [[https://man.openbsd.org/man5/ssh_config.5#ProxyUseFdPass][ProxyUseFdPass]]                   | =SSH_PROXY_USE_FD_PASS=                    |\n   | [[https://man.openbsd.org/man5/ssh_config.5#PubkeyAcceptedKeyTypes][PubkeyAcceptedKeyTypes]]           | =SSH_PUBKEY_ACCEPTED_KEY_TYPES=            |\n   | [[https://man.openbsd.org/man5/ssh_config.5#PubkeyAuthentication][PubkeyAuthentication]]             | =SSH_PUBKEY_AUTHENTICATION=                |\n   | [[https://man.openbsd.org/man5/ssh_config.5#RekeyLimit][RekeyLimit]]                       | =SSH_REKEY_LIMIT=                          |\n   | [[https://man.openbsd.org/man5/ssh_config.5#RemoteCommand][RemoteCommand]]                    | =SSH_REMOTE_COMMAND=                       |\n   | [[https://man.openbsd.org/man5/ssh_config.5#RemoteForward][RemoteForward]]                    | =SSH_REMOTE_FORWARD=                       |\n   | [[https://man.openbsd.org/man5/ssh_config.5#RequestTTY][RequestTTY]]                       | =SSH_REQUEST_TTY=                          |\n   | [[https://man.openbsd.org/man5/ssh_config.5#RevokedHostKeys][RevokedHostKeys]]                  | =SSH_REVOKED_HOST_KEYS=                    |\n   | [[https://man.openbsd.org/man5/ssh_config.5#SecurityKeyProvider][SecurityKeyProvider]]              | =SSH_SECURITY_KEY_PROVIDER=                |\n   | [[https://man.openbsd.org/man5/ssh_config.5#SendEnv][SendEnv]]                          | =SSH_SEND_ENV=                             |\n   | [[https://man.openbsd.org/man5/ssh_config.5#ServerAliveMaxCount][ServerAliveMaxCount]]              | =SSH_SERVER_ALIVE_MAX_COUNT=               |\n   | [[https://man.openbsd.org/man5/ssh_config.5#ServerAliveInterval][ServerAliveInterval]]              | =SSH_SERVER_ALIVE_INTERVAL=                |\n   | [[https://man.openbsd.org/man5/ssh_config.5#SetEnv][SetEnv]]                           | =SSH_SET_ENV=                              |\n   | [[https://man.openbsd.org/man5/ssh_config.5#StreamLocalBindMask][StreamLocalBindMask]]              | =SSH_STREAM_LOCAL_BIND_MASK=               |\n   | [[https://man.openbsd.org/man5/ssh_config.5#StreamLocalBindUnlink][StreamLocalBindUnlink]]            | =SSH_STREAM_LOCAL_BIND_UNLINK=             |\n   | [[https://man.openbsd.org/man5/ssh_config.5#StrictHostKeyChecking][StrictHostKeyChecking]]            | =SSH_STRICT_HOST_KEY_CHECKING=             |\n   | [[https://man.openbsd.org/man5/ssh_config.5#SyslogFacility][SyslogFacility]]                   | =SSH_SYSLOG_FACILITY=                      |\n   | [[https://man.openbsd.org/man5/ssh_config.5#TCPKeepAlive][TCPKeepAlive]]                     | =SSH_TCP_KEEP_ALIVE=                       |\n   | [[https://man.openbsd.org/man5/ssh_config.5#Tunnel][Tunnel]]                           | =SSH_TUNNEL=                               |\n   | [[https://man.openbsd.org/man5/ssh_config.5#TunnelDevice][TunnelDevice]]                     | =SSH_TUNNEL_DEVICE=                        |\n   | [[https://man.openbsd.org/man5/ssh_config.5#UpdateHostKeys][UpdateHostKeys]]                   | =SSH_UPDATE_HOST_KEYS=                     |\n   | [[https://man.openbsd.org/man5/ssh_config.5#User][User]]                             | =SSH_USER=                                 |\n   | [[https://man.openbsd.org/man5/ssh_config.5#UserKnownHostsFile][UserKnownHostsFile]]               | =SSH_USER_KNOWN_HOSTS_FILE=                |\n   | [[https://man.openbsd.org/man5/ssh_config.5#VerifyHostKeyDNS][VerifyHostKeyDNS]]                 | =SSH_VERIFY_HOST_KEY_DNS=                  |\n   | [[https://man.openbsd.org/man5/ssh_config.5#VisualHostKey][VisualHostKey]]                    | =SSH_VISUAL_HOST_KEY=                      |\n   | [[https://man.openbsd.org/man5/ssh_config.5#XAuthLocation][XAuthLocation]]                    | =SSH_X_AUTH_LOCATION=                      |\n** Example\n   [[file:ox-ssh-example.jpg]]\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdantecatalfamo%2Fox-ssh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdantecatalfamo%2Fox-ssh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdantecatalfamo%2Fox-ssh/lists"}