{"id":1792,"date":"2013-12-10T11:57:01","date_gmt":"2013-12-10T10:57:01","guid":{"rendered":"https:\/\/blogg.itslav.nu\/?p=1792"},"modified":"2014-01-25T16:51:22","modified_gmt":"2014-01-25T15:51:22","slug":"yubico-yubikey-ssh-inloggning-i-ubuntu-12-04","status":"publish","type":"post","link":"https:\/\/blogg.itslav.nu\/?p=1792","title":{"rendered":"Yubico Yubikey tv\u00e5stegsverifiering via SSH inloggning i Ubuntu&#8230;"},"content":{"rendered":"<p>Denna guide kommer beskriva hur man i ubuntu konfiguerar s\u00e5 man f\u00e5r tv\u00e5stegsverifiering (two facto authentication) via SSH. Exemplet nedan \u00e4r utf\u00f6rt p\u00e5 en Ubuntu 12.04 server installation tillsammans med en yubikey standard.<\/p>\n<p><b><\/p>\n<h3>Steg 1: Installera n\u00f6dv\u00e4ndiga paket<\/h3>\n<p><\/b><br \/>\nF\u00f6r att detta ska fungera m\u00e5ste man installera n\u00e5gra paket f\u00f6r att kunna anv\u00e4nda yubikeyn se nedan.<\/p>\n<blockquote><p>sudo apt-get install libpam-yubico libykclient3<\/p><\/blockquote>\n<p>Verifiera nu att paketen installerats korekt och kolla s\u00e5 du har filen enligt nedan exempel<\/p>\n<blockquote><p>ls -la \/lib\/security\/pam_yubico.so<br \/>\n-rw-r&#8211;r&#8211; 1 root root 35416 Feb 15  2012 \/lib\/security\/pam_yubico.so<\/p><\/blockquote>\n<p>Har du filen kan du g\u00e5 vidare till n\u00e4sta steg.<br \/>\n<br \/>\n<b><\/p>\n<h3>Steg 2: Koppla anv\u00e4ndare till yubikey inloggning<\/h3>\n<p><\/b><br \/>\nInnan vi konfigurerar SSH ska vi konfigurerar anv\u00e4ndare f\u00f6r yubikey. G\u00f6r enligt nedan exempel men anv\u00e4nd korekt anv\u00e4ndarnamn.<\/p>\n<blockquote><p>mkdir \/home\/username\/.yubico\/<br \/>\ntouch \/home\/username\/.yubico\/authorized_yubikeys<br \/>\nchmod 700 \/home\/username\/.yubico\n<\/p><\/blockquote>\n<p>Nu ska vi l\u00e4gga in anv\u00e4ndare i filen och koppla till din yubikey. G\u00e5 in i filen vi skapade ovan med en texteditor se nedan<\/p>\n<blockquote><p>nano \/home\/username\/.yubico\/authorized_yubikeys<\/p><\/blockquote>\n<p>Syntaxen i filen \u00e4r enligt nedan exempel<br \/>\nusername:yubikey id<br \/>\nVill man ha flera yubikeys kopplade p\u00e5 samma anv\u00e4ndare g\u00f6r man enligt nedan<br \/>\nusername:yubikey id:yubikey id<\/p>\n<p>Exempel<\/p>\n<blockquote><p>ubuntu:ccccccbdefgh<br \/>\nF\u00f6r flera yubikeys p\u00e5 samma anv\u00e4ndare<br \/>\nubuntu:ccccccbdefgh:ccccccbddfef<\/p><\/blockquote>\n<p>Yubikey ID f\u00e5r man av att ta en OTP fr\u00e5n sin yubikey och ta dom f\u00f6rsta 12 tecknen i OTPn det \u00e4r ID:t.<br \/>\nG\u00f6r ovan steg f\u00f6r dom anv\u00e4ndare som ska k\u00f6ra yubikey.<\/p>\n<p><b><\/p>\n<h3>Steg 3: Konfigurera SSH pam.d f\u00f6r yubikey<\/h3>\n<p><\/b><br \/>\nNu m\u00e5ste vi konfigurera SSH att anv\u00e4nda yubikey PAM modul. G\u00e5 in i filen med valfri editor \/etc\/pam.d\/sshd<br \/>\nL\u00e4gg till en ny rad i b\u00f6rjan av filen som ska likna nedan exempelrad.<\/p>\n<p>Exempel (OBS! detta \u00e4r en rad inte tv\u00e5 s\u00e5 se till att det blir r\u00e4tt i filen)<\/p>\n<blockquote><p>auth       required     pam_yubico.so id=2458 key=ure8aX7mdExlmO0q44idqEICIuE= url=http:\/\/api.yubico.com\/wsapi\/2.0\/verify?id=%d&#038;otp=%s<\/p><\/blockquote>\n<p>Notera att man m\u00e5ste byta ut key v\u00e4rdet allts\u00e5 det efter key= och id= till det som motsvarar det som h\u00f6r till din yubikey. F\u00f6r att skaffa ett yubikey id \/ key s\u00e5 g\u00e5r man in p\u00e5 nedan URL.<br \/>\n<a href=\"https:\/\/upgrade.yubico.com\/getapikey\/\">https:\/\/upgrade.yubico.com\/getapikey\/<\/a><\/p>\n<p><b>Note:<\/b><br \/>\nI exemplet ovan anv\u00e4nder jag <b>required<\/b> och det betyder att man m\u00e5ste logga in med yubikey OTP + l\u00f6ssenord allts\u00e5 tv\u00e5stegsverifiering. Man kan anv\u00e4nda <b>sufficient<\/b> ist\u00e4llet d\u00e5 kr\u00e4vs bara att man anger yubikey OTP och inget l\u00f6ssenord kr\u00e4vs allts\u00e5 env\u00e4gsverifiering.<br \/>\n<br \/>\n<b><\/p>\n<h3>Steg 4: Konfigurera SSHd<\/h3>\n<p><\/b><br \/>\nVi m\u00e5ste \u00e4ndra tre v\u00e4rden i <b>\/etc\/ssh\/sshd_config<\/b> se nedan<\/p>\n<blockquote><p>\nPermitEmptyPasswords no<br \/>\nChallengeResponseAuthentication yes<br \/>\nUsePAM yes<\/p><\/blockquote>\n<p>Det finns dock n\u00e5gra olika kombinationer f\u00f6r olika typer av inloggning se nedan.<\/p>\n<p>Nedan tv\u00e5 \u00e4r t\u00e4nkta att anv\u00e4ndas med <b>sufficient<\/b> f\u00f6r pam_yubikey fr\u00e5n steg 3.<br \/>\n<b>1: Env\u00e4gsverifiering med yubikey med l\u00f6ssenord avst\u00e4ngt<\/b><\/p>\n<blockquote><p>PasswordAuthentication no<\/p><\/blockquote>\n<p><b>2: Env\u00e4gsverifiering med yubikey ELLER l\u00f6ssenord<\/b><\/p>\n<blockquote><p>PasswordAuthentication yes<\/p><\/blockquote>\n<p>Detta kr\u00e4ver att man anv\u00e4nder sig av <b>required<\/b> i pam_yubikey f\u00f6r sshd fr\u00e5n steg 3.<br \/>\n<b>3: Tv\u00e5stegsverifiering med yubikey OCH l\u00f6ssenord<\/b><\/p>\n<blockquote><p>PasswordAuthentication yes<\/p><\/blockquote>\n<p><b><\/p>\n<h3>Steg 5: Starta om SSHd<\/h3>\n<p><\/b><br \/>\nF\u00f6r att nu aktivera detta s\u00e5 m\u00e5ste vi starta om SSHd g\u00f6r det med nedan kommando.<\/p>\n<blockquote><p>sudo service ssh restart<\/p><\/blockquote>\n<p><b><\/p>\n<h3>Steg 6: Testa l\u00f6seningen<\/h3>\n<p><\/b><br \/>\nNu \u00e5terst\u00e5r bara att testa om det fungerar som det ska. Anslut med ssh mot din server och se om det du konfigurerat fungerar se exempel nedan.<\/p>\n<blockquote><p>\nusername1@host1:~$ ssh username2@host2<br \/>\nYubikey for `username2&#8242;:<br \/>\nPassword:<br \/>\nWelcome to Ubuntu 12.04.3 LTS (GNU\/Linux 3.2.0-57-generic x86_64)<\/p>\n<p>Last login: Tue Dec 10 13:20:39 2013 from host1<br \/>\nusername2@host2:~$\n<\/p><\/blockquote>\n<p>Ovan ser man att man f\u00f6rst f\u00e5r skicka in en Yubikey OTP och sedan \u00e4ven ange l\u00f6ssenord f\u00f6r username2 anv\u00e4ndaren.<\/p>\n<p><b><\/p>\n<h3>Slutsats:<\/h3>\n<p><\/b><br \/>\nNu om allt fungerar som det ska \u00e4r nu tv\u00e5stegsverifiering aktiverat via SSH p\u00e5 din Ubuntu server. Undrar ni n\u00e5got eller har synpunkter s\u00e5 l\u00e4mna en komentar eller maila mig.<\/p>\n<p><b><\/p>\n<h3>K\u00e4llor:<\/h3>\n<p><\/b><br \/>\n<a href=\"https:\/\/github.com\/Yubico\/yubico-pam\/wiki\/YubikeyAndSSHViaPAM\">https:\/\/github.com\/Yubico\/yubico-pam\/wiki\/YubikeyAndSSHViaPAM<\/a><br \/>\n<a href=\"http:\/\/forum.yubico.com\/viewtopic.php?t=822\">http:\/\/forum.yubico.com\/viewtopic.php?t=822<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Denna guide kommer beskriva hur man i ubuntu konfiguerar s\u00e5 man f\u00e5r tv\u00e5stegsverifiering (two facto authentication) via SSH. Exemplet nedan \u00e4r utf\u00f6rt p\u00e5 en Ubuntu 12.04 server installation tillsammans med en yubikey standard. Steg 1: Installera n\u00f6dv\u00e4ndiga paket F\u00f6r att detta ska fungera m\u00e5ste man installera n\u00e5gra paket f\u00f6r att kunna anv\u00e4nda yubikeyn se nedan. [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[5,4,1],"tags":[76,81,80],"class_list":["post-1792","post","type-post","status-publish","format-standard","hentry","category-how-tos","category-it","category-random-stuff","tag-ssh","tag-ubuntu","tag-yubikey"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"virus84\"\/>\n\t<meta name=\"keywords\" content=\"yubikey,ssh,ubuntu,twofactorauth\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/blogg.itslav.nu\/?p=1792\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.8\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"IT teknikerns vardag | \u00c4nnu en dag i den stora cyberrymden\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Yubico Yubikey tv\u00e5stegsverifiering via SSH inloggning i Ubuntu\u2026 | IT teknikerns vardag\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/blogg.itslav.nu\/?p=1792\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2013-12-10T10:57:01+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2014-01-25T15:51:22+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Yubico Yubikey tv\u00e5stegsverifiering via SSH inloggning i Ubuntu\u2026 | IT teknikerns vardag\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/blogg.itslav.nu\\\/?p=1792#article\",\"name\":\"Yubico Yubikey tv\\u00e5stegsverifiering via SSH inloggning i Ubuntu\\u2026 | IT teknikerns vardag\",\"headline\":\"Yubico Yubikey tv\\u00e5stegsverifiering via SSH inloggning i Ubuntu&#8230;\",\"author\":{\"@id\":\"https:\\\/\\\/blogg.itslav.nu\\\/?author=2#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/blogg.itslav.nu\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/blogg.itslav.nu\\\/?p=1792#articleImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/9bae2d42ec43eb5496e58edac800ce3db6831db2101f43383d8c8d330468bd2a?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"virus84\"},\"datePublished\":\"2013-12-10T11:57:01+01:00\",\"dateModified\":\"2014-01-25T16:51:22+01:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/blogg.itslav.nu\\\/?p=1792#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/blogg.itslav.nu\\\/?p=1792#webpage\"},\"articleSection\":\"HOW TOs, IT, Random stuff, ssh, ubuntu, Yubikey\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/blogg.itslav.nu\\\/?p=1792#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blogg.itslav.nu#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/blogg.itslav.nu\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blogg.itslav.nu\\\/?cat=1#listItem\",\"name\":\"Random stuff\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blogg.itslav.nu\\\/?cat=1#listItem\",\"position\":2,\"name\":\"Random stuff\",\"item\":\"https:\\\/\\\/blogg.itslav.nu\\\/?cat=1\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blogg.itslav.nu\\\/?p=1792#listItem\",\"name\":\"Yubico Yubikey tv\\u00e5stegsverifiering via SSH inloggning i Ubuntu&#8230;\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blogg.itslav.nu#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blogg.itslav.nu\\\/?p=1792#listItem\",\"position\":3,\"name\":\"Yubico Yubikey tv\\u00e5stegsverifiering via SSH inloggning i Ubuntu&#8230;\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blogg.itslav.nu\\\/?cat=1#listItem\",\"name\":\"Random stuff\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/blogg.itslav.nu\\\/#person\",\"name\":\"virus84\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/blogg.itslav.nu\\\/?p=1792#personImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/9bae2d42ec43eb5496e58edac800ce3db6831db2101f43383d8c8d330468bd2a?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"virus84\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/blogg.itslav.nu\\\/?author=2#author\",\"url\":\"https:\\\/\\\/blogg.itslav.nu\\\/?author=2\",\"name\":\"virus84\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/blogg.itslav.nu\\\/?p=1792#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/9bae2d42ec43eb5496e58edac800ce3db6831db2101f43383d8c8d330468bd2a?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"virus84\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/blogg.itslav.nu\\\/?p=1792#webpage\",\"url\":\"https:\\\/\\\/blogg.itslav.nu\\\/?p=1792\",\"name\":\"Yubico Yubikey tv\\u00e5stegsverifiering via SSH inloggning i Ubuntu\\u2026 | IT teknikerns vardag\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blogg.itslav.nu\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/blogg.itslav.nu\\\/?p=1792#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/blogg.itslav.nu\\\/?author=2#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/blogg.itslav.nu\\\/?author=2#author\"},\"datePublished\":\"2013-12-10T11:57:01+01:00\",\"dateModified\":\"2014-01-25T16:51:22+01:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/blogg.itslav.nu\\\/#website\",\"url\":\"https:\\\/\\\/blogg.itslav.nu\\\/\",\"name\":\"IT teknikerns vardag\",\"description\":\"\\u00c4nnu en dag i den stora cyberrymden\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/blogg.itslav.nu\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Yubico Yubikey tv\u00e5stegsverifiering via SSH inloggning i Ubuntu\u2026 | IT teknikerns vardag","description":"","canonical_url":"https:\/\/blogg.itslav.nu\/?p=1792","robots":"max-image-preview:large","keywords":"yubikey,ssh,ubuntu,twofactorauth","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/blogg.itslav.nu\/?p=1792#article","name":"Yubico Yubikey tv\u00e5stegsverifiering via SSH inloggning i Ubuntu\u2026 | IT teknikerns vardag","headline":"Yubico Yubikey tv\u00e5stegsverifiering via SSH inloggning i Ubuntu&#8230;","author":{"@id":"https:\/\/blogg.itslav.nu\/?author=2#author"},"publisher":{"@id":"https:\/\/blogg.itslav.nu\/#person"},"image":{"@type":"ImageObject","@id":"https:\/\/blogg.itslav.nu\/?p=1792#articleImage","url":"https:\/\/secure.gravatar.com\/avatar\/9bae2d42ec43eb5496e58edac800ce3db6831db2101f43383d8c8d330468bd2a?s=96&d=mm&r=g","width":96,"height":96,"caption":"virus84"},"datePublished":"2013-12-10T11:57:01+01:00","dateModified":"2014-01-25T16:51:22+01:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/blogg.itslav.nu\/?p=1792#webpage"},"isPartOf":{"@id":"https:\/\/blogg.itslav.nu\/?p=1792#webpage"},"articleSection":"HOW TOs, IT, Random stuff, ssh, ubuntu, Yubikey"},{"@type":"BreadcrumbList","@id":"https:\/\/blogg.itslav.nu\/?p=1792#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/blogg.itslav.nu#listItem","position":1,"name":"Home","item":"https:\/\/blogg.itslav.nu","nextItem":{"@type":"ListItem","@id":"https:\/\/blogg.itslav.nu\/?cat=1#listItem","name":"Random stuff"}},{"@type":"ListItem","@id":"https:\/\/blogg.itslav.nu\/?cat=1#listItem","position":2,"name":"Random stuff","item":"https:\/\/blogg.itslav.nu\/?cat=1","nextItem":{"@type":"ListItem","@id":"https:\/\/blogg.itslav.nu\/?p=1792#listItem","name":"Yubico Yubikey tv\u00e5stegsverifiering via SSH inloggning i Ubuntu&#8230;"},"previousItem":{"@type":"ListItem","@id":"https:\/\/blogg.itslav.nu#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/blogg.itslav.nu\/?p=1792#listItem","position":3,"name":"Yubico Yubikey tv\u00e5stegsverifiering via SSH inloggning i Ubuntu&#8230;","previousItem":{"@type":"ListItem","@id":"https:\/\/blogg.itslav.nu\/?cat=1#listItem","name":"Random stuff"}}]},{"@type":"Person","@id":"https:\/\/blogg.itslav.nu\/#person","name":"virus84","image":{"@type":"ImageObject","@id":"https:\/\/blogg.itslav.nu\/?p=1792#personImage","url":"https:\/\/secure.gravatar.com\/avatar\/9bae2d42ec43eb5496e58edac800ce3db6831db2101f43383d8c8d330468bd2a?s=96&d=mm&r=g","width":96,"height":96,"caption":"virus84"}},{"@type":"Person","@id":"https:\/\/blogg.itslav.nu\/?author=2#author","url":"https:\/\/blogg.itslav.nu\/?author=2","name":"virus84","image":{"@type":"ImageObject","@id":"https:\/\/blogg.itslav.nu\/?p=1792#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/9bae2d42ec43eb5496e58edac800ce3db6831db2101f43383d8c8d330468bd2a?s=96&d=mm&r=g","width":96,"height":96,"caption":"virus84"}},{"@type":"WebPage","@id":"https:\/\/blogg.itslav.nu\/?p=1792#webpage","url":"https:\/\/blogg.itslav.nu\/?p=1792","name":"Yubico Yubikey tv\u00e5stegsverifiering via SSH inloggning i Ubuntu\u2026 | IT teknikerns vardag","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/blogg.itslav.nu\/#website"},"breadcrumb":{"@id":"https:\/\/blogg.itslav.nu\/?p=1792#breadcrumblist"},"author":{"@id":"https:\/\/blogg.itslav.nu\/?author=2#author"},"creator":{"@id":"https:\/\/blogg.itslav.nu\/?author=2#author"},"datePublished":"2013-12-10T11:57:01+01:00","dateModified":"2014-01-25T16:51:22+01:00"},{"@type":"WebSite","@id":"https:\/\/blogg.itslav.nu\/#website","url":"https:\/\/blogg.itslav.nu\/","name":"IT teknikerns vardag","description":"\u00c4nnu en dag i den stora cyberrymden","inLanguage":"en-US","publisher":{"@id":"https:\/\/blogg.itslav.nu\/#person"}}]},"og:locale":"en_US","og:site_name":"IT teknikerns vardag | \u00c4nnu en dag i den stora cyberrymden","og:type":"article","og:title":"Yubico Yubikey tv\u00e5stegsverifiering via SSH inloggning i Ubuntu\u2026 | IT teknikerns vardag","og:url":"https:\/\/blogg.itslav.nu\/?p=1792","article:published_time":"2013-12-10T10:57:01+00:00","article:modified_time":"2014-01-25T15:51:22+00:00","twitter:card":"summary","twitter:title":"Yubico Yubikey tv\u00e5stegsverifiering via SSH inloggning i Ubuntu\u2026 | IT teknikerns vardag"},"aioseo_meta_data":{"post_id":"1792","title":null,"description":null,"keywords":[{"label":"yubikey","value":"yubikey"},{"label":"ssh","value":"ssh"},{"label":"ubuntu","value":"ubuntu"},{"label":"twofactorauth","value":"twofactorauth"}],"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[],"defaultGraph":"","defaultPostTypeGraph":""},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"location":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2020-12-21 23:04:33","updated":"2025-07-24 03:16:57","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/blogg.itslav.nu\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/blogg.itslav.nu\/?cat=1\" title=\"Random stuff\">Random stuff<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tYubico Yubikey tv\u00e5stegsverifiering via SSH inloggning i Ubuntu\u2026\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/blogg.itslav.nu"},{"label":"Random stuff","link":"https:\/\/blogg.itslav.nu\/?cat=1"},{"label":"Yubico Yubikey tv\u00e5stegsverifiering via SSH inloggning i Ubuntu&#8230;","link":"https:\/\/blogg.itslav.nu\/?p=1792"}],"_links":{"self":[{"href":"https:\/\/blogg.itslav.nu\/index.php?rest_route=\/wp\/v2\/posts\/1792","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogg.itslav.nu\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogg.itslav.nu\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogg.itslav.nu\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blogg.itslav.nu\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1792"}],"version-history":[{"count":24,"href":"https:\/\/blogg.itslav.nu\/index.php?rest_route=\/wp\/v2\/posts\/1792\/revisions"}],"predecessor-version":[{"id":1872,"href":"https:\/\/blogg.itslav.nu\/index.php?rest_route=\/wp\/v2\/posts\/1792\/revisions\/1872"}],"wp:attachment":[{"href":"https:\/\/blogg.itslav.nu\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1792"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogg.itslav.nu\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1792"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogg.itslav.nu\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1792"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}