<?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>PuTTY fatal error - Techyaz.com</title>
	<atom:link href="https://techyaz.com/tag/putty-fatal-error/feed/" rel="self" type="application/rss+xml" />
	<link></link>
	<description>Tips, Tutorials and How-to Topics</description>
	<lastBuildDate>Tue, 15 May 2018 15:12:11 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8</generator>

<image>
	<url>https://techyaz.com/wp-content/uploads/2017/11/cropped-Site-icon-150x150.png</url>
	<title>PuTTY fatal error - Techyaz.com</title>
	<link></link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Fix PuTTY Network Error: Connection Refused while Connecting to Ubuntu Server</title>
		<link>https://techyaz.com/ubuntu/fix-putty-network-error-connection-refused-connecting-ubuntu-server/</link>
					<comments>https://techyaz.com/ubuntu/fix-putty-network-error-connection-refused-connecting-ubuntu-server/#respond</comments>
		
		<dc:creator><![CDATA[Manvendra Deo Singh]]></dc:creator>
		<pubDate>Mon, 18 Sep 2017 07:02:02 +0000</pubDate>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[HowTO]]></category>
		<category><![CDATA[PuTTY]]></category>
		<category><![CDATA[PuTTY fatal error]]></category>
		<category><![CDATA[RHEL]]></category>
		<category><![CDATA[SQL Server On Linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[Virtual Machine]]></category>
		<guid isPermaLink="false">http://techyaz.com/?p=912</guid>

					<description><![CDATA[<p>I installed SQL Server 2017 on Ubuntu server and tried to connect to this server using PuTTY from my local host. I failed to connect and received PuTTY fatal error ubuntu ssh connection refused. Read this tip to fix this PuTTY&#46;&#46;&#46;</p>
<p>The post <a href="https://techyaz.com/ubuntu/fix-putty-network-error-connection-refused-connecting-ubuntu-server/">Fix PuTTY Network Error: Connection Refused while Connecting to Ubuntu Server</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>I <a href="https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-2017-on-ubuntu-server-without-internet-offline-installation/" target="_blank" rel="noopener">installed SQL Server 2017 on Ubuntu server</a> and tried to connect to this server using PuTTY from my local host. I failed to connect and received PuTTY fatal error ubuntu ssh connection refused. Read this tip to fix this PuTTY <em>Network Error : Connection Refused.</em></p>
<h3><span style="color: #000080;"><strong>Network error: Ubuntu ssh Connection Refused</strong></span></h3>
<p>I faced ubuntu connection refused error while establishing a connection to Ubuntu Linux virtual machine from host computer. I installed PuTTY on my host and tried to connect to Ubuntu Linux machine. Let&#8217;s <a href="https://techyaz.com/sql-server/sql-server-on-linux/check-change-ip-address-subnet-mask-default-gateway-linux-server/" target="_blank" rel="noopener">check the IP of Ubuntu server</a> that we had used to make connection from PuTTY terminal. Run <em>ipconfig</em> command to get these details.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span class="kwrd" style="color: blue;"><span style="color: #008000;">#Check IP of Ubuntu Server</span>
ipconfig
</span></strong></pre>
<p>We can see the IP details of the Ubuntu server that is showing 192.168.209.134. We have used this IP to establish server connection and end up with this PuTTY fatal error.</p>
<p><img fetchpriority="high" decoding="async" class="aligncenter size-full wp-image-913" src="http://techyaz.com/wp-content/uploads/2017/09/1-get-ip.jpg" alt="Check IP of Ubuntu Server" width="495" height="286" srcset="https://techyaz.com/wp-content/uploads/2017/09/1-get-ip.jpg 495w, https://techyaz.com/wp-content/uploads/2017/09/1-get-ip-300x173.jpg 300w" sizes="(max-width: 495px) 100vw, 495px" /></p>
<p>I tried to connect to Ubuntu server post getting IP from above command but I got ubuntu ssh connection refused error during this operation. The details of PuTTY Fatal Error that caused ubuntu connection refused is given below.</p>
<div class="codediv"><span class="kwrd" style="color: red;"><strong><em>PuTTY Fatal Error</em></strong><br />
<strong><em> Network error: Connection Refused</em></strong><br />
</span></div>
<p><img decoding="async" class="aligncenter size-full wp-image-914" src="http://techyaz.com/wp-content/uploads/2017/09/2-error.jpg" alt="Network Error Connection Refused Error" width="457" height="279" srcset="https://techyaz.com/wp-content/uploads/2017/09/2-error.jpg 457w, https://techyaz.com/wp-content/uploads/2017/09/2-error-300x183.jpg 300w" sizes="(max-width: 457px) 100vw, 457px" /></p>
<h3><span style="color: #000080;"><strong>Solution</strong></span></h3>
<p>We faced ubuntu ssh connection refused error and failed to connect to Ubuntu Server remotely using PuTTY terminal because <strong>SSH, or Secure Shell</strong> is not installed on the Ubuntu server. <strong>SSH, or Secure Shell</strong>, is a protocol used to securely log onto remote systems. Our next step is to install SSH on the Ubuntu server. Run below command to start this installation.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span class="kwrd" style="color: blue;"><span style="color: #008000;">#Install SSH on Ubuntu Server</span>
sudo apt-get install openssh-server
</span></strong></pre>
<p>It will check the dependencies and ask you to type y to proceed with the installation as shown in below image.</p>
<p><img decoding="async" class="aligncenter size-full wp-image-915" src="http://techyaz.com/wp-content/uploads/2017/09/3-install-ssh.jpg" alt="install ssh" width="978" height="465" srcset="https://techyaz.com/wp-content/uploads/2017/09/3-install-ssh.jpg 978w, https://techyaz.com/wp-content/uploads/2017/09/3-install-ssh-300x143.jpg 300w, https://techyaz.com/wp-content/uploads/2017/09/3-install-ssh-768x365.jpg 768w" sizes="(max-width: 978px) 100vw, 978px" /></p>
<p>A series of all required packages will download and set up to install SSH. Once SSH will be installed on your Ubuntu server it will look like below image.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-916" src="http://techyaz.com/wp-content/uploads/2017/09/4-install-ssh.jpg" alt="install ssh" width="767" height="285" srcset="https://techyaz.com/wp-content/uploads/2017/09/4-install-ssh.jpg 767w, https://techyaz.com/wp-content/uploads/2017/09/4-install-ssh-300x111.jpg 300w" sizes="auto, (max-width: 767px) 100vw, 767px" /></p>
<p>You can also reconfirm the installation by executing same command which you ran to install it. You can say, it is saying newest version is already installed on this server.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-917" src="http://techyaz.com/wp-content/uploads/2017/09/5-recheck-ssh.jpg" alt="validate ssh installation" width="639" height="148" srcset="https://techyaz.com/wp-content/uploads/2017/09/5-recheck-ssh.jpg 639w, https://techyaz.com/wp-content/uploads/2017/09/5-recheck-ssh-300x69.jpg 300w" sizes="auto, (max-width: 639px) 100vw, 639px" /></p>
<p>Now launch PuTTY terminal on your host computer or a computer from where you want to connect to the Ubuntu server and enter IP address of Ubuntu server to establish connection. Once you click on connect button, you will get a window for the very first time only. Click on Yes button of that window to proceed. Once you will click on Yes button you will be connected to your Ubuntu server remotely.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-918" src="http://techyaz.com/wp-content/uploads/2017/09/7-connect-ssh.jpg" alt="Connected to ubuntu using Putty" width="842" height="269" srcset="https://techyaz.com/wp-content/uploads/2017/09/7-connect-ssh.jpg 842w, https://techyaz.com/wp-content/uploads/2017/09/7-connect-ssh-300x96.jpg 300w, https://techyaz.com/wp-content/uploads/2017/09/7-connect-ssh-768x245.jpg 768w" sizes="auto, (max-width: 842px) 100vw, 842px" /></p>
<p>Now we can see putty connection refused error is fixed and we can connect to Ubuntu server remotely using PuTTY terminal. If you want to <a href="https://help.ubuntu.com/community/SSH/OpenSSH/Configuring" target="_blank" rel="noopener">change configurations of SSH</a> you can refer to attached document. This way you can fix ubuntu ssh connection refused error.</p>
<p>Here, we have fixed ubuntu putty connection refused error. I hope you like this article. Please follow us on our <a href="https://www.facebook.com/Techyaz/">facebook</a> page and on <a href="https://twitter.com/Tech_yaz">Twitter</a> handle to get latest updates.</p>
<p>The post <a href="https://techyaz.com/ubuntu/fix-putty-network-error-connection-refused-connecting-ubuntu-server/">Fix PuTTY Network Error: Connection Refused while Connecting to Ubuntu Server</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://techyaz.com/ubuntu/fix-putty-network-error-connection-refused-connecting-ubuntu-server/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Fix PuTTY Connection Issue Network error: Connection timed out</title>
		<link>https://techyaz.com/rhel/fix-putty-network-error-connection-timed/</link>
					<comments>https://techyaz.com/rhel/fix-putty-network-error-connection-timed/#comments</comments>
		
		<dc:creator><![CDATA[Manvendra Deo Singh]]></dc:creator>
		<pubDate>Mon, 28 Aug 2017 10:58:08 +0000</pubDate>
				<category><![CDATA[RedHat Linux]]></category>
		<category><![CDATA[Connection Issue]]></category>
		<category><![CDATA[HowTO]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[PuTTY]]></category>
		<category><![CDATA[PuTTY fatal error]]></category>
		<category><![CDATA[RHEL]]></category>
		<guid isPermaLink="false">http://techyaz.com/?p=679</guid>

					<description><![CDATA[<p>I explained how to installed RedHat Linux on a virtual machine in my last article. I was not able to connect to this Linux server from PuTTY terminal that was installed on my host machine.  Everytime i tried to connect&#46;&#46;&#46;</p>
<p>The post <a href="https://techyaz.com/rhel/fix-putty-network-error-connection-timed/">How to Fix PuTTY Connection Issue Network error: Connection timed out</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>I explained <a href="https://techyaz.com/sql-server/sql-server-on-linux/step-step-process-install-red-hat-enterprise-linux/" target="_blank" rel="noopener">how to installed RedHat Linux on a virtual machine</a> in my last article. I was not able to connect to this Linux server from PuTTY terminal that was installed on my host machine.  Everytime i tried to connect to Linux server i got &#8220;<strong>Network error: Connection timed out</strong>&#8220;. Here I will explain how to fix this connection issue &#8220;<strong>Network error: Connection timed out</strong>&#8221;</p>
<h3><span style="color: #000080;"><strong>Network error: Connection timed out</strong></span></h3>
<p>I faced this issue during making connection to Linux virtual machine from PuTTY terminal that is running on host computer. I got below error during this operation. When i tried to <strong>ping</strong> the Linux virtual machine from host it was failed and shown <strong>request timeout</strong>.</p>
<div class="codediv"><span class="kwrd" style="color: red;">PuTTY Fatal Error<br />
Network error: Connection timed out<br />
</span></div>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-680" src="http://techyaz.com/wp-content/uploads/2017/08/1-network-issue.jpg" alt="Putty fatal error network error" width="507" height="286" srcset="https://techyaz.com/wp-content/uploads/2017/08/1-network-issue.jpg 507w, https://techyaz.com/wp-content/uploads/2017/08/1-network-issue-300x169.jpg 300w" sizes="auto, (max-width: 507px) 100vw, 507px" /></p>
<p>I did some research over internet and found lot of solutions and reason behind this issue. Some people suggested to check and disable all firewalls and some has suggested some other solutions. Most of solutions have failed to fix this issue.</p>
<p>I discussed it with one of my friend who works in VMware domain, he suggested only one solution to check the IPs of host and virtual machine that should be part of same subnet. I apply his solution and it worked. Here i will explain the fix of this issue.</p>
<p>Let&#8217;s check the IP of local host on which Linux virtual machine is hosted. Run <strong>ipconfig</strong> command to get these details.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span class="kwrd" style="color: blue;"><span style="color: #008000;">#Check Host IP</span>
ipconfig
</span></strong></pre>
<p>We can see the IP details of the host computer. We can see the range of IP is <strong>192.168.209</strong>.1 &amp; subnet mask is 255.255.255.0</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-681" src="http://techyaz.com/wp-content/uploads/2017/08/2-check-host-ip.jpg" alt="check host ip address" width="807" height="178" srcset="https://techyaz.com/wp-content/uploads/2017/08/2-check-host-ip.jpg 807w, https://techyaz.com/wp-content/uploads/2017/08/2-check-host-ip-300x66.jpg 300w, https://techyaz.com/wp-content/uploads/2017/08/2-check-host-ip-768x169.jpg 768w" sizes="auto, (max-width: 807px) 100vw, 807px" /></p>
<p>Now we will check the IP of the Linux virtual machine which we generally give during the installation. Run <strong>ifconfig</strong> command on your Linux machine.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span class="kwrd" style="color: blue;"><span style="color: #008000;">#Check Red Hat Linux Server IP</span>
ifconfig
</span></strong></pre>
<p>You can see the IP of this machine is <strong>192.168</strong>.0.1 that belongs to different IP range. This is the main issue behind this error. Our next step to <strong>change the IP of Linux machine</strong> to same IP range under which host is running.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-682" src="http://techyaz.com/wp-content/uploads/2017/08/3-check-server-ip.jpg" alt="check red hat linux server ip" width="679" height="347" srcset="https://techyaz.com/wp-content/uploads/2017/08/3-check-server-ip.jpg 679w, https://techyaz.com/wp-content/uploads/2017/08/3-check-server-ip-300x153.jpg 300w" sizes="auto, (max-width: 679px) 100vw, 679px" /></p>
<h3><span style="color: #000080;"><strong>Solution</strong></span></h3>
<p>The solution of this issue is to change the IP of Linux machine to the same range on which local host is running. We can see the connection interface name is <strong>ens33</strong> from above screenshot. Next step is to <strong>connect to Linux</strong> machine and <strong>set the new IP</strong> for this connection interface name. Run below command to get this done.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span class="kwrd" style="color: blue;"><span style="color: #008000;">#Change the IP of connection interface name ens33 to 192.168.209.10.</span>
sudo ifconfig ens33 192.168.209.10 netmask 2555.255.255.0
</span></strong></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-683" src="http://techyaz.com/wp-content/uploads/2017/08/4-change-ip.jpg" alt="change the IP of linux server" width="760" height="72" srcset="https://techyaz.com/wp-content/uploads/2017/08/4-change-ip.jpg 760w, https://techyaz.com/wp-content/uploads/2017/08/4-change-ip-300x28.jpg 300w" sizes="auto, (max-width: 760px) 100vw, 760px" /></p>
<p>We can see command executed successfully. Now we can validate this change by running <strong>ifconfig</strong> again and you can see the IP is changed to <strong>192.168.209.10</strong> now.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-684" src="http://techyaz.com/wp-content/uploads/2017/08/5-check-ip-post-change.jpg" alt="" width="712" height="327" srcset="https://techyaz.com/wp-content/uploads/2017/08/5-check-ip-post-change.jpg 712w, https://techyaz.com/wp-content/uploads/2017/08/5-check-ip-post-change-300x138.jpg 300w, https://techyaz.com/wp-content/uploads/2017/08/5-check-ip-post-change-980x450.jpg 980w" sizes="auto, (max-width: 712px) 100vw, 712px" /></p>
<p>Now we can go ahead and connect to this machine from host computer. Launch the PuTTY tool and enter the IP of the Linux virtual machine and click on open button as shown in below screen.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-685" src="http://techyaz.com/wp-content/uploads/2017/08/6-Putty.jpg" alt="PuTTY" width="627" height="551" srcset="https://techyaz.com/wp-content/uploads/2017/08/6-Putty.jpg 627w, https://techyaz.com/wp-content/uploads/2017/08/6-Putty-300x264.jpg 300w" sizes="auto, (max-width: 627px) 100vw, 627px" /></p>
<p>Once you click on open button, another window will come and ask you to choose <strong>Yes</strong> to proceed. Click on Yes button of this screen to proceed. Once you click on Yes button, you will get a login window which ask you to enter a correct login id and password to connect to Linux virtual machine. I did the same and you can see i have successfully connected to the Linux virtual machine from my host computer.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-686" src="http://techyaz.com/wp-content/uploads/2017/08/7-Putty.jpg" alt="login to linux server" width="570" height="165" srcset="https://techyaz.com/wp-content/uploads/2017/08/7-Putty.jpg 570w, https://techyaz.com/wp-content/uploads/2017/08/7-Putty-300x87.jpg 300w" sizes="auto, (max-width: 570px) 100vw, 570px" /></p>
<p>Now issue is fixed and you can do anything as per your requirement on the Linux virtual machine from your host computer using PuTTY terminal.</p>
<p>I hope you like this article. Please follow us on our <a href="https://www.facebook.com/Techyaz/">facebook page</a> and on <a href="https://twitter.com/Tech_yaz">Twitter </a>handle to get latest updates.</p>
<p><em><strong><span style="color: #800000;">Read More:</span></strong></em></p>
<ul>
<li><strong><a href="https://techyaz.com/ubuntu/fix-putty-network-error-connection-refused-connecting-ubuntu-server/" target="_blank" rel="noopener">Fix PuTTY Network Error: Connection Refused While Connecting to Ubuntu Server</a></strong></li>
<li><strong><a href="https://techyaz.com/rhel/change-putty-text-color/" target="_blank" rel="noopener">How to Change PuTTY Text Color?</a></strong></li>
<li><strong><a href="https://techyaz.com/rhel/how-to-change-putty-cursor-color-or-mouse-pointer-color/" target="_blank" rel="noopener">How to Change Putty Cursor or Mouse Pointer Color?</a></strong></li>
<li><strong><a href="https://techyaz.com/sql-server/sql-server-on-linux/how-to-change-putty-background-color/" target="_blank" rel="noopener">Change PuTTY Background Color</a></strong></li>
</ul>
<p>The post <a href="https://techyaz.com/rhel/fix-putty-network-error-connection-timed/">How to Fix PuTTY Connection Issue Network error: Connection timed out</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://techyaz.com/rhel/fix-putty-network-error-connection-timed/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
	</channel>
</rss>
