{"id":1430,"date":"2019-01-20T16:24:10","date_gmt":"2019-01-20T08:24:10","guid":{"rendered":"https:\/\/www.techcoil.com\/blog\/?p=1430"},"modified":"2019-01-20T16:24:10","modified_gmt":"2019-01-20T08:24:10","slug":"different-ways-to-enable-ssh-server-on-raspbian-stretch","status":"publish","type":"post","link":"https:\/\/www.techcoil.com\/blog\/different-ways-to-enable-ssh-server-on-raspbian-stretch\/","title":{"rendered":"Different ways to enable SSH server on Raspbian Stretch"},"content":{"rendered":"<p>When you have an SSH server running on your operating system, you will be able configure it remotely. Since the SSH server is such a convenient tool, Raspbian Stretch comes with an SSH server. <\/p>\n<p>When you are looking for a way to configure your Raspberry Pi without attaching a <a href=\"https:\/\/www.amazon.com\/Logitech-K120-Wired-Standard-Keyboard\/dp\/B00ODDJHU4\/ref=as_li_ss_tl?ie=UTF8&linkCode=ll1&tag=clivsperswebs-20&linkId=71ae6448bd552e08a1c017d09af66ca5&language=en_US\" rel=\"noopener\" target=\"_blank\">keyboard<\/a> to it, enabling SSH server on Raspbian Stretch is a viable way.<\/p>\n<p>Given that, this post discusses some ways for us to enable SSH server on Raspbian Stretch.<\/p>\n<h2>Enabling SSH server on Raspbian Stretch at the first run<\/h2>\n<p>Undeniably, the best way to enable SSH server on Raspbian Stretch is when it runs for the first time. In order to do so, create a file named <strong>ssh<\/strong> in the root directory of your microSD card right after you install Raspbian Stretch. For example, <a href=\"https:\/\/www.techcoil.com\/blog\/how-to-setup-raspbian-stretch-lite-with-ssh-server-enabled-on-your-microsd-card\/\" rel=\"noopener\" target=\"_blank\">this is how to setup Raspbian Stretch Lite with SSH server enabled on your microSD card<\/a>.  <\/p>\n<h2>Enabling SSH server on Raspbian Stretch via the windowing system<\/h2>\n<p>Even if you did not enable the SSH server on Raspbian Stretch at the first run, there are still chances for you to enable it. <\/p>\n<p>When you have a <a href=\"https:\/\/www.amazon.com\/s\/ref=as_li_ss_tl?k=HDMI+monitor&ref=nb_sb_noss&linkCode=ll2&tag=clivsperswebs-20&linkId=1b8a487e34236fa71e30830a9b056ff7&language=en_US\" rel=\"noopener\" target=\"_blank\">HDMI monitor<\/a> and a <a href=\"https:\/\/www.amazon.com\/s\/ref=as_li_ss_tl?k=usb+mouse&ref=nb_sb_noss&linkCode=ll2&tag=clivsperswebs-20&linkId=a9451efb7300db68675c6bd38ad0188a&language=en_US\" rel=\"noopener\" target=\"_blank\">mouse<\/a> connected to your Raspberry Pi, you can enable SSH server via the windowing system. <\/p>\n<p>First, click on the Raspberry Pi icon at the top left corner and navigate to <strong>Preferences -> Raspberry Pi Configuration<\/strong>:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.techcoil.com\/blog\/wp-content\/uploads\/Raspbian-Stretch-20181113-with-Raspberry-Pi-Configuration-highlighted.jpg\" alt=\"Raspbian Stretch 20181113 with Raspberry Pi Configuration highlighted\" \/><\/p>\n<p>After you had done so, the Raspberry Pi Configuration program will appear:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.techcoil.com\/blog\/wp-content\/uploads\/Raspbian-Stretch-20181113-with-Raspberry-Pi-Configuration-program-with-System-tab-selected.jpg\" alt=\"Raspbian Stretch 20181113 with Raspberry Pi Configuration program with System tab selected\" \/><\/p>\n<p>Next, click on the <strong>Interfaces<\/strong> tab and you will see the interfacing options for your Raspberry Pi. Given that, click on the <strong>Enable<\/strong> option for <strong>SSH<\/strong>:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.techcoil.com\/blog\/wp-content\/uploads\/Enabling-SSH-with-Raspberry-Pi-Configuration-program-on-Raspbian-Stretch-20181113.jpg\" alt=\"Enabling SSH with Raspberry Pi Configuration program on Raspbian Stretch 20181113\"\/><\/p>\n<p>After you click <strong>Ok<\/strong>, the SSH server will be enabled on your Raspbian Stretch.<\/p>\n<h2>Enabling SSH server on Raspbian Stretch via raspi-config<\/h2>\n<p>When you have a keyboard, a <a href=\"https:\/\/www.amazon.com\/s\/ref=as_li_ss_tl?k=HDMI+monitor&ref=nb_sb_noss&linkCode=ll2&tag=clivsperswebs-20&linkId=1b8a487e34236fa71e30830a9b056ff7&language=en_US\" rel=\"noopener\" target=\"_blank\">HDMI monitor<\/a> and a <a href=\"https:\/\/www.amazon.com\/s\/ref=as_li_ss_tl?k=usb+mouse&ref=nb_sb_noss&linkCode=ll2&tag=clivsperswebs-20&linkId=a9451efb7300db68675c6bd38ad0188a&language=en_US\" rel=\"noopener\" target=\"_blank\">mouse<\/a> and a <a href=\"https:\/\/www.amazon.com\/s\/ref=as_li_ss_tl?k=HDMI+monitor&ref=nb_sb_noss&linkCode=ll2&tag=clivsperswebs-20&linkId=1b8a487e34236fa71e30830a9b056ff7&language=en_US\" rel=\"noopener\" target=\"_blank\">HDMI monitor<\/a> connected to your Raspberry Pi, you can also use <code>raspi-config<\/code> to enable SSH server. <\/p>\n<p>First, open a Terminal window by clicking on the highlighted icon at the top:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.techcoil.com\/blog\/wp-content\/uploads\/Raspbian-Stretch-20181113-desktop-with-a-terminal-window.jpg\" alt=\"Raspbian Stretch 20181113 desktop with a terminal window\"\/><\/p>\n<p>Once the terminal window had started, type the following command in the terminal window:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nsudo raspi-config\r\n<\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/www.techcoil.com\/blog\/wp-content\/uploads\/Raspbian-Stretch-20181113-terminal-window-with-sudo-raspi-config.jpg\" alt=\"Raspbian Stretch 20181113 terminal window with sudo raspi-config\"\/><\/p>\n<p>After <code>raspi-config<\/code> loads in your terminal, go through the following screens to enable SSH server on your Raspbian:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.techcoil.com\/blog\/wp-content\/uploads\/raspi-config-on-Raspbian-Stretch-20181113-with-Interfacing-Options-selected.jpg\" alt=\"raspi-config on Raspbian Stretch 20181113 with Interfacing Options selected\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.techcoil.com\/blog\/wp-content\/uploads\/raspi-config-on-Raspbian-Stretch-20181113-with-SSH-selected.jpg\" alt=\"raspi-config on Raspbian Stretch 20181113 with SSH selected\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.techcoil.com\/blog\/wp-content\/uploads\/raspi-config-on-Raspbian-Stretch-20181113-with-Yes-selected-for-confirmation-to-enable-SSH-server.jpg\" alt=\"raspi-config on Raspbian Stretch 20181113 with Yes selected for confirmation to enable SSH server\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.techcoil.com\/blog\/wp-content\/uploads\/raspi-config-on-Raspbian-Stretch-20181113-with-confirmation-message-that-SSH-server-had-been-enabled.png\" alt=\"raspi-config on Raspbian Stretch 20181113 with confirmation message that SSH server had been enabled\" \/><\/p>\n<p>After you had gone through the above screens, the SSH server on your Raspbian Stretch will be enabled.<\/p>\n\n      <ul id=\"social-sharing-buttons-list\">\n        <li class=\"facebook\">\n          <a href=\"https:\/\/www.facebook.com\/sharer\/sharer.php?u=https%3A%2F%2Fwp.me%2Fp245TQ-n4\" target=\"_blank\" role=\"button\" rel=\"nofollow\">\n            <img decoding=\"async\" src=\"\/ph\/img\/3rd-party\/social-icons\/Facebook.png\" alt=\"Facebook icon\"> Share\n          <\/a>\n        <\/li>\n        <li class=\"twitter\">\n          <a href=\"https:\/\/twitter.com\/intent\/tweet?text=&url=https%3A%2F%2Fwp.me%2Fp245TQ-n4&via=Techcoil_com\" target=\"_blank\" role=\"button\" rel=\"nofollow\">\n          <img decoding=\"async\" src=\"\/ph\/img\/3rd-party\/social-icons\/Twitter.png\" alt=\"Twitter icon\"> Tweet\n          <\/a>\n        <\/li>\n        <li class=\"linkedin\">\n          <a href=\"https:\/\/www.linkedin.com\/shareArticle?mini=1&title=&url=https%3A%2F%2Fwp.me%2Fp245TQ-n4&source=https:\/\/www.techcoil.com\" target=\"_blank\" role=\"button\" rel=\"nofollow\">\n          <img decoding=\"async\" src=\"\/ph\/img\/3rd-party\/social-icons\/linkedin.png\" alt=\"Linkedin icon\"> Share\n          <\/a>\n        <\/li>\n        <li class=\"pinterest\">\n          <a href=\"https:\/\/pinterest.com\/pin\/create\/button\/?url=https%3A%2F%2Fwww.techcoil.com%2Fblog%2Fwp-json%2Fwp%2Fv2%2Fposts%2F1430&description=\" class=\"pin-it-button\" target=\"_blank\" role=\"button\" rel=\"nofollow\" count-layout=\"horizontal\">\n          <img decoding=\"async\" src=\"\/ph\/img\/3rd-party\/social-icons\/Pinterest.png\" alt=\"Pinterest icon\"> Save\n          <\/a>\n        <\/li>\n      <\/ul>\n    ","protected":false},"excerpt":{"rendered":"<p>When you have an SSH server running on your operating system, you will be able configure it remotely. Since the SSH server is such a convenient tool, Raspbian Stretch comes with an SSH server. <\/p>\n<p>When you are looking for a way to configure your Raspberry Pi without attaching a <a href=\"https:\/\/www.amazon.com\/Logitech-K120-Wired-Standard-Keyboard\/dp\/B00ODDJHU4\/ref=as_li_ss_tl?ie=UTF8&#038;linkCode=ll1&#038;tag=clivsperswebs-20&#038;linkId=71ae6448bd552e08a1c017d09af66ca5&#038;language=en_US\" rel=\"noopener\" target=\"_blank\">keyboard<\/a> to it, enabling SSH server on Raspbian Stretch is a viable way.<\/p>\n<p>Given that, this post discusses some ways for us to enable SSH server on Raspbian Stretch.<\/p>\n","protected":false},"author":1,"featured_media":1433,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"footnotes":""},"categories":[4],"tags":[240,412,557,596,452,438],"jetpack_featured_media_url":"https:\/\/www.techcoil.com\/blog\/wp-content\/uploads\/Enabling-SSH-with-Raspberry-Pi-Configuration-program-on-Raspbian-Stretch-20181113.jpg","jetpack_shortlink":"https:\/\/wp.me\/p245TQ-n4","jetpack-related-posts":[],"jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.techcoil.com\/blog\/wp-json\/wp\/v2\/posts\/1430"}],"collection":[{"href":"https:\/\/www.techcoil.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.techcoil.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.techcoil.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.techcoil.com\/blog\/wp-json\/wp\/v2\/comments?post=1430"}],"version-history":[{"count":0,"href":"https:\/\/www.techcoil.com\/blog\/wp-json\/wp\/v2\/posts\/1430\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.techcoil.com\/blog\/wp-json\/wp\/v2\/media\/1433"}],"wp:attachment":[{"href":"https:\/\/www.techcoil.com\/blog\/wp-json\/wp\/v2\/media?parent=1430"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techcoil.com\/blog\/wp-json\/wp\/v2\/categories?post=1430"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techcoil.com\/blog\/wp-json\/wp\/v2\/tags?post=1430"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}