{"id":4839,"date":"2020-04-19T03:09:20","date_gmt":"2020-04-19T06:09:20","guid":{"rendered":"https:\/\/blog.clusterweb.com.br\/?p=4839"},"modified":"2020-04-19T03:09:20","modified_gmt":"2020-04-19T06:09:20","slug":"shell-in-a-box-acessando-o-shell-linux-pelo-navegador-web","status":"publish","type":"post","link":"https:\/\/blog.clusterweb.com.br\/?p=4839","title":{"rendered":"SHELL IN A BOX &#8211; ACESSANDO O SHELL LINUX PELO NAVEGADOR WEB"},"content":{"rendered":"<p>Esta, \u00e9 apenas uma dica que tem o intuito de mostrar e divulgar uma ferramenta para acessar o\u00a0Linux\u00a0\/ Shell atrav\u00e9s de um navegador Web. Sendo assim, n\u00e3o entrarei em detalhes sobre instala\u00e7\u00e3o e configura\u00e7\u00e3o do mesmo.<\/p>\n<p>No entanto, com a evolu\u00e7\u00e3o das distribui\u00e7\u00f5es Linux, j\u00e1 existem pacotes que podem ser executados e instalados automaticamente, como no caso o\u00a0<em>Shell in A Box<\/em>, que oferece o pacote de instala\u00e7\u00e3o no formato \u201c.deb\u201d, podendo ser instalado diretamente em distro baseadas no\u00a0<em>Debian \/ Ubuntu<\/em>.<\/p>\n<h1>A FERRAMENTA<\/h1>\n<p>O Shell in A Box \u00e9 ideal quando h\u00e1 necessidade de acessar remotamente um computador. Muitas vezes &#8216;sendo obrigado&#8217; ou, n\u00e3o tendo outras maneiras de acess\u00e1-lo, tendo apenas o Navegador Web.<\/p>\n<p>Uma das grandes vantagens do Shell in A Box, \u00e9 que o mesmo j\u00e1 traz consigo um servidor Web pr\u00f3prio que escuta a porta 4200, sendo assim, logo ap\u00f3s instal\u00e1-lo, j\u00e1 est\u00e1 dispon\u00edvel para acesso via Web sem a necessidade de nenhuma outra configura\u00e7\u00e3o.<\/p>\n<p>Para acess\u00e1-lo, basta apenas abrir um Navegador Web, e digitar o seguinte endere\u00e7o: https:\/\/localhost:4200<\/p>\n<p>Desta maneira, voc\u00ea ter\u00e1 acesso no computador local.<\/p>\n<p>Para acess\u00e1-lo remotamente, basta digitar o seguinte endere\u00e7o: https:\/\/IP_Servidor_Shell_in_A_Box:4200\/<\/p>\n<div class=\"figura\"><a href=\"https:\/\/img.vivaolinux.com.br\/imagens\/dicas\/comunidade\/shell_in_a_box.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/img.vivaolinux.com.br\/imagens\/dicas\/comunidade\/thumb_shell_in_a_box.png\" alt=\"Linux: Shell In A Box - Acessando o Shell Linux pelo Navegador Web\" width=\"500\" height=\"274\" border=\"0\" \/><\/a><\/div>\n<p>O Shell in A Box suporta atividades diretas com editores de texto, podendo usar editores como VI, VIM, JOE, entre outros.<\/p>\n<p>Ao acessar o servidor pelo navegador, o Shell in A Box n\u00e3o permite acesso direto ao root, sendo assim, h\u00e1 necessidade de acessar com outro usu\u00e1rio, e depois de fazer o login como root.<\/p>\n<p>Para baix\u00e1-lo, basta acessar o seguinte link:<\/p>\n<ul>\n<li><a href=\"https:\/\/code.google.com\/p\/shellinabox\/downloads\/list\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">https:\/\/code.google.com &#8211; Shell in A Box<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Esta, \u00e9 apenas uma dica que tem o intuito de mostrar e divulgar uma ferramenta para acessar o\u00a0Linux\u00a0\/ Shell atrav\u00e9s de um navegador Web. Sendo assim, n\u00e3o entrarei em detalhes sobre instala\u00e7\u00e3o e configura\u00e7\u00e3o do mesmo. No entanto, com a evolu\u00e7\u00e3o das distribui\u00e7\u00f5es Linux, j\u00e1 existem pacotes que podem ser executados e instalados automaticamente, como [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[455,730,1,830,42,51,495,68,501,548],"tags":[773,1459,1458,1065,14,1461,698,1460,64,416],"class_list":["post-4839","post","type-post","status-publish","format-standard","hentry","category-apache2","category-clusterweb","category-viazap","category-debian","category-leitura-recomendada","category-linux-linuxrs","category-profissional-de-ti","category-redes-2","category-shell-script","category-ubuntu-2","tag-a","tag-acessando","tag-box","tag-in","tag-linux","tag-navegador","tag-o","tag-pelo","tag-shell","tag-web"],"_links":{"self":[{"href":"https:\/\/blog.clusterweb.com.br\/index.php?rest_route=\/wp\/v2\/posts\/4839","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.clusterweb.com.br\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.clusterweb.com.br\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.clusterweb.com.br\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.clusterweb.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4839"}],"version-history":[{"count":1,"href":"https:\/\/blog.clusterweb.com.br\/index.php?rest_route=\/wp\/v2\/posts\/4839\/revisions"}],"predecessor-version":[{"id":4840,"href":"https:\/\/blog.clusterweb.com.br\/index.php?rest_route=\/wp\/v2\/posts\/4839\/revisions\/4840"}],"wp:attachment":[{"href":"https:\/\/blog.clusterweb.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4839"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.clusterweb.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4839"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.clusterweb.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4839"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}