<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>terminal sharing Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/terminal-sharing/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Sun, 24 Feb 2019 21:43:32 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>Tmate &#124; Share Your Linux Terminal</title>
		<link>https://www.osradar.com/tmate-share-your-linux-terminal/</link>
					<comments>https://www.osradar.com/tmate-share-your-linux-terminal/#respond</comments>
		
		<dc:creator><![CDATA[Muhammad Nabeel]]></dc:creator>
		<pubDate>Sun, 24 Feb 2019 21:43:32 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[share terminal]]></category>
		<category><![CDATA[ssh terminal]]></category>
		<category><![CDATA[terminal sharing]]></category>
		<category><![CDATA[tmate]]></category>
		<category><![CDATA[tmate on centos]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=11071</guid>

					<description><![CDATA[<p>tmate stands for teammates, it is just like teamviewer. It is fork of tmux and used for instant terminal sharing. It can share a terminal with single or multiple teammates. How tmate works? When launching tmate, an ssh session is established to tmate.io (backend servers maintained by tmate developers) in the background through libssh. Once [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/tmate-share-your-linux-terminal/">Tmate | Share Your Linux Terminal</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>tmate</strong> stands for teammates, it is just like teamviewer. It is fork of tmux and used for instant terminal sharing. It can share a terminal with single or multiple teammates.</p>
<p><strong>How tmate works?</strong><br />
When launching tmate, an ssh session is established to tmate.io (backend servers maintained by tmate developers) in the background through libssh. Once connection is established, a 150 bits session token ID is generated by local server for each session. Finally teammates connect to tmate.io server using the SSH session token ID.</p>
<p><strong>Prerequisites:<br />
</strong>You must generate ssh key on your server, where you want to install tmate.</p>
<h1>Install Tmate in Linux</h1>
<p>On most Linux distributions, Tmate can be installed from the default repositories.</p>
<p><strong>For Debian and Ubuntu-based run following commands to install Tmate.</strong></p>
<pre>apt-get install software-properties-common
add-apt-repository ppa:tmate.io/archive 
apt-get update 
apt-get install tmate</pre>
<p><strong><br />
Run below command for Tmate installation on FreeBSD</strong></p>
<pre>pkg install tmate</pre>
<p><strong><br />
Run below command for Tmate installation on FreeBSD</strong></p>
<pre>pkg_add tmate</pre>
<p><strong><br />
On Arch Linux, Run below command for Tmate installation</strong></p>
<pre>yaourt -S tmate</pre>
<p><strong><br />
On Gento, run emerge commandv to install it.</strong></p>
<pre>emerge tmate</pre>
<p><strong><br />
On Fedora use following command to install Tmate.</strong></p>
<pre>dnf install tmate</pre>
<h3>For CentOS and RHEL you need to follow below steps to install Tmate.</h3>
<h4>Step 1: Create Yum repository</h4>
<p>Run below command</p>
<pre>vi /etc/yum.repos.d/tmate.repo</pre>
<p>And add below text in <strong>tmate.repo</strong> file</p>
<pre>[osradar-tmate-repo]
name=osradar tmate repo
baseurl=http://li.nux.ro/download/nux/dextop/el7/x86_64/
gpgcheck=0
enabled=1</pre>
<p>Now save changes and exit.</p>
<p><img loading="lazy" class="alignnone wp-image-11073" src="https://www.osradar.com/wp-content/uploads/2019/02/1-2-300x50.jpg" alt="" width="684" height="114" srcset="https://www.osradar.com/wp-content/uploads/2019/02/1-2-300x50.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/02/1-2-768x127.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/02/1-2-1024x169.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/02/1-2-696x115.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/02/1-2-1068x177.jpg 1068w, https://www.osradar.com/wp-content/uploads/2019/02/1-2.jpg 1366w" sizes="(max-width: 684px) 100vw, 684px" /></p>
<h4>Step 2: Install Tmate on CentOS</h4>
<p>Run below command</p>
<pre>yum install tmate -y</pre>
<p><img loading="lazy" class="alignnone wp-image-11075" src="https://www.osradar.com/wp-content/uploads/2019/02/2-3-300x49.jpg" alt="" width="673" height="110" srcset="https://www.osradar.com/wp-content/uploads/2019/02/2-3-300x49.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/02/2-3-768x124.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/02/2-3-1024x166.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/02/2-3-696x113.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/02/2-3-1068x173.jpg 1068w, https://www.osradar.com/wp-content/uploads/2019/02/2-3.jpg 1366w" sizes="(max-width: 673px) 100vw, 673px" /></p>
<p>Once you installed Tmate on your desired Linux distribution, launch Tmate by running the following command from your Terminal</p>
<pre>tmate</pre>
<p><img loading="lazy" class="alignnone wp-image-11076" src="https://www.osradar.com/wp-content/uploads/2019/02/3-3-300x74.jpg" alt="" width="677" height="167" srcset="https://www.osradar.com/wp-content/uploads/2019/02/3-3-300x74.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/02/3-3-768x189.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/02/3-3-1024x251.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/02/3-3-696x171.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/02/3-3-1068x262.jpg 1068w, https://www.osradar.com/wp-content/uploads/2019/02/3-3.jpg 1100w" sizes="(max-width: 677px) 100vw, 677px" /></p>
<p>After launching tmate, an SSH session token ID will be generated (In my case it is ckWOyq06o1M5zGIICwMAVUSdJ@am2.tmate.io ). You need to share it with your mates so that they can access your terminal.</p>
<p>To access your server terminal, your mate will need to open his/her terminal and run below command.</p>
<pre>ssh ckWOyq06o1M5zGIICwMAVUSdJ@am2.tmate.io</pre>
<p>You can use below command to see tmate stats</p>
<pre>tmate show-messages</pre>
<p><img loading="lazy" class="alignnone wp-image-11077" src="https://www.osradar.com/wp-content/uploads/2019/02/4-2-300x51.jpg" alt="" width="676" height="115" srcset="https://www.osradar.com/wp-content/uploads/2019/02/4-2-300x51.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/02/4-2-768x129.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/02/4-2-1024x172.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/02/4-2-696x117.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/02/4-2-1068x180.jpg 1068w, https://www.osradar.com/wp-content/uploads/2019/02/4-2.jpg 1366w" sizes="(max-width: 676px) 100vw, 676px" /></p>
<p>To exit from a session, type exit</p>
<pre>exit</pre>
<p>The post <a rel="nofollow" href="https://www.osradar.com/tmate-share-your-linux-terminal/">Tmate | Share Your Linux Terminal</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/tmate-share-your-linux-terminal/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
