<?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: AnHo's blogs]]></title>
	<link>https://bioinformaticsonline.com/blog/owner/AnHo?</link>
	<atom:link href="https://bioinformaticsonline.com/blog/owner/AnHo?" 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>

</channel>
</rss>