{"id":1953,"date":"2020-01-22T02:56:19","date_gmt":"2020-01-22T02:56:19","guid":{"rendered":"https:\/\/lamp.ciscoar.com\/?page_id=1953"},"modified":"2020-02-05T14:01:11","modified_gmt":"2020-02-05T14:01:11","slug":"securecrt-new-session","status":"publish","type":"page","link":"https:\/\/lamp.ciscoar.com\/?page_id=1953","title":{"rendered":"SecureCRT new session"},"content":{"rendered":"\n\n\n<h2 class=\"wp-block-heading\">Public-key authentication <\/h2>\n\n\n\n<p>Due that at this point in our LAMP journey we are still working on a LAB, we&#8217;re not going to pay much attention to security measures, authentication via <strong>username\/password<\/strong> is good enough for a LAB environment, but you must know that there is a more secure option, and in fact this option is nowadays the standard when connecting to <strong>VPS<\/strong> (Virtual Private Server), we are talking about the &#8220;<strong>Public-Key Authentication<\/strong>&#8221; method, where we make use of a pair of SSH keys Public\/Private, this particular subject is covered in <a rel=\"noreferrer noopener\" aria-label=\"this article (opens in a new tab)\" href=\"\/ssh-public-and-private-keys\/#Public_key_authentication\" target=\"_blank\">this article<\/a>. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to create a new folder on SecureCRT<\/h2>\n\n\n\n<p>The best way to organize the multiple sessions you may have is making use of folders, and that&#8217;s one of the reasons why I personally use SecureCRT.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/secure-crt-new-folder.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"574\" height=\"317\" src=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/secure-crt-new-folder.jpg\" alt=\"\" class=\"wp-image-1955\" srcset=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/secure-crt-new-folder.jpg 574w, https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/secure-crt-new-folder-300x166.jpg 300w\" sizes=\"auto, (max-width: 574px) 100vw, 574px\" \/><\/a><figcaption>SecureCRT create a new folder<\/figcaption><\/figure><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/secure-crt-new-folder-02.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"494\" height=\"341\" src=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/secure-crt-new-folder-02.jpg\" alt=\"\" class=\"wp-image-1956\" srcset=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/secure-crt-new-folder-02.jpg 494w, https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/secure-crt-new-folder-02-300x207.jpg 300w\" sizes=\"auto, (max-width: 494px) 100vw, 494px\" \/><\/a><figcaption>SecureCRT new folder has been created<\/figcaption><\/figure><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/secure-crt-new-folder-03.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"492\" height=\"333\" src=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/secure-crt-new-folder-03.jpg\" alt=\"\" class=\"wp-image-1957\" srcset=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/secure-crt-new-folder-03.jpg 492w, https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/secure-crt-new-folder-03-300x203.jpg 300w\" sizes=\"auto, (max-width: 492px) 100vw, 492px\" \/><\/a><figcaption>SecureCRT new folder&#8217;s name<\/figcaption><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">How to create a new Session on SecureCRT<\/h2>\n\n\n\n<p>Immediately after the creation of a new folder you may want to create a new session, the wizard will guide you and you&#8217;ll be able to choose the connection protocol, <a rel=\"noreferrer noopener\" aria-label=\"telnet (opens in a new tab)\" href=\"\/telnet-vs-ssh\/\" target=\"_blank\">telnet<\/a>, <a rel=\"noreferrer noopener\" aria-label=\"SSH (opens in a new tab)\" href=\"\/telnet-vs-ssh\/\" target=\"_blank\">SSH<\/a>, etc, and also to enter the user credentials, in this example we&#8217;re going to authenticate ourselves using a the pair username\/password.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/secure-crt-new-session-01.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"489\" height=\"333\" src=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/secure-crt-new-session-01.jpg\" alt=\"\" class=\"wp-image-1959\" srcset=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/secure-crt-new-session-01.jpg 489w, https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/secure-crt-new-session-01-300x204.jpg 300w\" sizes=\"auto, (max-width: 489px) 100vw, 489px\" \/><\/a><figcaption>SecureCRT new session<\/figcaption><\/figure><\/div>\n\n\n\n<p>One important detail to notice in the following image is the SSH version that is going to be used on this session, SSH2 means that we&#8217;re going to use SSH version 2.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/secure-crt-new-session-02.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"523\" height=\"353\" src=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/secure-crt-new-session-02.jpg\" alt=\"\" class=\"wp-image-1960\" srcset=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/secure-crt-new-session-02.jpg 523w, https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/secure-crt-new-session-02-300x202.jpg 300w\" sizes=\"auto, (max-width: 523px) 100vw, 523px\" \/><\/a><figcaption>SecureCRT selecting the connection protocol<\/figcaption><\/figure><\/div>\n\n\n\n<p>Those of you who have installed CentOS 7 and want to know the current version of SSH on your machine can take a look at <a rel=\"noreferrer noopener\" aria-label=\"this article (opens in a new tab)\" href=\"\/telnet-vs-ssh\/#Checking_Open_SSH_version_on_CentOS_7\" target=\"_blank\">this article<\/a>.<\/p>\n\n\n\n<p>If you don&#8217;t know the IP Address of your Virtual Machine you can take a look at <a href=\"\/centos-ip-address\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"this article. (opens in a new tab)\">this article.<\/a><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/secure-crt-new-session-03.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"523\" height=\"353\" src=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/secure-crt-new-session-03.jpg\" alt=\"\" class=\"wp-image-1961\" srcset=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/secure-crt-new-session-03.jpg 523w, https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/secure-crt-new-session-03-300x202.jpg 300w\" sizes=\"auto, (max-width: 523px) 100vw, 523px\" \/><\/a><figcaption>SecureCRT session IP Address and TCP port<\/figcaption><\/figure><\/div>\n\n\n\n<p>In case you&#8217;ve changed the TCP port number on your remote machine, don&#8217;t forget to change the port in this step of the session&#8217;s wizard.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/secure-crt-new-session-04.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"523\" height=\"353\" src=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/secure-crt-new-session-04.jpg\" alt=\"\" class=\"wp-image-1963\" srcset=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/secure-crt-new-session-04.jpg 523w, https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/secure-crt-new-session-04-300x202.jpg 300w\" sizes=\"auto, (max-width: 523px) 100vw, 523px\" \/><\/a><figcaption>SecureCRT session name<\/figcaption><\/figure><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/secure-crt-new-session-05.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"467\" height=\"351\" src=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/secure-crt-new-session-05.jpg\" alt=\"\" class=\"wp-image-1965\" srcset=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/secure-crt-new-session-05.jpg 467w, https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/secure-crt-new-session-05-300x225.jpg 300w\" sizes=\"auto, (max-width: 467px) 100vw, 467px\" \/><\/a><figcaption>SecureCRT new session completed<\/figcaption><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">How to open a Session<\/h2>\n\n\n\n<p>Once the wizard have gathered all the required information the new session will appear inside the recently created folder, you are ready to connect to your remote computer, in order to do that please be sure you&#8217;ve selected the correct session and then just double-click, SecureCRT will ask you to accept the <strong>Host Key<\/strong>, see below image.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><a href=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/secure-crt-accept-and-save-new-host-key.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/secure-crt-accept-and-save-new-host-key-1024x439.jpg\" alt=\"\" class=\"wp-image-2094\" width=\"768\" height=\"329\" srcset=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/secure-crt-accept-and-save-new-host-key-1024x439.jpg 1024w, https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/secure-crt-accept-and-save-new-host-key-300x129.jpg 300w, https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/secure-crt-accept-and-save-new-host-key-768x329.jpg 768w, https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/secure-crt-accept-and-save-new-host-key.jpg 1043w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><figcaption>SecureCRT accepting new Host Key<\/figcaption><\/figure><\/div>\n\n\n\n<p>Be sure to <strong>Accept and Save<\/strong> the new Host Key, doing so you avoid repeting this step every time you connect to your Virtual Machine, after accepting the new Host Key you&#8217;ll be prompted to enter your credentials.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/secure-crt-new-session-05-b.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"759\" height=\"358\" src=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/secure-crt-new-session-05-b.jpg\" alt=\"\" class=\"wp-image-1967\" srcset=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/secure-crt-new-session-05-b.jpg 759w, https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/secure-crt-new-session-05-b-300x142.jpg 300w\" sizes=\"auto, (max-width: 706px) 89vw, (max-width: 767px) 82vw, 740px\" \/><\/a><figcaption>SecureCRT authentication via username and password<\/figcaption><\/figure><\/div>\n\n\n\n<p>In case you don&#8217;t get the prompt to enter your username and password, you must check the following things:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a rel=\"noreferrer noopener\" aria-label=\"Check connectivity using ping (opens in a new tab)\" href=\"\/lan-and-wan-connectivity\/\" target=\"_blank\">Check connectivity using ping<\/a><\/li><li><a rel=\"noreferrer noopener\" aria-label=\"Be sure Open SSH is up and running (opens in a new tab)\" href=\"\/telnet-vs-ssh\/#Checking_Open_SSH_current_status\" target=\"_blank\">Be sure Open SSH is up and running<\/a><\/li><li><a href=\"\/ssh-included-by-default-on-firewalld\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"Check your firewall (firewalld) (opens in a new tab)\">Check your firewall (firewalld)<\/a><\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Successful SSH connection<\/h2>\n\n\n\n<p>Most of you will know that we&#8217;re working on a LAB by just looking at the IP Address <strong>192.168.0.21<\/strong> and you will accept the fact that we are using the &#8220;root&#8221; account most of the time, but for those of you who didn&#8217;t notice that let me clarify that when you connect to a real <strong>VPS<\/strong> (Virtual Private Server)&nbsp;the best practice is to use another account with &#8220;sudo&#8221; privileges.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/secure-crt-new-session-07.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"773\" height=\"349\" src=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/secure-crt-new-session-07.jpg\" alt=\"\" class=\"wp-image-1968\" srcset=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/secure-crt-new-session-07.jpg 773w, https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/secure-crt-new-session-07-300x135.jpg 300w, https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/secure-crt-new-session-07-768x347.jpg 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><figcaption>SecureCRT successful connection<\/figcaption><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Where to go next?<\/h2>\n\n\n\n<p>As you probably noticed the background color is white, that&#8217;s something we can modify usually to a more eyes comfortable color, mainly for the cases when you spend long hours working on your devices.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"\/securecrt-background-color\/\">SecureCRT session background<\/a><\/li><\/ul>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Public-key authentication Due that at this point in our LAMP journey we are still working on a LAB, we&#8217;re not going to pay much attention to security measures, authentication via username\/password is good enough for a LAB environment, but you must know that there is a more secure option, and in fact this option is &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/lamp.ciscoar.com\/?page_id=1953\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;SecureCRT new session&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1953","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/lamp.ciscoar.com\/index.php?rest_route=\/wp\/v2\/pages\/1953","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lamp.ciscoar.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/lamp.ciscoar.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/lamp.ciscoar.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/lamp.ciscoar.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1953"}],"version-history":[{"count":43,"href":"https:\/\/lamp.ciscoar.com\/index.php?rest_route=\/wp\/v2\/pages\/1953\/revisions"}],"predecessor-version":[{"id":2813,"href":"https:\/\/lamp.ciscoar.com\/index.php?rest_route=\/wp\/v2\/pages\/1953\/revisions\/2813"}],"wp:attachment":[{"href":"https:\/\/lamp.ciscoar.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1953"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}