<?xml version='1.0'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:atom="http://www.w3.org/2005/Atom" >
<channel>
	<title><![CDATA[BOL: How to set up SSH on Ubuntu 18.04]]></title>
	<link>https://bioinformaticsonline.com/blog/view/38248/how-to-set-up-ssh-on-ubuntu-1804?</link>
	<atom:link href="https://bioinformaticsonline.com/blog/view/38248/how-to-set-up-ssh-on-ubuntu-1804?" rel="self" type="application/rss+xml" />
	<description><![CDATA[]]></description>
	
	<item>
	<guid isPermaLink="true">https://bioinformaticsonline.com/blog/view/38248/how-to-set-up-ssh-on-ubuntu-1804</guid>
	<pubDate>Thu, 22 Nov 2018 10:12:00 -0600</pubDate>
	<link>https://bioinformaticsonline.com/blog/view/38248/how-to-set-up-ssh-on-ubuntu-1804</link>
	<title><![CDATA[How to set up SSH on Ubuntu 18.04]]></title>
	<description><![CDATA[<p>SSH, also known as Secure Shell or Secure Socket Shell, is a network protocol that gives users, particularly system administrators, a secure way to access a computer over an unsecured network. SSH also refers to the suite of utilities that implement the SSH protocol.</p><p>Here are the commands used to connect by Secure SHell:</p><p>On the server side</p><blockquote><p><span style="font-size: 12.8px;">sudo apt-get install ssh</span></p><p><span style="font-size: 12.8px;">sudo apt-get install openssh-server</span></p><p><span style="font-size: 12.8px;">sudo /etc/init.d/ssh start</span></p><p>sudo nano /etc/ssh/sshd_config</p><p>Uncomment port 22<br />Uncomment HostKey /etc/ssh/ssh_host_rsa_key<br />Uncomment AuthorizedKeysFile .ssh/authorized_keys .ssh/authorized_keys2<br />Set pubkey authentication to "yes"</p></blockquote><p>sudo systemctl restart sshd.service # or sudo /etc/init.d/ssh reload</p><p><br />On the client side:<br />in ~/.ssh</p><blockquote><p>ssh-keygen -t rsa # set passphrase or not<br />ssh-copy-id -i ~/.ssh/id_rsa user@100.100.10.100</p></blockquote><p>--&gt; write "yes" then password in</p><blockquote><p><br />ssh user@100.100.10.100</p></blockquote><p>--&gt; write password --&gt; you should be in</p><p>--&gt; in /home/user/.ssh/config type:<br /><strong>Host WhateverName</strong><br /><strong> HostName 100.100.10.100</strong><br /><strong> User username</strong><br /><strong> ForwardX11 yes</strong><br /><strong> ForwardAgent yes</strong><br /><strong> IdentityFile ~/.ssh/id_rsa</strong></p><p>--&gt; you should now be able to connect with :</p><blockquote><p>ssh WhateverName</p></blockquote>]]></description>
	<dc:creator>AnHo</dc:creator>
</item>
<item>
	<guid isPermaLink='true'>https://bioinformaticsonline.com/blog/view/38248/how-to-set-up-ssh-on-ubuntu-1804#item-annotation-3740</guid>
	<pubDate>Fri, 31 Jan 2020 05:47:13 -0600</pubDate>
	<link>https://bioinformaticsonline.com/blog/view/38248/how-to-set-up-ssh-on-ubuntu-1804#item-annotation-3740</link>
	<title><![CDATA[Comment by LEGE]]></title>
	<description><![CDATA[<p>The SSH server is not installed by default on Ubuntu desktop systems but it can be easily installed from the standard Ubuntu repositories.</p>
<p>To install and enable SSH on your Ubuntu system complete the following steps:</p>
<p>Open your terminal either by using the&nbsp;<code>Ctrl+Alt+T</code>&nbsp;keyboard shortcut or by clicking on the terminal icon and install the&nbsp;<code>openssh-server</code>&nbsp;package by typing:</p>
<pre><code>sudo apt update<br><br></code><code>sudo apt install openssh-server<br><br></code></pre>
<p>Once the installation is completed, the SSH service will start automatically. To verify that the installation was successful and SSH service is running type the following command which will print the SSH server status:</p>
<pre><code>sudo systemctl status ssh</code></pre>
<p>Ubuntu comes with a firewall configuration tool called UFW. If the firewall is enabled on your system, make sure to open the SSH port:</p>
<pre><code>sudo ufw allow ssh</code><br><br></pre>
<p>Once you&rsquo;ve found the IP address, login to remote machine by running the following&nbsp;<a href="https://linuxize.com/post/ssh-command-in-linux/"><code>ssh</code></a>&nbsp;command:</p>
<pre><code>ssh user@ip</code></pre>
<p>If you don&rsquo;t know your IP address you can easily find it using the this</p>
<pre><code>ip a</code></pre>]]></description>
	<dc:creator>LEGE</dc:creator>
</item>

</channel>
</rss>