{"id":197686,"date":"2021-03-09T16:00:47","date_gmt":"2021-03-09T13:00:47","guid":{"rendered":"https:\/\/en.buradabiliyorum.com\/how-to-set-up-custom-ssh-profiles-in-windows-terminal-cloudsavvy-it\/"},"modified":"2021-03-09T16:00:47","modified_gmt":"2021-03-09T13:00:47","slug":"how-to-set-up-custom-ssh-profiles-in-windows-terminal-cloudsavvy-it","status":"publish","type":"post","link":"https:\/\/buradabiliyorum.com\/en\/how-to-set-up-custom-ssh-profiles-in-windows-terminal-cloudsavvy-it\/","title":{"rendered":"#How to Set up Custom SSH Profiles in Windows Terminal \u2013 CloudSavvy IT"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_85 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-6a3cc57e4aa79\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #dd3333;color:#dd3333\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #dd3333;color:#dd3333\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-6a3cc57e4aa79\" checked aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/buradabiliyorum.com\/en\/how-to-set-up-custom-ssh-profiles-in-windows-terminal-cloudsavvy-it\/#Prerequisites\" >Prerequisites<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/buradabiliyorum.com\/en\/how-to-set-up-custom-ssh-profiles-in-windows-terminal-cloudsavvy-it\/#Customizing_Your_Profile\" >Customizing Your Profile<\/a><\/li><\/ul><\/nav><\/div>\n<p><strong>&#8220;#How to Set up Custom SSH Profiles in Windows Terminal \u2013 CloudSavvy IT&#8221;<\/strong><\/p>\n<div id=\"article-content-area\">\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10060\" src=\"https:\/\/www.cloudsavvyit.com\/thumbcache\/0\/0\/673b39671e81d87a106ddb20b3deec5a\/p\/uploads\/2021\/03\/29fc6c49.png\" alt=\"\" width=\"700\" height=\"300\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>The new Windows Terminal <a href=\"https:\/\/buradabiliyorum.com\/en\/category\/download-scripts-themes-apps\/\" data-internallinksmanager029f6b8e52c=\"9\" title=\"Download Scripts &amp; Themes &amp; Apps\" target=\"_blank\" rel=\"noopener\">app<\/a> is awesome\u2014one of the coolest features you can set up is custom SSH profiles that are available as a dropdown menu. This allows you to access your servers quickly without typing in the hostname every time!<\/p>\n<h2 role=\"heading\" aria-level=\"2\"><span class=\"ez-toc-section\" id=\"Prerequisites\"><\/span>Prerequisites<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>This feature is usually meant for separate profiles or instances, like Ubuntu WSL vs. Powershell vs. CMD. However, you have the ability to launch a profile and run a command, and that command can be <code>ssh<\/code>. It\u2019s a pretty simple setup, but extremely useful.<\/p>\n<p>To use this setup, you\u2019ll need the new <a rel=\"nofollow noopener\" target=\"_blank\" href=\"http:\/\/redirect.viglink.com?u=https%3A%2F%2Fwww.microsoft.com%2Fen-us%2Fp%2Fwindows-terminal-preview%2F9n0dx20hk701%3Factivetab%3Dpivot%3Aoverviewtab&amp;key=204a528a336ede4177fff0d84a044482\">Windows Terminal App<\/a>, which you can download from the Windows store. You\u2019ll <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/www.howtogeek.com\/249966\/how-to-install-and-use-the-linux-bash-shell-on-windows-10\/\">also need WSL installed<\/a>, which is what is launched when you run bash.exe. By default, it uses your default WSL distro.<\/p>\n<h2 role=\"heading\" aria-level=\"2\"><span class=\"ez-toc-section\" id=\"Customizing_Your_Profile\"><\/span>Customizing Your Profile<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Open up the terminal app, then select \u201cSettings\u201d from the dropdown menu.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10061\" src=\"https:\/\/www.cloudsavvyit.com\/thumbcache\/0\/0\/28a735538196390cf7788b5ea999f496\/p\/uploads\/2021\/03\/d34ef48c.png\" alt=\"\" width=\"700\" height=\"531\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>The settings are just a JSON file that you\u2019ll have to edit. You can <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/aka.ms\/terminal-profiles-schema\">view the schema for this online<\/a>, but it should have some default profiles that you can add to.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10063\" src=\"https:\/\/www.cloudsavvyit.com\/thumbcache\/0\/0\/d630573bce18cf69289b7433424372cb\/p\/uploads\/2021\/03\/32c48b80.png\" alt=\"\" width=\"700\" height=\"371\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>Add the following profile:<\/p>\n<pre>{&#13;\n      \"name\" : \"SERVER NAME\",&#13;\n      \"commandline\" : \"bash.exe -c \"ssh ubuntu@example.com \"\",&#13;\n      \"guid\" : \"{1d43c510-93e8-bbbb-a18b-e432641e0942}\",&#13;\n      \"icon\" : \"C:\\Users\\Anthony\\Pictures\\example.png\",&#13;\n&#13;\n      \"closeOnExit\" : true,&#13;\n      \"colorScheme\" : \"Campbell\",&#13;\n      \"cursorColor\" : \"#FFFFFF\",&#13;\n      \"cursorShape\" : \"bar\",&#13;\n      \"fontFace\" : \"RobotoMono Nerd Font\",&#13;\n      \"fontSize\" : 10,&#13;\n      \"historySize\" : 9001,&#13;\n      \"snapOnInput\" : true,&#13;\n      \"startingDirectory\" : \"\"&#13;\n},<\/pre>\n<p>Note that you will need to change the display name, the server hostname and user, and the GUID. You can optionally specify an icon for the server, which can be loaded from the disk.<\/p>\n<p>The rest of the profile is just boilerplate settings, though you are certainly free to customize the font face and other options.<\/p>\n<p>Save it with Control+S, and you\u2019ll see it updated next time you use the dropdown:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10064\" src=\"https:\/\/www.cloudsavvyit.com\/thumbcache\/0\/0\/af7e0d96418e892774a58e8e82af7eb7\/p\/uploads\/2021\/03\/29fc6c49-1.png\" alt=\"\" width=\"700\" height=\"300\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>Clicking on any of these will open up bash and SSH to the specified server automatically.\n<\/p><\/div>\n<blockquote><p><strong><span style=\"color: #ff6600;\">If you liked the article, do not forget to share it with your friends. Follow us on\u00a0<span style=\"color: #ff0000;\"><a style=\"color: #ff0000;\" href=\"https:\/\/news.google.com\/publications\/CAAqBwgKMLG0nwswvr63Aw\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Google News<\/a><\/span>\u00a0too, click on the star and choose us from your favorites.<\/span><\/strong><\/p><\/blockquote>\n<blockquote>\n<p style=\"text-align: center;\">For forums sites go to <span style=\"color: #ff9900;\"><a style=\"color: #ff9900;\" href=\"https:\/\/forum.buradabiliyorum.com\/\" target=\"_blank\" rel=\"noopener\">Forum.BuradaBiliyorum.Com<\/a><\/span><\/strong><\/p>\n<\/blockquote>\n<blockquote>\n<p style=\"text-align: center;\"><strong>If you want to read more like this article, you can visit our <span style=\"color: #ff9900;\"><a style=\"color: #ff9900;\" href=\"https:\/\/en.buradabiliyorum.com\/technology\/\" target=\"_blank\" rel=\"noopener\">Technology category.<\/a><\/span><\/strong><\/p>\n<\/blockquote>\n<p><span style=\"color: black;\"><a style=\"color: #ff9900;\" href=\"https:\/\/www.cloudsavvyit.com\/10059\/how-to-set-up-custom-ssh-profiles-in-windows-terminal\/\" target=\"_blank\" rel=\"noopener\">Source<\/a><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8220;#How to Set up Custom SSH Profiles in Windows Terminal \u2013 CloudSavvy IT&#8221; The new Windows Terminal app is awesome\u2014one of the coolest features you can set up is custom SSH profiles that are available as a dropdown menu. This allows you to access your servers quickly without typing in the hostname every time! Prerequisites&#8230;<\/p>\n","protected":false},"author":1,"featured_media":197687,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"fifu_image_url":"https:\/\/www.cloudsavvyit.com\/thumbcache\/0\/0\/673b39671e81d87a106ddb20b3deec5a\/p\/uploads\/2021\/03\/29fc6c49.png","fifu_image_alt":"","footnotes":""},"categories":[18],"tags":[],"class_list":["post-197686","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-technology"],"_links":{"self":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/posts\/197686","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/comments?post=197686"}],"version-history":[{"count":0,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/posts\/197686\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/media\/197687"}],"wp:attachment":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/media?parent=197686"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/categories?post=197686"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/tags?post=197686"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}