PageSourceSearch

https://www.cloudpanel.io/docs/v2/assets/js/66376513.a6657e0b.js

js cloudpanel.io collected 2026-10-02 02:51:40 UTC 14,917 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkcloudpanel_ce_docusaurus_clp=self.webpackChunkcloudpanel_ce_docusaurus_clp||[]).push([[6442],{3905:(e,t,n)=>{n.d(t,{kt:()=>m});var r=n(7294);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function i(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var p=r.createContext({}),l=function(e){var t=r.useContext(p),n=t;return e&&(n="function"==typeof e?e(t):s(s({},t),e)),n},d="mdxType",c={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},g=r.forwardRef((function(e,t){var n=e.components,a=e.mdxType,o=e.originalType,p=e.parentName,d=i(e,["components","mdxType","originalType","parentName"]),g=l(n),m=a,u=g["".concat(p,".").concat(m)]||g[m]||c[m]||o;return n?r.createElement(u,s(s({ref:t},d),{},{components:n})):r.createElement(u,s({ref:t},d))}));function m(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=n.length,s=new Array(o);s[0]=g;var i={};for(var p in t)hasOwnProperty.call(t,p)&&(i[p]=t[p]);i.originalType=e,i[d]="string"==typeof e?e:a,s[1]=i;for(var l=2;l<o;l++)s[l]=n[l];return r.createElement.apply(null,s)}return r.createElement.apply(null,n)}g.displayName="MDXCreateElement"},3919:(e,t,n)=>{function r(e){return!0===/^(\w*:|\/\/)/.test(e)}function a(e){return void 0!==e&&!r(e)}n.d(t,{Z:()=>a,b:()=>r})},4996:(e,t,n)=>{n.d(t,{C:()=>o,Z:()=>s});var r=n(2263),a=n(3919);function o(){const{siteConfig:{baseUrl:e="/",url:t}={}}=(0,r.Z)();return{withBaseUrl:(n,r)=>function(e,t,n,r){let{forcePrependBaseUrl:o=!1,absolute:s=!1}=void 0===r?{}:r;if(!n)return n;if(n.startsWith("#"))return n;if((0,a.b)(n))return n;if(o)return t+n;const i=n.startsWith(t)?n:t+n.replace(/^\//,"");return s?e+i:i}(t,e,n,r)}}function s(e,t){void 0===t&&(t={});const{withBaseUrl:n}=o();return n(e,t)}},2967:(e,t,n)=>{n.r(t),n.d(t,{contentTitle:()=>i,default:()=>g,frontMatter:()=>s,metadata:()=>p,toc:()=>l});var r=n(7462),a=(n(7294),n(3905)),o=n(4996);const s={id:"ssh-ftp",title:"SSH/FTP",sidebar_label:"SSH/FTP"},i=void 0,p={unversionedId:"frontend-area/ssh-ftp",id:"frontend-area/ssh-ftp",isDocsHomePage:!1,title:"SSH/FTP",description:"SSH/FTP",source:"@site/docs/frontend-area/ssh-ftp.md",sourceDirName:"frontend-area",slug:"/frontend-area/ssh-ftp",permalink:"/docs/v2/frontend-area/ssh-ftp",editUrl:"https://github.com/cloudpanel-io/docs/tree/master/cloudpanel-ce/docs/frontend-area/ssh-ftp.md",version:"current",frontMatter:{id:"ssh-ftp",title:"SSH/FTP",sidebar_label:"SSH/FTP"},sidebar:"sidebar",previous:{title:"Security",permalink:"/docs/v2/frontend-area/security"},next:{title:"File Manager",permalink:"/docs/v2/frontend-area/file-manager"}},l=[{value:"SSH/FTP",id:"sshftp",children:[{value:"Adding a User",id:"adding-a-user",children:[]},{value:"Deleting a User",id:"deleting-a-user",children:[]},{value:"Password Change",id:"password-change",children:[]},{value:"SSH Login",id:"ssh-login",children:[]},{value:"SFTP Login",id:"sftp-login",children:[]}]},{value:"FTP",id:"ftp",children:[{value:"Adding a User",id:"adding-a-user-1",children:[]},{value:"Deleting a User",id:"deleting-a-user-1",children:[]},{value:"Password Change",id:"password-change-1",children:[]}
1,{value:"FTP Login",id:"ftp-login",children:[]}]}],d={toc:l},c="wrapper";function g(e){let{components:t,...n}=e;return(0,a.kt)(c,(0,r.Z)({},d,n,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("h2",{id:"sshftp"},"SSH/FTP"),(0,a.kt)("p",null,"The ",(0,a.kt)("strong",{parentName:"p"},"SSH protocol")," (also referred to as ",(0,a.kt)("strong",{parentName:"p"},"Secure Shell"),") is a method for securing remote login from one computer to another. ",(0,a.kt)("br",null),"\nIt provides several alternative options for strong authentication, and it protects the communication's security and integrity with strong encryption."),(0,a.kt)("h3",{id:"adding-a-user"},"Adding a User"),(0,a.kt)("p",null,"To add a new ",(0,a.kt)("strong",{parentName:"p"},"SSH User"),", click on the tab ",(0,a.kt)("strong",{parentName:"p"},"SSH/FTP")," and enter a ",(0,a.kt)("strong",{parentName:"p"},"User Name")," and ",(0,a.kt)("strong",{parentName:"p"},"Password")," and click on ",(0,a.kt)("strong",{parentName:"p"},"Add User"),"."),(0,a.kt)("img",{alt:"Adding a SSH User",class:"border",src:(0,o.Z)("img/frontend-area/ssh-ftp/adding-a-ssh-user.png?v=0.0.1")}),(0,a.kt)("p",null,"Add your ",(0,a.kt)("strong",{parentName:"p"},"Public SSH Key(s)")," if you want to log in via  ",(0,a.kt)("a",{parentName:"p",href:"https://www.ssh.com/academy/ssh/public-key-authentication"},"Public Key authentication"),"."),(0,a.kt)("h3",{id:"deleting-a-user"},"Deleting a User"),(0,a.kt)("p",null,"To delete an ",(0,a.kt)("strong",{parentName:"p"},"SSH User"),", click on the tab ",(0,a.kt)("strong",{parentName:"p"},"SSH/FTP")," and then on ",(0,a.kt)("strong",{parentName:"p"},"Delete")," and confirm your action."),(0,a.kt)("img",{alt:"Delete a SSH User",class:"border",src:(0,o.Z)("img/frontend-area/ssh-ftp/delete-ssh-user.png?v=0.0.1")}),(0,a.kt)("h3",{id:"password-change"},"Password Change"),(0,a.kt)("p",null,"To change the password for an ",(0,a.kt)("strong",{parentName:"p"},"SSH User"),", click on the tab ",(0,a.kt)("strong",{parentName:"p"},"SSH/FTP")," and then on the ",(0,a.kt)("strong",{parentName:"p"},"User Name"),"."),(0,a.kt)("p",null,"Enter a new strong ",(0,a.kt)("strong",{parentName:"p"},"Password")," or click on ",(0,a.kt)("strong",{parentName:"p"},"Generate new password")," and click on ",(0,a.kt)("strong",{parentName:"p"},"Save"),"."),(0,a.kt)("img",{alt:"Change SSH User Password",class:"border",src:(0,o.Z)("img/frontend-area/ssh-ftp/change-ssh-user-password.png?v=0.0.1")}),(0,a.kt)("h3",{id:"ssh-login"},"SSH Login"),(0,a.kt)("p",null,"To login via ",(0,a.kt)("strong",{parentName:"p"},"SSH")," to the instance, you need a terminal like ",(0,a.kt)("a",{parentName:"p",href:"https://www.iterm2.com/"},"iterm2")," for macOS or ",(0,a.kt)("a",{parentName:"p",href:"https://www.putty.org/"},"putty")," for Windows."),(0,a.kt)("p",null,"The ",(0,a.kt)("strong",{parentName:"p"},"SSH")," port is ",(0,a.kt)("strong",{parentName:"p"},"22")," (default port). Before you try to connect with SSH, make sure that port ",(0,a.kt)("strong",{parentName:"p"},"22")," is open for your ip address."),(0,a.kt)("p",null,(0,a.kt)("strong",{parentName:"p"},"Linux and MacOS:")),(0,a.kt)("p",null,(0,a.kt)("strong",{parentName:"p"},"SSH login via password")),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre",className:"language-bash"},"ssh john-doe@instance-ip-address\n")),(0,a.kt)("p",null,(0,a.kt)("strong",{parentName:"p"},"SSH login via private key")),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre",className:"language-bash"},"ssh -i path_to_your_private_key.pem john-doe@instance-ip-address\n")),(0,a.kt)("p",null,(0,a.kt)("strong",{parentName:"p"},"Windows:")),(0,a.kt)("p",null,"In the ",(0,a.kt)("strong",{parentName:"p"},"Host Name ")," field, enter the ",(0,a.kt)("strong",{parentName:"p"},"instance ip address")," and click on the button ",(0,a.kt)("strong",{parentName:"p"},"Open"),"."),(0,a.kt)("img",{alt:"Change SSH User Password",class:"border",src:(0,o.Z)("img/frontend-area/ssh-ftp/putty-ssh.png")}),(0,a.kt)("p",null,"Putty will ask you to enter the ",(0,a.kt)("strong",{parentName:"p"},"User Name")," and ",(0,a.kt)("strong",{parentName:"p"},"Password")," in the next step."),(0,a.kt)("h3",{id:"sftp-login"},"SFTP Login"),(0,a.kt)("p",null,"To login via ",(0,a.kt)("strong",{parentName:"p"},"SFTP")," to the instance, you need a client like ",(0,a.kt)("a",{parentName:"p",href:"https://filezilla-project.org/"},"FileZilla"),"."),(0,a.kt)("p",null,"Make sure that the ",(0,a.kt)("strong",{parentName:"p"},"SSH")," port ",(0,a.kt)("strong",{parentName:"p"},"22")," is open for your ip address."),(0,a.kt)("p",null,"Enter the ",(0,a.kt)("strong",{parentName:"p"},"Host"),", ",(0,a.kt)("strong",{parentName:"p"},"Username"),", ",(0,a.kt)("strong",{parentName:"p"},"Password")," and ",(0,a.kt)("strong",{parentName:"p"},"Port")," fields and click on the button ",(0,a.kt)("strong",{parentName:"p"},"Quickconnect"),"."),(0,a.kt)("div",{className:"admonition admonition-warning alert alert--danger"},(0,a.kt)("div",{parentName:"div",className:"admonition-heading"},(0,a.kt)("h5",{parentName:"div"},(0,a.kt)("span",{parentName:"h5",className:"admonition-icon"}
1,(0,a.kt)("svg",{parentName:"span",xmlns:"http://www.w3.org/2000/svg",width:"12",height:"16",viewBox:"0 0 12 16"},(0,a.kt)("path",{parentName:"svg",fillRule:"evenodd",d:"M5.05.31c.81 2.17.41 3.38-.52 4.31C3.55 5.67 1.98 6.45.9 7.98c-1.45 2.05-1.7 6.53 3.53 7.7-2.2-1.16-2.67-4.52-.3-6.61-.61 2.03.53 3.33 1.94 2.86 1.39-.47 2.3.53 2.27 1.67-.02.78-.31 1.44-1.13 1.81 3.42-.59 4.78-3.42 4.78-5.56 0-2.84-2.53-3.22-1.25-5.61-1.52.13-2.03 1.13-1.89 2.75.09 1.08-1.02 1.8-1.86 1.33-.67-.41-.66-1.19-.06-1.78C8.18 5.31 8.68 2.45 5.05.32L5.03.3l.02.01z"}))),"Port")),(0,a.kt)("div",{parentName:"div",className:"admonition-content"},(0,a.kt)("p",{parentName:"div"},"Make sure to use port ",(0,a.kt)("strong",{parentName:"p"},"22")," for an SFTP connection."))),(0,a.kt)("img",{alt:"SFTP Login via Filezilla",class:"border",src:(0,o.Z)("img/frontend-area/ssh-ftp/sftp-login-filezilla.png")}),(0,a.kt)("h2",{id:"ftp"},"FTP"),(0,a.kt)("p",null,"The ",(0,a.kt)("strong",{parentName:"p"},"File Transfer Protocol (FTP)")," is a standard network protocol used to transfer computer files between a client and server on a computer network."),(0,a.kt)("h3",{id:"adding-a-user-1"},"Adding a User"),(0,a.kt)("p",null,"To add a new ",(0,a.kt)("strong",{parentName:"p"},"FTP User"),", click on the tab ",(0,a.kt)("strong",{parentName:"p"},"SSH/FTP")," and enter a ",(0,a.kt)("strong",{parentName:"p"},"User Name"),", ",(0,a.kt)("strong",{parentName:"p"},"Password"),", and ",(0,a.kt)("strong",{parentName:"p"},"Home Directory")," and click on ",(0,a.kt)("strong",{parentName:"p"},"Add User"),"."),(0,a.kt)("img",{alt:"Adding a FTP User",class:"border",src:(0,o.Z)("img/frontend-area/ssh-ftp/adding-a-ftp-user.png?v=0.0.1")}),(0,a.kt)("h3",{id:"deleting-a-user-1"},"Deleting a User"),(0,a.kt)("p",null,"To delete an ",(0,a.kt)("strong",{parentName:"p"},"FTP User"),", click on the tab ",(0,a.kt)("strong",{parentName:"p"},"SSH/FTP")," and then on ",(0,a.kt)("strong",{parentName:"p"},"Delete")," and confirm your action."),(0,a.kt)("img",{alt:"Delete a FTP User",class:"border",src:(0,o.Z)("img/frontend-area/ssh-ftp/delete-ftp-user.png?v=0.0.1")}),(0,a.kt)("h3",{id:"password-change-1"},"Password Change"),(0,a.kt)("p",null,"To change the password for an ",(0,a.kt)("strong",{parentName:"p"},"FTP User"),", click on the tab ",(0,a.kt)("strong",{parentName:"p"},"SSH/FTP")," and then on the ",(0,a.kt)("strong",{parentName:"p"},"User Name"),"."),(0,a.kt)("p",null,"Enter a new strong ",(0,a.kt)("strong",{parentName:"p"},"Password")," or click on ",(0,a.kt)("strong",{parentName:"p"},"Generate new password")," and click on ",(0,a.kt)("strong",{parentName:"p"},"Save"),"."),(0,a.kt)("img",{alt:"Change SSH User Password",class:"border",src:(0,o.Z)("img/frontend-area/ssh-ftp/change-ftp-user-password.png?v=0.0.1")}),(0,a.kt)("h3",{id:"ftp-login"},"FTP Login"),(0,a.kt)("p",null,"To login via FTP to the server, you need a client like ",(0,a.kt)("a",{parentName:"p",href:"https://filezilla-project.org/"},"FileZilla"),"."),(0,a.kt)("ol",null,(0,a.kt)("li",{parentName:"ol"},(0,a.kt)("p",{parentName:"li"},"Ensure the ",(0,a.kt)("a",{parentName:"p",href:"../../admin-area/instance#proftpd-settings"},"Proftpd MasqueradeAddress")," is correctly set.")),(0,a.kt)("li",{parentName:"ol"},(0,a.kt)("p",{parentName:"li"},"Go to the ",(0,a.kt)("a",{parentName:"p",href:"../../admin-area/security#adding-a-rule"},"Firewall")," in the ",(0,a.kt)("strong",{parentName:"p"},"Admin Area")," and add the following rule."))),(0,a.kt)("img",{alt:"Add FTP Firewall Rule",class:"border",src:(0,o.Z)("img/frontend-area/ssh-ftp/add-ftp-firewall-rule.png?v=0.0.1")}),(0,a.kt)("ol",{start:3},(0,a.kt)("li",{parentName:"ol"},"Click on ",(0,a.kt)("strong",{parentName:"li"},"Add Rule")," to open the ports ",(0,a.kt)("strong",{parentName:"li"},"20-21")," for your IP. ")),(0,a.kt)("p",null,(0,a.kt)("strong",{parentName:"p"},"CloudPanel")," will also create the rule ",(0,a.kt)("strong",{parentName:"p"},"ProFTPD Passive Ports")," which opens the port range ",(0,a.kt)("strong",{parentName:"p"},"49152-65534")," for your IP."),(0,a.kt)("ol",{start:4},(0,a.kt)("li",{parentName:"ol"},"Open ",(0,a.kt)("strong",{parentName:"li"},"Filezilla")," and enter ",(0,a.kt)("strong",{parentName:"li"},"Host"),", ",(0,a.kt)("strong",{parentName:"li"},"Username"),", ",(0,a.kt)("strong",{parentName:"li"},"Password")," and ",(0,a.kt)("strong",{parentName:"li"},"Port")," fields and click on the button ",(0,a.kt)("strong",{parentName:"li"},"Quickconnect"),".")),(0,a.kt)("div",{className:"admonition admonition-warning alert alert--danger"},(0,a.kt)("div",{parentName:"div",className:"admonition-heading"},(0,a.kt)("h5",{parentName:"div"},(0,a.kt)("span",{parentName:"h5",className:"admonition-icon"}
1,(0,a.kt)("svg",{parentName:"span",xmlns:"http://www.w3.org/2000/svg",width:"12",height:"16",viewBox:"0 0 12 16"},(0,a.kt)("path",{parentName:"svg",fillRule:"evenodd",d:"M5.05.31c.81 2.17.41 3.38-.52 4.31C3.55 5.67 1.98 6.45.9 7.98c-1.45 2.05-1.7 6.53 3.53 7.7-2.2-1.16-2.67-4.52-.3-6.61-.61 2.03.53 3.33 1.94 2.86 1.39-.47 2.3.53 2.27 1.67-.02.78-.31 1.44-1.13 1.81 3.42-.59 4.78-3.42 4.78-5.56 0-2.84-2.53-3.22-1.25-5.61-1.52.13-2.03 1.13-1.89 2.75.09 1.08-1.02 1.8-1.86 1.33-.67-.41-.66-1.19-.06-1.78C8.18 5.31 8.68 2.45 5.05.32L5.03.3l.02.01z"}))),"Port")),(0,a.kt)("div",{parentName:"div",className:"admonition-content"},(0,a.kt)("p",{parentName:"div"},"Make sure to use port ",(0,a.kt)("strong",{parentName:"p"},"21")," for an FTP connection."))),(0,a.kt)("img",{alt:"FTP Login via Filezilla",class:"border",src:(0,o.Z)("img/frontend-area/ssh-ftp/ftp-login-filezilla.png")}))}g.isMDXComponent=!0}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.