<?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 Samarthya</title><link>https://samarthya.me/tags/ssh/</link><description>Recent content in Ssh on Samarthya</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>© Samarthya 2018-2026. All rights reserved.</copyright><lastBuildDate>Fri, 28 Apr 2023 12:00:00 +0000</lastBuildDate><atom:link href="https://samarthya.me/tags/ssh/index.xml" rel="self" type="application/rss+xml"/><item><title>Tunnel: SSH</title><link>https://samarthya.me/posts/tunnel-ssh/</link><pubDate>Fri, 28 Apr 2023 12:00:00 +0000</pubDate><guid>https://samarthya.me/posts/tunnel-ssh/</guid><description>&lt;p&gt;SSH tunneling is a powerful technique that allows you to securely tunnel network traffic between two endpoints. &lt;code&gt;SSH tunneling&lt;/code&gt; can be used for a variety of purposes, including bypassing network security restrictions, accessing resources on a remote network, and encrypting network traffic.&lt;/p&gt;</description></item><item><title>Ansible: SSH Access</title><link>https://samarthya.me/posts/ansible-ssh-access/</link><pubDate>Wed, 08 Feb 2023 12:00:00 +0000</pubDate><guid>https://samarthya.me/posts/ansible-ssh-access/</guid><description>&lt;p&gt;To set up SSH access for inventory hosts in &lt;code&gt;Ansible&lt;/code&gt;, follow these steps:&lt;/p&gt;&#10;&lt;ol&gt;&#10;&lt;li&gt;Generate an SSH key pair&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;code&gt;ssh-keygen -t rsa&lt;/code&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;Copy the public key to the remote host&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;code&gt;ssh-copy-id user@hostname&lt;/code&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;Test the connection to the remote host:&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;code&gt;ssh user@hostname&lt;/code&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;Modify the &lt;code&gt;ansible.cfg&lt;/code&gt; file to set the remote user, if necessary.&lt;/li&gt;&#10;&lt;li&gt;Add the remote host to the Ansible inventory file.&lt;/li&gt;&#10;&lt;li&gt;Run the Ansible playbook to execute the desired tasks on the remote host.&lt;/li&gt;&#10;&lt;/ol&gt;&#10;&lt;p&gt;Note: If you need to access multiple remote hosts, repeat steps 2-5 for each host.&lt;/p&gt;</description></item><item><title>SSH Protocol</title><link>https://samarthya.me/posts/ssh-protocol/</link><pubDate>Fri, 25 Feb 2022 12:00:00 +0000</pubDate><guid>https://samarthya.me/posts/ssh-protocol/</guid><description>&lt;blockquote&gt;&lt;p&gt;💬 What is SSH protocol?&lt;/p&gt;&#10;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;p&gt;💬 It is also referred to as Secure Shell, is a method for secure remote login from one computer to another. It is an alternative to &lt;code&gt;telnet&lt;/code&gt; and &lt;code&gt;rlogin&lt;/code&gt;&lt;/p&gt;&#10;&lt;/blockquote&gt;</description></item></channel></rss>