{"id":4527,"date":"2021-05-11T08:57:01","date_gmt":"2021-05-11T08:57:01","guid":{"rendered":"https:\/\/swiv.com.br\/connecting-putty-to-the-oci-db-system\/"},"modified":"2026-05-27T20:02:32","modified_gmt":"2026-05-27T19:02:32","slug":"connecting-putty-to-the-oci-db-system","status":"publish","type":"post","link":"https:\/\/swiv.com.br\/index.php\/2021\/05\/11\/connecting-putty-to-the-oci-db-system\/","title":{"rendered":"Connecting Putty to the OCI DB System"},"content":{"rendered":"\n<p>Uma vez que o nosso DB System est\u00e1 criado e dispon\u00edvel no OCI, podemos conectar no ambiente pela camada de sistema operacional. Neste artigo vamos explorar essa possibilidade atrav\u00e9s da ferramenta Putty.<\/p>\n\n\n\n<p>Vamos verificar se o nosso Node est\u00e1 ligado, e coletar o seu IP (no meu caso, um IP p\u00fablico):<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-142-1024x284.png\" alt=\"\" class=\"wp-image-7747\"\/><\/figure>\n\n\n\n<p>Abrindo o Putty e colocando o novo IP no campo hostname:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-143.png\" alt=\"\" class=\"wp-image-7748\"\/><\/figure>\n\n\n\n<p>Agora vamos expandir as op\u00e7\u00f5es Connection -&gt; SSH -&gt; Auth -&gt; browse, e selecionamos o arquivo com extens\u00e3o ppk que criamos anteriormente:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-144.png\" alt=\"\" class=\"wp-image-7749\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-145-1024x460.png\" alt=\"\" class=\"wp-image-7750\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-146.png\" alt=\"\" class=\"wp-image-7751\"\/><\/figure>\n\n\n\n<p>Agora vamos op\u00e7\u00e3o SSH -> Data e preenchemos o campo &#8220;Auto-login username&#8221; com o valor &#8220;opc&#8221;, que \u00e9 o usu\u00e1rio de Sistema Operacional cedido pela Oracle para conex\u00e3o ao DB System:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-147.png\" alt=\"\" class=\"wp-image-7752\"\/><\/figure>\n\n\n\n<p>Depois podemos ir at\u00e9 Connection e definir o campo &#8220;seconds between keepalives&#8221; para 5 segundos:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-148.png\" alt=\"\" class=\"wp-image-7754\"\/><\/figure>\n\n\n\n<p>Agora podemos salvar as configura\u00e7\u00f5es conforme abaixo:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-149.png\" alt=\"\" class=\"wp-image-7755\"\/><\/figure>\n\n\n\n<p>Clicando em Open:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-150.png\" alt=\"\" class=\"wp-image-7756\"\/><\/figure>\n\n\n\n<p>Clicando em SIM:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-151.png\" alt=\"\" class=\"wp-image-7757\"\/><\/figure>\n\n\n\n<p>A conex\u00e3o SSH \u00e9 realizada com sucesso. Nos pr\u00f3ximos artigos vamos explorar um pouco mais sobre a camada de Sistema Operacional deste DB System:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-152-1024x522.png\" alt=\"\" class=\"wp-image-7758\"\/><\/figure>\n\n\n\n<p>Obs: Este procedimento foi criado pelo senhor Ahmed Baraka (www.ahmedbaraka.com) e foi apenas reproduzido por mim em um laborat\u00f3rio pessoal para fins de aprendizado.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Uma vez que o nosso DB System est\u00e1 criado e dispon\u00edvel no OCI, podemos conectar no ambiente pela camada de sistema operacional. Neste artigo vamos explorar essa possibilidade atrav\u00e9s da ferramenta Putty. Vamos verificar se o nosso Node est\u00e1 ligado, e coletar o seu IP (no meu caso, um IP p\u00fablico): Abrindo o Putty e [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-4527","post","type-post","status-publish","format-standard","hentry","category-oci"],"_links":{"self":[{"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/posts\/4527","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/comments?post=4527"}],"version-history":[{"count":1,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/posts\/4527\/revisions"}],"predecessor-version":[{"id":9141,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/posts\/4527\/revisions\/9141"}],"wp:attachment":[{"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/media?parent=4527"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/categories?post=4527"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/tags?post=4527"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}