{"id":3519,"date":"2016-02-24T08:11:34","date_gmt":"2016-02-24T08:11:34","guid":{"rendered":"https:\/\/cpanelplesk.com\/wp62\/?p=3519"},"modified":"2021-02-06T07:23:55","modified_gmt":"2021-02-06T07:23:55","slug":"install-mysecureshell-on-linux-centos","status":"publish","type":"post","link":"https:\/\/cpanelplesk.com\/wp62\/install-mysecureshell-on-linux-centos\/","title":{"rendered":"Install MySecureShell On Linux-CentOS"},"content":{"rendered":"<p><span style=\"color: #000000;\">Mysecureshell is an open source, lightweight and secure FTP server based on open SSH you can install in major Linux distribution.<\/span><\/p>\n<p><span style=\"color: #000000;\">Follow the steps below to make a working secure FTP server using MySecureShell on CentOS.<\/span><!--more--><\/p>\n<p><span style=\"color: #000000;\">The easiest way to install MySecureShell server on your vps is to do via repository which luckily can be added in few seconds.<\/span><\/p>\n<p><span style=\"color: #000000;\">Login to your server as root user.<\/span><\/p>\n<p><span style=\"color: #000000;\">You have to firstly edit <strong>\/etc\/yum.conf<\/strong> file. So do it using your favorite text editor like Nano:<\/span><\/p>\n<div class=\"command-sh\">\n<pre class=\"lang:default decode:true \">nano \/etc\/yum.conf<\/pre>\n<\/div>\n<p>In Nano, scroll down the page and put these lines in the end part:<\/p>\n<div class=\"command-sh\">\n<pre class=\"lang:default decode:true \">[mysecureshell]\r\nname=MySecureShell\r\nbaseurl=http:\/\/mysecureshell.free.fr\/repository\/index.php\/centos\/$basearch\/\r\nenabled=1\r\ngpgcheck=0<\/pre>\n<\/div>\n<p>Save the changes and exit the editor<br \/>\nFinally update your server so the newly added repository can be applied.<\/p>\n<div class=\"command-sh\">\n<pre class=\"lang:default decode:true \">yum update -y<\/pre>\n<\/div>\n<p>After that use command below to start the installation:<\/p>\n<div class=\"command-sh\">\n<pre class=\"lang:default decode:true \">yum install mysecureshell -y<\/pre>\n<\/div>\n<p>That\u2019s it. MySecureShell is now ready-to-use.<\/p>\n<p>Now we will see how to use it:<\/p>\n<p>To use it, first we have to find where MySecureShell is installed.<br \/>\nFor that, run:<\/p>\n<div class=\"command-sh\">\n<pre class=\"lang:default decode:true \">whereis mysecureshell<\/pre>\n<\/div>\n<p>Output will show you the mysecureshell installation path.<\/p>\n<p>Now, add a new user with the following command:<\/p>\n<div class=\"command-sh\">\n<pre class=\"lang:default decode:true \">useradd -m -s \/usr\/bin\/mysecureshell unixmen\r\npasswd unixmen<\/pre>\n<\/div>\n<p>You can also assign the existing users to access and use MySecureShell using below command:<\/p>\n<div class=\"command-sh\">\n<pre class=\"lang:default decode:true \">usermod -s \/usr\/bin\/mysecureshell sk<\/pre>\n<\/div>\n<p>Connect to your SFTP server from your clients as shown below.<\/p>\n<div class=\"command-sh\">\n<pre class=\"lang:default decode:true\">sftp cppl@192.168.2.103<\/pre>\n<\/div>\n<p>Also you can use any FTP clients such as FileZilla to login your SFTP server.<\/p>\n<p>Open your favourite FTP client (Ex.FileZilla). Enter sftp:\/\/IP-address, user name, password, and SFTP port 22 and click Connect.<\/p>\n<p><strong>Note:<\/strong> The main MySecureShell config file is \/etc\/ssh\/sftp_config and it works fine with default configuration.<\/p>\n<p><strong>Some useful commands for mysecureshell:<\/strong><br \/>\n\u2022\u00a0\u00a0 \u00a0sftp-admin<br \/>\n\u2022\u00a0\u00a0 \u00a0sftp-kill<br \/>\n\u2022\u00a0\u00a0 \u00a0sftp-state<br \/>\n\u2022\u00a0\u00a0 \u00a0sftp-user<br \/>\n\u2022\u00a0\u00a0 \u00a0sftp-verif<br \/>\n\u2022\u00a0\u00a0 \u00a0sftp-who<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Mysecureshell is an open source, lightweight and secure FTP server based on open SSH you can install in major Linux distribution. Follow the steps below to make a working secure FTP server using MySecureShell on CentOS. [&#8230;]<\/p>\n<p><a class=\"understrap-read-more-link\" href=\"https:\/\/cpanelplesk.com\/wp62\/install-mysecureshell-on-linux-centos\/\">Continue Reading&#8230;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,14],"tags":[],"class_list":["post-3519","post","type-post","status-publish","format-standard","hentry","category-cpanel","category-linux"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Install MySecureShell On Linux-CentOS - cPanel Plesk<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/cpanelplesk.com\/wp62\/install-mysecureshell-on-linux-centos\/\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"Install MySecureShell On Linux-CentOS - cPanel Plesk\" \/>\n<meta name=\"twitter:description\" content=\"Mysecureshell is an open source, lightweight and secure FTP server based on open SSH you can install in major Linux distribution. Follow the steps below to make a working secure FTP server using MySecureShell on CentOS. [...]Continue Reading...\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Seemab Saleem\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/install-mysecureshell-on-linux-centos\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/install-mysecureshell-on-linux-centos\/\"},\"author\":{\"name\":\"Seemab Saleem\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/73d573cc7eaaf6625cf0dbd72191a648\"},\"headline\":\"Install MySecureShell On Linux-CentOS\",\"datePublished\":\"2016-02-24T08:11:34+00:00\",\"dateModified\":\"2021-02-06T07:23:55+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/install-mysecureshell-on-linux-centos\/\"},\"wordCount\":267,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13\"},\"articleSection\":[\"Cpanel\",\"Linux\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/install-mysecureshell-on-linux-centos\/\",\"url\":\"https:\/\/cpanelplesk.com\/wp62\/install-mysecureshell-on-linux-centos\/\",\"name\":\"Install MySecureShell On Linux-CentOS - cPanel Plesk\",\"isPartOf\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#website\"},\"datePublished\":\"2016-02-24T08:11:34+00:00\",\"dateModified\":\"2021-02-06T07:23:55+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/install-mysecureshell-on-linux-centos\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/cpanelplesk.com\/wp62\/install-mysecureshell-on-linux-centos\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/install-mysecureshell-on-linux-centos\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/cpanelplesk.com\/wp62\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Install MySecureShell On Linux-CentOS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#website\",\"url\":\"https:\/\/cpanelplesk.com\/wp62\/\",\"name\":\"cPanel Plesk\",\"description\":\"Blog on famous hosting control panels\",\"publisher\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/cpanelplesk.com\/wp62\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13\",\"name\":\"Farooq Omer\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2020\/11\/cpanelplesk.png\",\"contentUrl\":\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2020\/11\/cpanelplesk.png\",\"width\":300,\"height\":44,\"caption\":\"Farooq Omer\"},\"logo\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/73d573cc7eaaf6625cf0dbd72191a648\",\"name\":\"Seemab Saleem\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/6a87ff2e53b03e6839250e5278a6bd46?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/6a87ff2e53b03e6839250e5278a6bd46?s=96&d=mm&r=g\",\"caption\":\"Seemab Saleem\"},\"description\":\"Linux Server Administrator, Web Hosting engineer. I'm dealing with Linux servers since 2014. I started this blog to share the work i love with the world . let me know if you need any assistance. Thanks!!\",\"sameAs\":[\"https:\/\/cpanelplesk.com\/wp62\"],\"url\":\"https:\/\/cpanelplesk.com\/wp62\/author\/cmb\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Install MySecureShell On Linux-CentOS - cPanel Plesk","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/cpanelplesk.com\/wp62\/install-mysecureshell-on-linux-centos\/","twitter_card":"summary_large_image","twitter_title":"Install MySecureShell On Linux-CentOS - cPanel Plesk","twitter_description":"Mysecureshell is an open source, lightweight and secure FTP server based on open SSH you can install in major Linux distribution. Follow the steps below to make a working secure FTP server using MySecureShell on CentOS. [...]Continue Reading...","twitter_misc":{"Written by":"Seemab Saleem","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/cpanelplesk.com\/wp62\/install-mysecureshell-on-linux-centos\/#article","isPartOf":{"@id":"https:\/\/cpanelplesk.com\/wp62\/install-mysecureshell-on-linux-centos\/"},"author":{"name":"Seemab Saleem","@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/73d573cc7eaaf6625cf0dbd72191a648"},"headline":"Install MySecureShell On Linux-CentOS","datePublished":"2016-02-24T08:11:34+00:00","dateModified":"2021-02-06T07:23:55+00:00","mainEntityOfPage":{"@id":"https:\/\/cpanelplesk.com\/wp62\/install-mysecureshell-on-linux-centos\/"},"wordCount":267,"commentCount":0,"publisher":{"@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13"},"articleSection":["Cpanel","Linux"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/cpanelplesk.com\/wp62\/install-mysecureshell-on-linux-centos\/","url":"https:\/\/cpanelplesk.com\/wp62\/install-mysecureshell-on-linux-centos\/","name":"Install MySecureShell On Linux-CentOS - cPanel Plesk","isPartOf":{"@id":"https:\/\/cpanelplesk.com\/wp62\/#website"},"datePublished":"2016-02-24T08:11:34+00:00","dateModified":"2021-02-06T07:23:55+00:00","breadcrumb":{"@id":"https:\/\/cpanelplesk.com\/wp62\/install-mysecureshell-on-linux-centos\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/cpanelplesk.com\/wp62\/install-mysecureshell-on-linux-centos\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/cpanelplesk.com\/wp62\/install-mysecureshell-on-linux-centos\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/cpanelplesk.com\/wp62\/"},{"@type":"ListItem","position":2,"name":"Install MySecureShell On Linux-CentOS"}]},{"@type":"WebSite","@id":"https:\/\/cpanelplesk.com\/wp62\/#website","url":"https:\/\/cpanelplesk.com\/wp62\/","name":"cPanel Plesk","description":"Blog on famous hosting control panels","publisher":{"@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/cpanelplesk.com\/wp62\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13","name":"Farooq Omer","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/","url":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2020\/11\/cpanelplesk.png","contentUrl":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2020\/11\/cpanelplesk.png","width":300,"height":44,"caption":"Farooq Omer"},"logo":{"@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/"}},{"@type":"Person","@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/73d573cc7eaaf6625cf0dbd72191a648","name":"Seemab Saleem","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/6a87ff2e53b03e6839250e5278a6bd46?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/6a87ff2e53b03e6839250e5278a6bd46?s=96&d=mm&r=g","caption":"Seemab Saleem"},"description":"Linux Server Administrator, Web Hosting engineer. I'm dealing with Linux servers since 2014. I started this blog to share the work i love with the world . let me know if you need any assistance. Thanks!!","sameAs":["https:\/\/cpanelplesk.com\/wp62"],"url":"https:\/\/cpanelplesk.com\/wp62\/author\/cmb\/"}]}},"_links":{"self":[{"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/posts\/3519","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/comments?post=3519"}],"version-history":[{"count":0,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/posts\/3519\/revisions"}],"wp:attachment":[{"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/media?parent=3519"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/categories?post=3519"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/tags?post=3519"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}