<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>SSH on Ke's Notes and Blogs</title><link>https://kxue43.github.io/notes-and-blogs/tags/ssh/</link><description>Recent content in SSH on Ke's Notes and Blogs</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Tue, 05 Nov 2024 21:31:53 -0500</lastBuildDate><atom:link href="https://kxue43.github.io/notes-and-blogs/tags/ssh/index.xml" rel="self" type="application/rss+xml"/><item><title>SSH Client and Server</title><link>https://kxue43.github.io/notes-and-blogs/notes/ssh-client-and-server/</link><pubDate>Tue, 05 Nov 2024 21:31:53 -0500</pubDate><guid>https://kxue43.github.io/notes-and-blogs/notes/ssh-client-and-server/</guid><description>&lt;p&gt;This page describes how to set up a Linux machine as an SSH server and remote in from macOS.&lt;/p&gt;





&lt;h2 id="ssh-server-on-linux" class="heading "&gt;SSH Server on Linux&lt;a href="#ssh-server-on-linux" aria-labelledby="ssh-server-on-linux"&gt;








&lt;!-- &lt;i class="fas fa-link anchor"&gt;&lt;/i&gt; --&gt;
 &lt;svg class="svg-inline--fa fas fa-link anchor" fill="currentColor" aria-hidden="true" role="img" viewBox="0 0 576 512"&gt;&lt;use href="#fas-link"&gt;&lt;/use&gt;&lt;/svg&gt;&amp;nbsp;
 &lt;/a&gt;
&lt;/h2&gt;
&lt;p&gt;First install OpenSSH server on the specific Linux distro if it&amp;rsquo;s not already present.&lt;/p&gt;
&lt;p&gt;Then check if the &lt;code&gt;sshd&lt;/code&gt; service is enabled and active.&lt;/p&gt;
&lt;div class="codeblock syntax-highlight mb-3"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sudo systemctl status sshd&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;If not, enable and activate it by the following.&lt;/p&gt;</description></item></channel></rss>