{"id":12581,"date":"2024-12-20T22:03:01","date_gmt":"2024-12-20T20:03:01","guid":{"rendered":"https:\/\/www.main-vision.com\/richard\/blog\/?p=12581"},"modified":"2024-12-20T22:03:01","modified_gmt":"2024-12-20T20:03:01","slug":"expired-tailscale-device-keys","status":"publish","type":"post","link":"https:\/\/www.main-vision.com\/richard\/blog\/expired-tailscale-device-keys\/","title":{"rendered":"Expired Tailscale Device Keys"},"content":{"rendered":"<span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading Time: <\/span> <span class=\"rt-time\"> &lt; 1<\/span> <span class=\"rt-label rt-postfix\">minute<\/span><\/span><p>Yesterday I found myself accessing Audiobookshelf on one of my Pi devices in the morning and it timed out in the morning. As I am travelling this situation is not ideal as I had to find a way to recover access. <\/p>\n<p>I checked the tailscale device list and could see that the device was online but I didn&#8217;t know how to access it. <\/p>\n<p>Initially my reaction was that the Raspberry Pi had crashed in a way that I could no longer access it unless I hard reset. This didn&#8217;t make sense as I haven&#8217;t had that issue for months. If that did occur I have no way of accessing the Pi device. I would need a way of powering off and on the device. Not so simple from one thousand two hundred kilometres away. <\/p>\n<p>The other solution was to experiment with tailscale and ask for advice. It advised me to use tskeys and after some trial and error, without success, on a mac, I decided to try another method. <\/p>\n<p>If you scroll down to the list of services you can access a device such as a Pi remotely and that seemed to do the trick. After this step I was able to access and use the Pi remotely. I was able to access Audiobookshelf and Photoprism.<\/p>\n<p>In reality this post isn&#8217;t to explain how to access a server remotely via tailscale after the lease is up. It&#8217;s about taking a few seconds, before a trip, to renew the key. The issue is that I had an outdated key, not that the instances were down or that the Pi had hard crashed. <\/p>\n","protected":false},"excerpt":{"rendered":"<p><span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading Time: <\/span> <span class=\"rt-time\"> &lt; 1<\/span> <span class=\"rt-label rt-postfix\">minute<\/span><\/span>Yesterday I found myself accessing Audiobookshelf on one of my Pi devices in the morning and it timed out in the morning. As I am travelling this situation is not ideal as I had to find a way to recover access. I checked the tailscale device list and could see that the device was online [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":11292,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":3,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"federated","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}},"categories":[914,934,930,20,920,901,9,205],"tags":[],"class_list":["post-12581","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-360-photos","category-climbing","category-niantic","category-observation","category-politics","category-rock-climbing","category-tech-related","category-youtube"],"jetpack_publicize_connections":[],"_links":{"self":[{"href":"https:\/\/www.main-vision.com\/richard\/blog\/wp-json\/wp\/v2\/posts\/12581","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.main-vision.com\/richard\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.main-vision.com\/richard\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.main-vision.com\/richard\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.main-vision.com\/richard\/blog\/wp-json\/wp\/v2\/comments?post=12581"}],"version-history":[{"count":1,"href":"https:\/\/www.main-vision.com\/richard\/blog\/wp-json\/wp\/v2\/posts\/12581\/revisions"}],"predecessor-version":[{"id":12582,"href":"https:\/\/www.main-vision.com\/richard\/blog\/wp-json\/wp\/v2\/posts\/12581\/revisions\/12582"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.main-vision.com\/richard\/blog\/wp-json\/wp\/v2\/media\/11292"}],"wp:attachment":[{"href":"https:\/\/www.main-vision.com\/richard\/blog\/wp-json\/wp\/v2\/media?parent=12581"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.main-vision.com\/richard\/blog\/wp-json\/wp\/v2\/categories?post=12581"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.main-vision.com\/richard\/blog\/wp-json\/wp\/v2\/tags?post=12581"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}