{"id":108592,"date":"2020-02-03T09:36:48","date_gmt":"2020-02-03T09:36:48","guid":{"rendered":"https:\/\/fedoramagazine.org\/?p=30410"},"modified":"2020-02-03T09:36:48","modified_gmt":"2020-02-03T09:36:48","slug":"enable-remote-collaboration-with-tmate-io-on-fedora","status":"publish","type":"post","link":"https:\/\/sickgaming.net\/blog\/2020\/02\/03\/enable-remote-collaboration-with-tmate-io-on-fedora\/","title":{"rendered":"Enable remote collaboration with tmate.io on Fedora"},"content":{"rendered":"<p>Being able to collaborate on task remotely is an increasing need in today&#8217;s world. Contributing to Open Source project ? Working remotely ? <em>tmate<\/em> is a <em>tmux<\/em> fork that makes it easy to share a terminal session with others. It can save you hours of lonely debugging or programming. <\/p>\n<p> <span id=\"more-30410\"><\/span> <\/p>\n<p><em>tmate<\/em>, being a <em>tmux<\/em> fork, supports all of <em>tmux<\/em> features and configuration. Also <em>tmux<\/em> and <em>tmate<\/em> can co-exist on the same system. To learn more about <em>tmux<\/em>, you can read the following article<\/p>\n<figure class=\"wp-block-embed-wordpress wp-block-embed is-type-wp-embed is-provider-fedora-magazine\">\n<div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"Lc4tpKP9N0\"><p><a href=\"https:\/\/fedoramagazine.org\/use-tmux-more-powerful-terminal\/\">Use tmux for a more powerful terminal<\/a><\/p><\/blockquote>\n<\/div>\n<\/figure>\n<h2>Installing tmate on Fedora<\/h2>\n<p><em>tmate<\/em> is available in the Fedora repository, making it really easy to install.<\/p>\n<pre class=\"wp-block-preformatted\">$ sudo dnf install tmate\n$ tmate\nConnecting to ssh.tmate.io\u2026 Note: clear your terminal before sharing readonly access web session read only: https:\/\/tmate.io\/t\/ro-F2aK7T ssh session read only: ssh ro-F2aK7TJsEj6b4T@l.tmate.io web session: https:\/\/tmate.io\/t\/H5rPw ssh session: ssh H5rPwR@l.tmate.io<\/pre>\n<p>After starting <em>tmate<\/em>, different ways to share your session will be available. You have the choice between ssh (read-only, read-write) or web (read-only, read-write).<\/p>\n<p>The web client is known to have a few issues and is still work in progress, for example the tmux key bindings are not yet supported.<\/p>\n<p>On the host running <em>tmate<\/em>, you start a new pane by hitting &#8220;<em>Ctrl+b<\/em>, c&#8221;. The new pane will then be available with anyone connected to your session. <\/p>\n<p>You can easily keep track of how many clients are connected to your session, using the tmate control pane. To access it hit &#8220;<em>Ctrl+b<\/em>, 0 (zero)&#8221; you will then see something like this.<\/p>\n<pre class=\"wp-block-preformatted\">A mate has joined (109.95.145.251) -- 1 client currently connected\nA mate has left (109.95.145.251) -- 0 client currently connected\nA mate has joined (109.95.145.251) -- 1 client currently connected<\/pre>\n<p>To close a session you can simply close <em>tmate<\/em> <em>&#8220;Ctrl+c, Ctrl+d<\/em>&#8220;. <\/p>\n<h2>Running your own server<\/h2>\n<p>By default <em>tmate<\/em> is using a remote server hosted on tmate.io. If you prefer you have the possibility to run your own server. For convenience a <a href=\"https:\/\/hub.docker.com\/r\/tmate\/tmate-ssh-server\">container image<\/a> is provided and instruction are available on <a href=\"https:\/\/tmate.io\/\">tmate.io<\/a>.<\/p>\n<p>It is important to remember that sharing your terminal session in read-write mode will give full access to your system to the connected client. So make sure you trust the persons you sharing you session with or use the read-only mode.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Being able to collaborate on task remotely is an increasing need in today&#8217;s world. Contributing to Open Source project ? Working remotely ? tmate is a tmux fork that makes it easy to share a terminal session with others. It can save you hours of lonely debugging or programming. tmate, being a tmux fork, supports [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[48],"tags":[715,45,42,43,46,47,904,93,905,44],"class_list":["post-108592","post","type-post","status-publish","format-standard","hentry","category-fedora-os","tag-collaboration","tag-fedora","tag-for-developers","tag-for-system-administrators","tag-magazine","tag-news","tag-remote","tag-terminal","tag-tmux","tag-using-software"],"_links":{"self":[{"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/posts\/108592","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/comments?post=108592"}],"version-history":[{"count":0,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/posts\/108592\/revisions"}],"wp:attachment":[{"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/media?parent=108592"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/categories?post=108592"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/tags?post=108592"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}