{"id":2513,"date":"2014-10-06T16:00:39","date_gmt":"2014-10-06T14:00:39","guid":{"rendered":"http:\/\/www.razumny.no\/?p=2513"},"modified":"2014-09-28T21:16:40","modified_gmt":"2014-09-28T19:16:40","slug":"ssh-logging-in","status":"publish","type":"post","link":"https:\/\/www.razumny.no\/?p=2513","title":{"rendered":"SSH: Logging in"},"content":{"rendered":"<p>The single most handy tool for any Linux administrator is SSH.\u00a0Short for\u00a0<em>Secure SHell<\/em>, it is a way to connect to another computer, using the terminal. It is immensely powerful, and\u00a0gaining confidence with it can be a bit of a challenge. Before you can do ANYTHING else, you need to know a few basic commands:<\/p>\n<ul>\n<li>ssh <em>user<\/em>@<em>server<\/em><\/li>\n<li>ssh -p <em>####<\/em>\u00a0<em>user<\/em>@<em>server<\/em><\/li>\n<\/ul>\n<p>Now, that wasn&#8217;t so hard, was it? But, wait a minute; what are we actually doing? The first command tells the terminal to connect, using SSH, to a server, identifying as a user (obviously, you would need to replace <em>user<\/em> with\u00a0your\u00a0username and\u00a0<em>server<\/em> with the address of the server). The second command does the same thing, but specifies which port to use (and yes, you need to make the same replacements as before, as well as replacing\u00a0<em>####<\/em> with the port number you are trying to access).<\/p>\n<p>Having logged in, we can perform a number of tasks, such as setting folder permissions, creating users, running tests on the network, and much, much, much more.\u00a0This, though,\u00a0connecting and logging in, is where it all starts. Without that, nothing that you know how to do makes any difference.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The single most handy tool for any Linux administrator is SSH.\u00a0Short for\u00a0Secure SHell, it is a way to connect to another computer, using the terminal. It is immensely powerful, and\u00a0gaining confidence with it can be a bit of a challenge. Before you can do ANYTHING else, you need to know a few basic commands: ssh [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[824,528],"tags":[836],"class_list":["post-2513","post","type-post","status-publish","format-standard","hentry","category-linux101","category-tools","tag-ssh"],"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/p2ukSU-Ex","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":2574,"url":"https:\/\/www.razumny.no\/?p=2574","url_meta":{"origin":2513,"position":0},"title":"Oracle Linux: Unable to connect to FTP server in terminal","author":"Aleksander Nordgarden-R\u00f8dner","date":"01\/09\/2014","format":false,"excerpt":"In order to keep the virtual harddrive on my VM as small as possible, I prefer keeping installers on\u00a0a network share that I can connect to through FTP.\u00a0The\u00a0terminal command for connecting to FTP servers handily enough is ftp. When running that command, terminal returned \"Command not found\".\u00a0It turns out that\u2026","rel":"","context":"In &quot;Linux101&quot;","block_context":{"text":"Linux101","link":"https:\/\/www.razumny.no\/?cat=824"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":97,"url":"https:\/\/www.razumny.no\/?p=97","url_meta":{"origin":2513,"position":1},"title":"Thin client unable to connect to server","author":"Aleksander Nordgarden-R\u00f8dner","date":"22\/10\/2008","format":false,"excerpt":"My employer has a few locations that uses thin clients. The thin clients they use are HP t5520, which are configured using a predefined script installed from a USB memory stick. When setting up these clients, I've noticed a problem that they are unable to connect to the server, and\u2026","rel":"","context":"In &quot;thin client&quot;","block_context":{"text":"thin client","link":"https:\/\/www.razumny.no\/?cat=278"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":101,"url":"https:\/\/www.razumny.no\/?p=101","url_meta":{"origin":2513,"position":2},"title":"FileZilla &#8211; the only FTP client you&#8217;ll ever need.","author":"Aleksander Nordgarden-R\u00f8dner","date":"29\/10\/2008","format":false,"excerpt":"In managing two websites of my own, and one for an organisation I'm involved with, not to mention just to upload all the pictures I use in this blog, I use an excellent little application called FileZilla. Simply put, it's an FTP client, a program designed to upload and download\u2026","rel":"","context":"In &quot;Software&quot;","block_context":{"text":"Software","link":"https:\/\/www.razumny.no\/?cat=13"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.razumny.no\/images\/blog\/FileZilla.jpg?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.razumny.no\/images\/blog\/FileZilla.jpg?resize=350%2C200 1x, https:\/\/i0.wp.com\/www.razumny.no\/images\/blog\/FileZilla.jpg?resize=525%2C300 1.5x"},"classes":[]},{"id":3135,"url":"https:\/\/www.razumny.no\/?p=3135","url_meta":{"origin":2513,"position":3},"title":"TBT: FileZilla &#8211; the only FTP client you&#8217;ll ever need.","author":"Aleksander Nordgarden-R\u00f8dner","date":"18\/06\/2015","format":false,"excerpt":"This post originally ran in October 2008. I am reposting it now, as part of my throwback thursday project, to\u00a0give some of my older quality posts some love.\u00a0I still use FileZilla on a regular basis, and still love it dearly. In managing two websites of my own, and one for\u2026","rel":"","context":"In &quot;Software&quot;","block_context":{"text":"Software","link":"https:\/\/www.razumny.no\/?cat=13"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.razumny.no\/images\/blog\/FileZilla.jpg?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.razumny.no\/images\/blog\/FileZilla.jpg?resize=350%2C200 1x, https:\/\/i0.wp.com\/www.razumny.no\/images\/blog\/FileZilla.jpg?resize=525%2C300 1.5x"},"classes":[]},{"id":2817,"url":"https:\/\/www.razumny.no\/?p=2817","url_meta":{"origin":2513,"position":4},"title":"Force login to remote desktop","author":"Aleksander Nordgarden-R\u00f8dner","date":"09\/03\/2015","format":false,"excerpt":"So, there you are, about to log in to a remote desktop, when you get this error: \u00a0 The message is loud and clear; too many other users are connected to the terminal server. Now, you can either start trying to find out who else is connected to the server,\u00a0or,\u2026","rel":"","context":"In &quot;How To&quot;","block_context":{"text":"How To","link":"https:\/\/www.razumny.no\/?cat=615"},"img":{"alt_text":"The terminal server has exceeded the maximum number of allowed connections","src":"https:\/\/i0.wp.com\/www.razumny.no\/wp-content\/uploads\/LogonMessage.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":47,"url":"https:\/\/www.razumny.no\/?p=47","url_meta":{"origin":2513,"position":5},"title":"Software I cannot live without","author":"Aleksander Nordgarden-R\u00f8dner","date":"16\/06\/2008","format":false,"excerpt":"Almost anyone that works with computers collect a few programs they can't live without. For me, there are a few of them, and here they are: 1 - Notepad++ I've written about Notepad++ earlier, and there's not much more to say other than the fact that it's the best simple\u2026","rel":"","context":"In &quot;Firefox&quot;","block_context":{"text":"Firefox","link":"https:\/\/www.razumny.no\/?cat=14"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.razumny.no\/index.php?rest_route=\/wp\/v2\/posts\/2513","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.razumny.no\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.razumny.no\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.razumny.no\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.razumny.no\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2513"}],"version-history":[{"count":7,"href":"https:\/\/www.razumny.no\/index.php?rest_route=\/wp\/v2\/posts\/2513\/revisions"}],"predecessor-version":[{"id":2629,"href":"https:\/\/www.razumny.no\/index.php?rest_route=\/wp\/v2\/posts\/2513\/revisions\/2629"}],"wp:attachment":[{"href":"https:\/\/www.razumny.no\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2513"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.razumny.no\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2513"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.razumny.no\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2513"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}