{"id":1194,"date":"2022-09-21T11:00:00","date_gmt":"2022-09-21T16:00:00","guid":{"rendered":"https:\/\/techexperiencemx.com\/?p=1194"},"modified":"2022-09-16T21:12:34","modified_gmt":"2022-09-17T02:12:34","slug":"borra-automaticamente-historial-ssh-linux","status":"publish","type":"post","link":"https:\/\/techexperiencemx.com\/?p=1194","title":{"rendered":"Borra Automaticamente historial ssh Linux"},"content":{"rendered":"\n<p>Hola amigos hoy vamos a ver como borrar autom\u00e1ticamente el historial de nuestra conexiones ssh cada que cerramos sesi\u00f3n un corto tutor\u00edal agregando una linea en nuestro \u00ab.bash_logout\u00bb<\/p>\n\n\n\n<p>iniciamos sesi\u00f3n en nuestro ssh y ejecutamos<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">nano ~\/.bash_logout<\/pre>\n\n\n\n<p>pegamos <\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">echo \"\" > ~\/.bash_history &amp;&amp; history -c &amp;&amp; exit<\/pre>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/techexperiencemx.com\/wp-content\/uploads\/2022\/09\/Captura-de-Pantalla-2022-09-16-a-las-21.03.32.png\" alt=\"\" class=\"wp-image-1196\" width=\"571\" height=\"369\" srcset=\"https:\/\/techexperiencemx.com\/wp-content\/uploads\/2022\/09\/Captura-de-Pantalla-2022-09-16-a-las-21.03.32.png 571w, https:\/\/techexperiencemx.com\/wp-content\/uploads\/2022\/09\/Captura-de-Pantalla-2022-09-16-a-las-21.03.32-300x194.png 300w\" sizes=\"auto, (max-width: 571px) 100vw, 571px\" \/><\/figure>\n\n\n\n<p>guardamos con control + x as\u00ed cada vez que escribamos exit en nuestra terminal se borrara todos los comandos introducidos anteriormente <\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hola amigos hoy vamos a ver como borrar autom\u00e1ticamente el historial de nuestra conexiones ssh cada que cerramos sesi\u00f3n un corto tutor\u00edal agregando una linea en nuestro \u00ab.bash_logout\u00bb iniciamos sesi\u00f3n en nuestro ssh y ejecutamos nano ~\/.bash_logout pegamos echo \u00ab\u00bb > ~\/.bash_history &amp;&amp; history -c &amp;&amp; exit guardamos con control + x as\u00ed cada vez [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1197,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"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":[21],"tags":[],"class_list":["post-1194","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-vps-cloud"],"_links":{"self":[{"href":"https:\/\/techexperiencemx.com\/index.php?rest_route=\/wp\/v2\/posts\/1194","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/techexperiencemx.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techexperiencemx.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techexperiencemx.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/techexperiencemx.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1194"}],"version-history":[{"count":0,"href":"https:\/\/techexperiencemx.com\/index.php?rest_route=\/wp\/v2\/posts\/1194\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/techexperiencemx.com\/index.php?rest_route=\/wp\/v2\/media\/1197"}],"wp:attachment":[{"href":"https:\/\/techexperiencemx.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1194"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techexperiencemx.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1194"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techexperiencemx.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1194"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}