{"id":37868,"date":"2025-07-30T16:37:44","date_gmt":"2025-07-30T19:37:44","guid":{"rendered":"https:\/\/www.locaweb.com.br\/ajuda\/?post_type=ht_kb&#038;p=37868"},"modified":"2025-08-05T12:10:38","modified_gmt":"2025-08-05T15:10:38","slug":"como-conectar-a-minha-vm-via-ssh","status":"publish","type":"ht_kb","link":"https:\/\/www.locaweb.com.br\/ajuda\/wiki\/como-conectar-a-minha-vm-via-ssh\/","title":{"rendered":"Como conectar a minha VM via SSH?"},"content":{"rendered":"    \t\t<div class=\"hts-messages hts-messages--info  hts-messages--withtitle hts-messages--withicon \"   >\r\n    \t\t\t<span class=\"hts-messages__title\">Informa\u00e7\u00e3o!<\/span>    \t\t\t    \t\t\t\t<p>\r\n    \t\t\t\t\tPraticidade e usabilidade s\u00e3o conceitos-chave no Locaweb Cloud. Cada detalhe \u00e9 pensado para que voc\u00ea tenha uma experi\u00eancia positiva com a nossa plataforma. Por isso, a perspectiva de acessar m\u00e1quina virtual (VM) remotamente, usando uma conex\u00e3o SSH.    \t\t\t\t<\/p>\r\n    \t\t\t    \t\t\t\r\n    \t\t<\/div><!-- \/.ht-shortcodes-messages -->\r\n    \t\t\n<p><span style=\"font-weight: 400;\">\u00c9 um processo que acontece a partir de tr\u00eas m\u00e9todos principais:<\/span><\/p>\n<ol>\n<li><span style=\"font-weight: 400;\"> Terminal (Linux\/macOS)<\/span><\/li>\n<li><span style=\"font-weight: 400;\"> PuTTY (Windows)<\/span><\/li>\n<li><span style=\"font-weight: 400;\"> Clientes gr\u00e1ficos (ex: Termius, MobaXterm, VS Code)<\/span><\/li>\n<\/ol>\n<p><span style=\"font-weight: 400;\">Neste tutorial, voc\u00ea vai saber exatamente como proceder em cada caso.<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><span style=\"font-weight: 400;\">Pr\u00e9-requisito<\/span><\/p>\n<h2><b>1. IP P\u00fablico Configurado<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">A conex\u00e3o SSH exige um endere\u00e7o IP acess\u00edvel pela internet. Verifique se:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Voc\u00ea <\/span><b>alocou um IP P\u00fablico<\/b><span style=\"font-weight: 400;\"> para sua rede;<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Existe uma <\/span><b>regra de NAT Est\u00e1tico<\/b><span style=\"font-weight: 400;\"> ou um <\/span><b>Redirecionamento de Porta<\/b><span style=\"font-weight: 400;\"> associando esse IP \u00e0 sua VM<a href=\"https:\/\/www.locaweb.com.br\/ajuda\/wiki\/como-alocar-um-ip-publico-para-sua-vm\/\" target=\"_blank\" rel=\"noopener\">https:\/\/www.locaweb.com.br\/ajuda\/wiki\/como-alocar-um-ip-publico-para-sua-vm\/<\/a>.\u00a0<\/span><\/li>\n<\/ul>\n<h2><b>2. Acesso SSH Liberado no Firewall<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">Para que a conex\u00e3o SSH chegue at\u00e9 sua VM, \u00e9 necess\u00e1rio permitir a entrada de tr\u00e1fego no firewall:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Se voc\u00ea usa <\/b><a href=\"https:\/\/www.locaweb.com.br\/ajuda\/wiki\/como-configurar-um-nat-estatico-locaweb-cloud\/\" target=\"_blank\" rel=\"noopener\"><b>NAT Est\u00e1tico<\/b><\/a><span style=\"font-weight: 400;\">, crie uma <\/span><b>regra de entrada liberando a porta 22<\/b><span style=\"font-weight: 400;\"> (padr\u00e3o do SSH). <\/span><span style=\"font-weight: 400;\">[Link: Tutorial 31 &#8211; Como configurar um NAT est\u00e1tico]<\/span><span style=\"font-weight: 400;\">\n<p><\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Se usa Redirecionamento de Portas<\/b><span style=\"font-weight: 400;\">, libere a <\/span><b>porta p\u00fablica <\/b><a href=\"https:\/\/www.locaweb.com.br\/ajuda\/wiki\/como-configurar-o-encaminhamento-de-porta-port-forwarding\/\" target=\"_blank\" rel=\"noopener\"><b>configurada no encaminhamento<\/b><\/a><span style=\"font-weight: 400;\"> (ex: 22).\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Al\u00e9m disso, verifique se a<\/span> <a href=\"https:\/\/www.locaweb.com.br\/ajuda\/wiki\/como-configurar-regras-de-firewall\/\" target=\"_blank\" rel=\"noopener\"><b>regra de firewall<\/b><\/a> <span style=\"font-weight: 400;\">correspondente foi criada corretamente para permitir a entrada do tr\u00e1fego na porta escolhida.\u00a0<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><\/li>\n<\/ul>\n<h3><span style=\"font-weight: 400;\">1. Conex\u00e3o via terminal (Linux\/macOS)<\/span><\/h3>\n<p>    \t\t<div class=\"hts-messages hts-messages--alert  hts-messages--withtitle hts-messages--withicon \"   >\r\n    \t\t\t<span class=\"hts-messages__title\">Importante!<\/span>    \t\t\t    \t\t\t\t<p>\r\n    \t\t\t\t\t<b>Antes de come\u00e7ar:<\/b><\/p>\n<ul>\n<li><span style=\"font-weight: 400;\">Certifique-se de que sua VM est\u00e1 em execu\u00e7\u00e3o.\u00a0<\/span><\/li>\n<li aria-level=\"1\"><span style=\"font-weight: 400;\">Tenha sua chave privada (<\/span><span style=\"font-weight: 400;\">.key<\/span><span style=\"font-weight: 400;\">) salva localmente, ou <\/span><a href=\"https:\/\/www.locaweb.com.br\/ajuda\/wiki\/como-criar-e-usar-chaves-ssh-em-vms\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">gere-a<\/span><\/a><span style=\"font-weight: 400;\">, caso n\u00e3o tenha feito esse processo.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Garanta que h\u00e1 endere\u00e7o IP p\u00fablico associado \u00e0 VM.<\/span>    \t\t\t\t<\/p>\r\n    \t\t\t    \t\t\t\r\n    \t\t<\/div><!-- \/.ht-shortcodes-messages -->\r\n    \t\t<\/li>\n<\/ul>\n<h3><b>Passo 1 &#8211; Localiza\u00e7\u00e3o da chave<\/b><\/h3>\n<p><b>Localize sua chave <\/b><b>.key<\/b><span style=\"font-weight: 400;\">. Geralmente, ela \u00e9 baixada ap\u00f3s a cria\u00e7\u00e3o da chave SSH no painel. A indica\u00e7\u00e3o abaixo vai ajudar a localiz\u00e1-la.<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><span style=\"font-weight: 400;\">Exemplo de caminho comum: [~\/Downloads\/minha-chave.key]<\/span><\/p>\n<h3><b>Passo 2 &#8211; Aplique a permiss\u00e3o correta<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Antes de usar a chave SSH, \u00e9 preciso aplicar a <\/span><b>permiss\u00e3o restrita<\/b><span style=\"font-weight: 400;\">. Esse procedimento \u00e9 necess\u00e1rio para garantir que apenas voc\u00ea tenha acesso \u00e0 chave e evitar erros de seguran\u00e7a.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Para execut\u00e1-lo, use o comando: [$ chmod 400 ~\/Downloads\/minha-chave.key]<\/span><\/p>\n<h3><b>Passo 3 &#8211; Estabele\u00e7a a conex\u00e3o<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">A <\/span><b>finaliza\u00e7\u00e3o do processo<\/b><span style=\"font-weight: 400;\"> se d\u00e1 a partir do comando abaixo. Para execut\u00e1-lo, indique corretamente as vari\u00e1veis, conforme a orienta\u00e7\u00e3o trazida logo abaixo<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Comando: [$ ssh -i ~\/Downloads\/minha-chave.key usuario@IP-da-VM]<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Sendo que:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">-i<\/span><span style=\"font-weight: 400;\">: indica o caminho da chave privada.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">usuario<\/span><span style=\"font-weight: 400;\">: \u00e9 o nome de login padr\u00e3o do sistema da VM.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">IP-da-VM<\/span><span style=\"font-weight: 400;\">: \u00e9 o endere\u00e7o IP p\u00fablico da sua m\u00e1quina virtual.<\/span>&nbsp;<\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">Exemplo: [$ ssh -i ~\/Downloads\/minha-chave.key meuUsuario@203.0.113.10]<\/span><\/p>\n<h2><strong>2. Conex\u00e3o via PuTTY (Windows)<\/strong><\/h2>\n    \t\t<div class=\"hts-messages hts-messages--alert  hts-messages--withtitle hts-messages--withicon \"   >\r\n    \t\t\t<span class=\"hts-messages__title\">Importante!<\/span>    \t\t\t    \t\t\t\t<p>\r\n    \t\t\t\t\t\n<p>Antes de come\u00e7ar:<\/p>\n<ul>\n<li><span style=\"font-weight: 400;\">Certifique-se de que sua <\/span>VM<span style=\"font-weight: 400;\"> est\u00e1 <\/span>em execu\u00e7\u00e3o e devidamente associada a um IP p\u00fablico<span style=\"font-weight: 400;\">.\u00a0<\/span><\/li>\n<li aria-level=\"1\"><span style=\"font-weight: 400;\">Tenha sua chave privada (<\/span><span style=\"font-weight: 400;\">.key<\/span><span style=\"font-weight: 400;\">) salva localmente, ou <\/span><a href=\"https:\/\/www.locaweb.com.br\/ajuda\/wiki\/como-criar-e-usar-chaves-ssh-em-vms\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">gere-a<\/span><\/a><span style=\"font-weight: 400;\">, caso n\u00e3o tenha feito esse processo.<\/span><\/li>\n<li><span style=\"font-weight: 400;\">Tenha programas <\/span><b>PuTTY<\/b><span style=\"font-weight: 400;\"> e <\/span><b>PuTTYgen<\/b> <a href=\"https:\/\/www.putty.org\/\"><span style=\"font-weight: 400;\">instalados<\/span><\/a><span style=\"font-weight: 400;\">. <\/span>    \t\t\t\t<\/p>\r\n    \t\t\t    \t\t\t\r\n    \t\t<\/div><!-- \/.ht-shortcodes-messages -->\r\n    \t\t<\/li>\n<\/ul>\n<h3><b>Passo 1 &#8211; Convers\u00e3o da chave<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">O programa PuTTY n\u00e3o aceita o formato <\/span><span style=\"font-weight: 400;\">.key<\/span><span style=\"font-weight: 400;\">. Por isso, \u00e9 necess\u00e1rio convert\u00ea-la para <\/span><span style=\"font-weight: 400;\">.ppk,<\/span><span style=\"font-weight: 400;\"> usando o <\/span><b>PuTTYgen, <\/b><span style=\"font-weight: 400;\">que vem junto com o PuTTY<\/span><b>. <\/b><span style=\"font-weight: 400;\">Basta seguir os passos a seguir:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Abra o PuTTYgen<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-37869\" src=\"https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/07\/passo1_putty_key_generator.png\" alt=\"\" width=\"610\" height=\"477\" srcset=\"https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/07\/passo1_putty_key_generator.png 610w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/07\/passo1_putty_key_generator-300x235.png 300w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/07\/passo1_putty_key_generator-50x39.png 50w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/07\/passo1_putty_key_generator-60x47.png 60w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/07\/passo1_putty_key_generator-100x78.png 100w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><\/li>\n<\/ul>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Clique no bot\u00e3o <\/span><b>load <\/b><span style=\"font-weight: 400;\">\u2014 no canto inferior direito da tela \u2014 e selecione o arquivo <\/span><span style=\"font-weight: 400;\">.key<\/span><span style=\"font-weight: 400;\">. Na hora de carregar o arquivo, ao abrir o seletor, lembre-se de selecionar a op\u00e7\u00e3o <\/span><b>todos os arquivos. <\/b><span style=\"font-weight: 400;\">Assim, vai localizar o seu <\/span><span style=\"font-weight: 400;\">.pem<\/span><span style=\"font-weight: 400;\">.<\/span>&nbsp;<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Clique em <\/span><b>save private key<\/b><span style=\"font-weight: 400;\"> e salve sua chave no formato<\/span><span style=\"font-weight: 400;\">.ppk<\/span><span style=\"font-weight: 400;\">.<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><span style=\"font-weight: 400;\">Nesse momento, voc\u00ea receber\u00e1 um aviso referente \u00e0 poss\u00edvel gera\u00e7\u00e3o de senha para o uso da chave. Se n\u00e3o quiser determinar um c\u00f3digo de acesso, pode ignorar o alerta.<\/span><\/li>\n<\/ul>\n<h3><b>Passo 2 &#8211; Configura\u00e7\u00e3o do acesso no PuTTY<\/b><\/h3>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Abra o PuTTY<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-37870\" src=\"https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/07\/passo_2_putty_configuration.png\" alt=\"\" width=\"456\" height=\"451\" srcset=\"https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/07\/passo_2_putty_configuration.png 456w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/07\/passo_2_putty_configuration-300x297.png 300w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/07\/passo_2_putty_configuration-50x50.png 50w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/07\/passo_2_putty_configuration-60x60.png 60w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/07\/passo_2_putty_configuration-100x100.png 100w\" sizes=\"auto, (max-width: 456px) 100vw, 456px\" \/><\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">No campo <\/span><b>host Name (or IP address)<\/b><span style=\"font-weight: 400;\">, da \u00e1rea superior da tela, digite o comando [usuario@IP-da-VM], considerando que:<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">A palavra <\/span><span style=\"font-weight: 400;\">usuario<\/span><span style=\"font-weight: 400;\"> deve ser substitu\u00edda pelo seu usu\u00e1rio.<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><span style=\"font-weight: 400;\">Exemplo: <\/span><span style=\"font-weight: 400;\">ubuntu@203.0.113.10<\/span><\/li>\n<\/ul>\n<ol start=\"3\">\n<li><span style=\"font-weight: 400;\"> No menu da lateral esquerda, escolha a op\u00e7\u00e3o <\/span><b>connection<\/b><span style=\"font-weight: 400;\">, em seguida, clique em<\/span><b> SSH, <\/b><span style=\"font-weight: 400;\">depois em <\/span><b>auth <\/b><span style=\"font-weight: 400;\">e, por fim, selecione<\/span><b> credentials. <\/b><span style=\"font-weight: 400;\">Ent\u00e3o, ver\u00e1 o modal abaixo:<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-37871\" src=\"https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/07\/passo_2_3_putty_configuration_credentials.png\" alt=\"\" width=\"457\" height=\"449\" srcset=\"https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/07\/passo_2_3_putty_configuration_credentials.png 457w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/07\/passo_2_3_putty_configuration_credentials-300x295.png 300w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/07\/passo_2_3_putty_configuration_credentials-50x50.png 50w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/07\/passo_2_3_putty_configuration_credentials-60x60.png 60w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/07\/passo_2_3_putty_configuration_credentials-100x98.png 100w\" sizes=\"auto, (max-width: 457px) 100vw, 457px\" \/><\/span><\/li>\n<li><span style=\"font-weight: 400;\"> Para preencher o campo <\/span><b>private key file for authentication<\/b><span style=\"font-weight: 400;\">, clique em <\/span><b>browse<\/b><span style=\"font-weight: 400;\"> e selecione seu <\/span><span style=\"font-weight: 400;\">.ppk<\/span><span style=\"font-weight: 400;\">.<\/span><\/li>\n<\/ol>\n<h3><b>Passo 3 &#8211; Conex\u00e3o da VM<\/b><\/h3>\n<p><b><\/b><span style=\"font-weight: 400;\">Chegou a hora de finalizar o processo. Para isso, voc\u00ea deve:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Voltar \u00e0 <\/span><b>tela principal do PuTTY<\/b><span style=\"font-weight: 400;\">.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Clicar em <\/span><b>open<\/b><span style=\"font-weight: 400;\">.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Confirmar a primeira conex\u00e3o<\/b><span style=\"font-weight: 400;\"> no aviso de seguran\u00e7a.<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><\/li>\n<\/ul>\n    \t\t<div class=\"hts-messages hts-messages--info  hts-messages--withtitle hts-messages--withicon \"   >\r\n    \t\t\t<span class=\"hts-messages__title\">Pronto!<\/span>    \t\t\t    \t\t\t\t<p>\r\n    \t\t\t\t\t<span style=\"font-weight: 400;\">Voc\u00ea ser\u00e1 <\/span><b>conectado \u00e0 VM, sem necessidade de senha<\/b><span style=\"font-weight: 400;\">.<\/span>    \t\t\t\t<\/p>\r\n    \t\t\t    \t\t\t\r\n    \t\t<\/div><!-- \/.ht-shortcodes-messages -->\r\n    \t\t\n    \t\t<div class=\"hts-messages hts-messages--alert  hts-messages--withtitle hts-messages--withicon \"   >\r\n    \t\t\t<span class=\"hts-messages__title\">Importante!<\/span>    \t\t\t    \t\t\t\t<p>\r\n    \t\t\t\t\t<span style=\"font-weight: 400;\">Salve essa configura\u00e7\u00e3o como um <\/span><b>perfil no PuTTY<\/b><span style=\"font-weight: 400;\"> para facilitar conex\u00f5es futuras.<\/span>    \t\t\t\t<\/p>\r\n    \t\t\t    \t\t\t\r\n    \t\t<\/div><!-- \/.ht-shortcodes-messages -->\r\n    \t\t\n<h2><span style=\"font-weight: 400;\">3. Conex\u00e3o via clientes gr\u00e1ficos<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">O Locaweb Cloud tamb\u00e9m possibilita a conex\u00e3o com a VM via interfaces como <\/span><b>Termius<\/b><span style=\"font-weight: 400;\">, <\/span><b>MobaXterm<\/b><span style=\"font-weight: 400;\">, <\/span><b>Visual Studio Code (Remote SSH)<\/b><span style=\"font-weight: 400;\"> ou outros clientes SSH dispon\u00edveis para Windows, macOS ou Linux.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Cada um desses aplicativos possui seu pr\u00f3prio fluxo de configura\u00e7\u00e3o. Por isso, o ideal \u00e9 que voc\u00ea consulte o <\/span><b>tutorial<\/b> <b>do cliente que vai utilizar e siga as orienta\u00e7\u00f5es espec\u00edficas. <\/b><span style=\"font-weight: 400;\">Para ajudar nesse processo, j\u00e1 adiantamos que voc\u00ea precisar\u00e1 da seguintes informa\u00e7\u00f5es<\/span><\/p>\n<ul>\n<li aria-level=\"1\"><b>IP p\u00fablico da VM.<\/b><\/li>\n<\/ul>\n<ul>\n<li aria-level=\"1\"><b>Usu\u00e1rio <\/b><span style=\"font-weight: 400;\">do sistema (ex: <\/span><span style=\"font-weight: 400;\">locaweb<\/span><span style=\"font-weight: 400;\">, <\/span><span style=\"font-weight: 400;\">app-dev<\/span><span style=\"font-weight: 400;\">, <\/span><span style=\"font-weight: 400;\">root<\/span><span style=\"font-weight: 400;\">).<\/span><\/li>\n<\/ul>\n<ul>\n<li aria-level=\"1\"><b>Arquivo da chave privada (.key)<\/b><span style=\"font-weight: 400;\"> gerado no momento da cria\u00e7\u00e3o.<\/span><\/li>\n<\/ul>\n<ul>\n<li aria-level=\"1\"><span style=\"font-weight: 400;\">Permiss\u00f5es corretas.<\/span><\/li>\n<\/ul>\n<h3><span style=\"font-weight: 400;\">Pr\u00f3ximos passos<\/span><\/h3>\n<h3>Criar um disco adicional para a VM<\/h3>\n<p><span style=\"font-weight: 400;\">Se o disco principal da sua VM n\u00e3o \u00e9 suficiente, voc\u00ea pode ampliar o espa\u00e7o de armazenamento. <\/span><a href=\"https:\/\/www.locaweb.com.br\/ajuda\/wiki\/como-adicionar-um-disco-secundario-a-minha-vm\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">Criar e anexar um disco adicional<\/span><\/a><span style=\"font-weight: 400;\"> permite separar os dados do sistema operacional. Isso facilita backups, aumenta a organiza\u00e7\u00e3o e oferece mais flexibilidade para seus dados.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u00c9 um processo que acontece a partir de tr\u00eas m\u00e9todos principais: Terminal (Linux\/macOS) PuTTY (Windows) Clientes gr\u00e1ficos (ex: Termius, MobaXterm, VS Code) Neste tutorial, voc\u00ea vai saber exatamente como proceder em cada caso. Pr\u00e9-requisito 1. IP P\u00fablico Configurado A conex\u00e3o SSH exige um endere\u00e7o IP acess\u00edvel pela internet. Verifique se:&#8230;<\/p>\n","protected":false},"author":29,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[666],"ht-kb-tag":[],"class_list":["post-37868","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-locaweb-cloud"],"_links":{"self":[{"href":"https:\/\/www.locaweb.com.br\/ajuda\/wp-json\/wp\/v2\/ht-kb\/37868","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.locaweb.com.br\/ajuda\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/www.locaweb.com.br\/ajuda\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.locaweb.com.br\/ajuda\/wp-json\/wp\/v2\/users\/29"}],"replies":[{"embeddable":true,"href":"https:\/\/www.locaweb.com.br\/ajuda\/wp-json\/wp\/v2\/comments?post=37868"}],"version-history":[{"count":3,"href":"https:\/\/www.locaweb.com.br\/ajuda\/wp-json\/wp\/v2\/ht-kb\/37868\/revisions"}],"predecessor-version":[{"id":38130,"href":"https:\/\/www.locaweb.com.br\/ajuda\/wp-json\/wp\/v2\/ht-kb\/37868\/revisions\/38130"}],"wp:attachment":[{"href":"https:\/\/www.locaweb.com.br\/ajuda\/wp-json\/wp\/v2\/media?parent=37868"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.locaweb.com.br\/ajuda\/wp-json\/wp\/v2\/ht-kb-category?post=37868"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.locaweb.com.br\/ajuda\/wp-json\/wp\/v2\/ht-kb-tag?post=37868"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}