Give Eyk access to your Magento MySQL database over an SSH tunnel when IP whitelisting is not possible.
By default, Eyk connects to your Magento MySQL database server through IP whitelisting. If whitelisting is not possible, Eyk connects over an SSH tunnel instead. This guide explains how to give Eyk that SSH access.
Follow this guide only if IP whitelisting is not an option for you. If it is, follow the normal steps to connect Eyk to Magento.
Eyk authenticates with a public SSH key. You add this key to a user account on the server that runs the database. There are two ways to add it:
Option A: through the admin control panel of your Magento hosting provider.
Option B: directly on the server. Use this option if you have no hosting provider, or your provider has no SSH key management.
If your hosting provider offers SSH key management in its admin panel, you must use Option A. Keys added directly on the server are periodically overwritten.
First, collect the credentials below. You need them for both options.
Name
Description
SSH address
The IP address or hostname of the server running the MySQL database
SSH port
The port on the server that is open for SSH connections, for example 22
SSH username
The username of a user account on the server that Eyk connects as over SSH. Option A or B below configures access for this user
Store view IDs
Optional. The store view IDs to collect data for. Leave empty to collect data for all store views.
When Eyk connects over SSH, set the “Database host address” and “Database host port” to the local address and port of the database.
Option A: Use the admin panel of your hosting provider
If your Magento hosting provider allows SSH key management through its admin control panel:
Log in to the admin control panel of your hosting provider.
Go to the SSH key management section.
Paste the public SSH key below into the key field. Optionally name the key “Eyk”. Save the changes.
Your MySQL database server is now configured so that only Eyk can connect to it, over an encrypted connection.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Eyk","colors":{"primary":"#147D71","light":"#2FA893","dark":"#147D71"},"logo":{"light":"https://mintcdn.com/eyk-data/003HpFVjXCLV8bE-/logo/eyk-light.svg?fit=max\u0026auto=format\u0026n=003HpFVjXCLV8bE-\u0026q=85\u0026s=dcf643501d3e6000b75ec54d209b0dc0","dark":"https://mintcdn.com/eyk-data/003HpFVjXCLV8bE-/logo/eyk-dark.png?fit=max\u0026auto=format\u0026n=003HpFVjXCLV8bE-\u0026q=85\u0026s=793ab5465af91ee30f5abbf4438ca938"},"favicon":"https://mintcdn.com/eyk-data/003HpFVjXCLV8bE-/favicon.png?fit=max\u0026auto=format\u0026n=003HpFVjXCLV8bE-\u0026q=85\u0026s=119810708c771a77d4ca0ed2a5772a7e","navbar":{"links":[{"icon":"signal","href":"https://status.eykdata.com","label":"Status"},{"href":"https://app.eykdata.com","label":"Login"}],"primary":{"type":"button","label":"Start free trial","href":"https://trial.eykdata.com"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/eyk-data"},"links":[{"header":"Resources","items":[{"label":"Status","href":"https://status.eykdata.com"},{"label":"Login","href":"https://app.eykdata.com"}]}]},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"eyk-data","hasAudioNarration":false,"actualSubdomain":"eyk-data","customDomains":["docs.eykdata.com"],"gitSource":{"type":"github","owner":"eyk-data","repo":"eyk-docs","deployBranch":"main","contentDirectory":"mintlify","isPrivate":true,"mountPath":"","label":""},"feedback":{"agentFeedback":true},"entitlements":{},"buildId":"6af8181425f0e2ea6db55adb","clientVersion":"0.0.4277","searchFilterCounts":[{"language":"default","tag":"Data sources","count":18},{"language":"default","tag":"Ad platforms","count":7},{"language":"default","tag":"Destinations","count":6},{"language":"default","tag":"Server-side tracking","count":5},{"language":"default","tag":"Store platforms","count":4},{"language":"default","tag":"Custom data","count":3},{"language":"default","tag":"Agentic","count":2},{"language":"default","tag":"How-to guides","count":2},{"language":"default","tag":"Email platforms","count":2},{"language":"default","tag":"Fulfillment and returns","count":2}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"guides/magento-ssh-access","slug":"/guides/magento-ssh-access","pageMetadata":{"title":"Magento SSH access","description":"Give Eyk access to your Magento MySQL database over an SSH tunnel when IP whitelisting is not possible.","audience":"developer","href":"/guides/magento-ssh-access"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Give Eyk access to your Magento MySQL database over an SSH tunnel when IP whitelisting is not possible.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Info,Note,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`By default, Eyk connects to your Magento MySQL database server through IP whitelisting. If whitelisting is not possible, Eyk connects over an SSH tunnel instead. This guide explains how to give Eyk that SSH access.`}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Follow this guide only if IP whitelisting is not an option for you. If it is, follow the normal steps to connect Eyk to Magento.`})}),`\n`,_jsx(_components.p,{children:`Eyk authenticates with a public SSH key. You add this key to a user account on the server that runs the database. There are two ways to add it:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Option A: through the admin control panel of your Magento hosting provider.`}),`\n`,_jsx(_components.li,{children:`Option B: directly on the server. Use this option if you have no hosting provider, or your provider has no SSH key management.`}),`\n`]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`If your hosting provider offers SSH key management in its admin panel, you must use Option A. Keys added directly on the server are periodically overwritten.`})}),`\n`,_jsx(_components.p,{children:`First, collect the credentials below. You need them for both options.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Name`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`SSH address`}),_jsx(_components.td,{children:`The IP address or hostname of the server running the MySQL database`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`SSH port`}),_jsx(_components.td,{children:`The port on the server that is open for SSH connections, for example 22`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`SSH username`}),_jsx(_components.td,{children:`The username of a user account on the server that Eyk connects as over SSH. Option A or B below configures access for this user`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Store view IDs`}),_jsx(_components.td,{children:`Optional. The store view IDs to collect data for. Leave empty to collect data for all store views.`})]})]})]}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[`When Eyk connects over SSH, set the “Database host address” and “Database host port” to the `,_jsx(_components.strong,{children:`local`}),` address and port of the database.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`option-a-use-the-admin-panel-of-your-hosting-provider`,children:`Option A: Use the admin panel of your hosting provider`}),`\n`,_jsx(_components.p,{children:`If your Magento hosting provider allows SSH key management through its admin control panel:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Log in to the admin control panel of your hosting provider.`}),`\n`,_jsx(_components.li,{children:`Go to the SSH key management section.`}),`\n`,_jsx(_components.li,{children:`Paste the public SSH key below into the key field. Optionally name the key “Eyk”. Save the changes.`}),`\n`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`AAAAB3NzaC1yc2EAAAADAQABAAABgQCXqGAIgzLG8qbkD/PavKfNFC3spzI2aYCRexJt8IM/gOwOrnYANrMIB+ZhN1qhJyWqhnqweruIHcQigIAHJ+V4IDmGFhv601YHjMpQob8PnrVq33JNGsIJ2rYnkAOdu3zBKHxUT855WM/4/yd9ZGo0koGK8AA8T8T/Cj1J3JZ2ZPS09kxytLLGBj2Pe+fw5+fA0rUPglQMuCJ6KdgBtdUA0SqVbbitgfLTO5w4lsiuH+KqFjmiy1rkmxTAqIKHIFY4pcDEEi8X8mIAE8eFs6UOZV2kJzaaOf6PeX5b+qelXddqbfHkjI3w/w1V944XIJA9SFwnGpkrJVtgc8Nmcu4TQEKug4Q/zuCG94/uh5NsEubLlYbrMLvs47jBJ2MoIPI+lOc8k23nZbwSxNQ41FpcU4xxnPZSIwewr/usxCziLlT3CZ/EuN9jrikbHMe0AQLcdmXr7NZmiGTHs2E7hX6zrHpHaXs2+FJwJT//ttP5w+nv1KTEHgqKvPCYrYpe3N0= support@eykdata.com`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`option-b-add-the-key-directly-on-the-server`,children:`Option B: Add the key directly on the server`}),`\n`,_jsx(_components.p,{children:`If your hosting provider has no SSH key management in its admin panel, or you have no hosting provider, add the SSH key directly on the server.`}),`\n`,_jsx(Note,{children:_jsx(_components.p,{children:`These commands are for Linux servers. Ask your Eyk contact person if you need help with this step.`})}),`\n`,_jsx(Heading,{level:`3`,id:`go-to-the-home-directory-of-the-user`,children:`Go to the home directory of the user`}),`\n`,_jsxs(_components.p,{children:[`On the server running the MySQL database, go to the home directory of the user that matches the `,_jsx(_components.strong,{children:`SSH Username`}),`:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`cd`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /home/{{SSH`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` Username}}`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`make-sure-the-ssh-directory-exists`,children:`Make sure the .ssh directory exists`}),`\n`,_jsx(_components.p,{children:`Run this command from the home directory of the SSH user:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`mkdir`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -p`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` .ssh`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`add-the-eyk-public-ssh-key-to-authorized_keys`,children:`Add the Eyk public SSH key to authorized_keys`}),`\n`,_jsx(_components.p,{children:`Run this command from the home directory of the SSH user:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`echo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCXqGAIgzLG8qbkD/PavKfNFC3spzI2aYCRexJt8IM/gOwOrnYANrMIB+ZhN1qhJyWqhnqweruIHcQigIAHJ+V4IDmGFhv601YHjMpQob8PnrVq33JNGsIJ2rYnkAOdu3zBKHxUT855WM/4/yd9ZGo0koGK8AA8T8T/Cj1J3JZ2ZPS09kxytLLGBj2Pe+fw5+fA0rUPglQMuCJ6KdgBtdUA0SqVbbitgfLTO5w4lsiuH+KqFjmiy1rkmxTAqIKHIFY4pcDEEi8X8mIAE8eFs6UOZV2kJzaaOf6PeX5b+qelXddqbfHkjI3w/w1V944XIJA9SFwnGpkrJVtgc8Nmcu4TQEKug4Q/zuCG94/uh5NsEubLlYbrMLvs47jBJ2MoIPI+lOc8k23nZbwSxNQ41FpcU4xxnPZSIwewr/usxCziLlT3CZ/EuN9jrikbHMe0AQLcdmXr7NZmiGTHs2E7hX6zrHpHaXs2+FJwJT//ttP5w+nv1KTEHgqKvPCYrYpe3N0= support@eykdata.com\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` >>`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` .ssh/authorized_keys`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Your MySQL database server is now configured so that only Eyk can connect to it, over an encrypted connection.`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Magento SSH access","description":"Give Eyk access to your Magento MySQL database over an SSH tunnel when IP whitelisting is not possible.","audience":"developer","href":"/guides/magento-ssh-access"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Option A: Use the admin panel of your hosting provider","slug":"option-a-use-the-admin-panel-of-your-hosting-provider","depth":2,"children":[]},{"title":"Option B: Add the key directly on the server","slug":"option-b-add-the-key-directly-on-the-server","depth":2,"children":[{"title":"Go to the home directory of the user","slug":"go-to-the-home-directory-of-the-user","depth":3,"children":[]},{"title":"Make sure the .ssh directory exists","slug":"make-sure-the-ssh-directory-exists","depth":3,"children":[]},{"title":"Add the Eyk public SSH key to authorized_keys","slug":"add-the-eyk-public-ssh-key-to-authorized_keys","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":[],"subdomain":"eyk-data","siteName":"Eyk","title":"Magento SSH access - Eyk","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-14T07:49:43.311Z","originalFileLocation":"guides/magento-ssh-access.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Give Eyk access to your Magento MySQL database over an SSH tunnel when IP whitelisting is not possible.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Eyk\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/eyk-data/Pv1eIUmJHPiJbO0N/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/eyk-data/Pv1eIUmJHPiJbO0N/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/eyk-data/Pv1eIUmJHPiJbO0N/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/eyk-data/Pv1eIUmJHPiJbO0N/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/eyk-data/Pv1eIUmJHPiJbO0N/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/eyk-data/Pv1eIUmJHPiJbO0N/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/eyk-data/Pv1eIUmJHPiJbO0N/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/eyk-data/Pv1eIUmJHPiJbO0N/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/eyk-data/Pv1eIUmJHPiJbO0N/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Magento SSH access - Eyk\">\u003cmeta data-mint-head property=\"og:description\" content=\"Give Eyk access to your Magento MySQL database over an SSH tunnel when IP whitelisting is not possible.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Eyk\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.eykdata.com/guides/magento-ssh-access\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://eyk-data.mintlify.site/_mintlify/api/og/v2?division=How-to+guides\u0026amp;title=Magento+SSH+access\u0026amp;description=Give+Eyk+access+to+your+Magento+MySQL+database+over+an+SSH+tunnel+when+IP+whitelisting+is+not+possible.\u0026amp;theme=5455c2edd4e1beccef0880f8\u0026amp;signature=06bbbfb7d6b0e7c60183e551c03b3903985b3732688d7b66b720eb301818b284\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Magento SSH access - Eyk\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Give Eyk access to your Magento MySQL database over an SSH tunnel when IP whitelisting is not possible.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://eyk-data.mintlify.site/_mintlify/api/og/v2?division=How-to+guides\u0026amp;title=Magento+SSH+access\u0026amp;description=Give+Eyk+access+to+your+Magento+MySQL+database+over+an+SSH+tunnel+when+IP+whitelisting+is+not+possible.\u0026amp;theme=5455c2edd4e1beccef0880f8\u0026amp;signature=06bbbfb7d6b0e7c60183e551c03b3903985b3732688d7b66b720eb301818b284\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/eyk-data/Pv1eIUmJHPiJbO0N/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Eyk\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#147D71\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.eykdata.com/guides/magento-ssh-access\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/guides/magento-ssh-access.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.eykdata.com/#organization\",\"name\":\"Eyk\",\"url\":\"https://docs.eykdata.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/eyk-data/003HpFVjXCLV8bE-/logo/eyk-light.svg?fit=max\u0026auto=format\u0026n=003HpFVjXCLV8bE-\u0026q=85\u0026s=dcf643501d3e6000b75ec54d209b0dc0\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.eykdata.com#website\",\"name\":\"Eyk\",\"url\":\"https://docs.eykdata.com\",\"publisher\":{\"@id\":\"https://docs.eykdata.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.eykdata.com/guides/magento-ssh-access#webpage\",\"url\":\"https://docs.eykdata.com/guides/magento-ssh-access\",\"name\":\"Magento SSH access\",\"description\":\"Give Eyk access to your Magento MySQL database over an SSH tunnel when IP whitelisting is not possible.\",\"dateModified\":\"2026-11-14T07:49:43.311Z\",\"isPartOf\":{\"@id\":\"https://docs.eykdata.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.eykdata.com/guides/magento-ssh-access#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.eykdata.com/guides/magento-ssh-access#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Eyk\",\"item\":\"https://docs.eykdata.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Magento SSH access\",\"item\":\"https://docs.eykdata.com/guides/magento-ssh-access\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.eykdata.com/guides/magento-ssh-access#article\",\"headline\":\"Magento SSH access\",\"name\":\"Magento SSH access\",\"description\":\"Give Eyk access to your Magento MySQL database over an SSH tunnel when IP whitelisting is not possible.\",\"url\":\"https://docs.eykdata.com/guides/magento-ssh-access\",\"mainEntityOfPage\":{\"@id\":\"https://docs.eykdata.com/guides/magento-ssh-access#webpage\"},\"dateModified\":\"2026-11-14T07:49:43.311Z\",\"publisher\":{\"@id\":\"https://docs.eykdata.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.eykdata.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Eyk\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Eyk\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/guides/magento-ssh-access.md","siteName":"Eyk","nav":{"global":null,"pages":[{"title":"Eyk Docs","href":"/index"},{"group":"Server-side tracking","pages":[{"title":"Shopify","href":"/tracking/shopify"},{"title":"Magento 2","href":"/tracking/magento-2"},{"title":"Firmhouse","href":"/tracking/firmhouse"},{"title":"Event specification","href":"/tracking/event-spec"},{"title":"UTM parameters","href":"/tracking/utm-parameter-guide"}]},{"group":"Destinations","pages":[{"title":"Google Ads","href":"/destinations/google-ads"},{"title":"Klaviyo","href":"/destinations/klaviyo"},{"title":"Meta Ads","href":"/destinations/meta-ads"},{"title":"OpenAI Ads","href":"/destinations/openai"},{"title":"Pinterest","href":"/destinations/pinterest"},{"title":"TikTok Ads","href":"/destinations/tiktok-ads"}]},{"group":"Data sources","pages":[{"group":"Store platforms","pages":[{"title":"Shopify","href":"/sources/shopify"},{"title":"WooCommerce","href":"/sources/woocommerce"},{"title":"Magento 2","href":"/sources/magento-2"},{"title":"Firmhouse","href":"/sources/firmhouse"}]},{"group":"Ad platforms","pages":[{"title":"Facebook Ads","href":"/sources/facebook-ads"},{"title":"Google Ads","href":"/sources/google-ads"},{"title":"LinkedIn","href":"/sources/linkedin"},{"title":"Microsoft Advertising","href":"/sources/microsoft-advertising"},{"title":"OpenAI Ads","href":"/sources/openai"},{"title":"Pinterest","href":"/sources/pinterest"},{"title":"TikTok Ads","href":"/sources/tiktok-ads"}]},{"group":"Email platforms","pages":[{"title":"Copernica","href":"/sources/copernica"},{"title":"Klaviyo","href":"/sources/klaviyo"}]},{"group":"Fulfillment and returns","pages":[{"title":"Monta","href":"/sources/monta"},{"title":"Returnista","href":"/sources/returnista"}]},{"group":"Custom data","pages":[{"title":"Overview","href":"/sources/custom-data"},{"title":"Data API","href":"/sources/custom-data/data-api"},{"title":"BigQuery hook tables","href":"/sources/custom-data/bigquery-hook-tables"}]}]},{"group":"Agentic","pages":[{"title":"Connect an AI tool to Eyk with MCP","sidebarTitle":"MCP","href":"/agentic/mcp"},{"title":"Data apps","description":"Build a web app on Eyk data: load the SDK, let people sign in with Eyk, and run queries.","href":"/eyk-data-apps-setup"}]},{"group":"How-to guides","pages":[{"title":"Magento SSH access","href":"/guides/magento-ssh-access"},{"title":"Attribution models","description":"Learn what attribution models are and how each one, from first touch to U-shaped, credits your marketing activity for a purchase.","href":"/guides/attribution-models"}]}]},"basePath":"","title":"Magento SSH access - Eyk","deploymentId":"dpl_BzgRxZmUbhHRoPLkBx1DiVRSyQhV","buildId":"dpl_BzgRxZmUbhHRoPLkBx1DiVRSyQhV","dynamics":[],"chunks":[]}