Quantcast
Channel: How to solve 'Connection refused' errors in SSH connection? - Ask Ubuntu
Browsing latest articles
Browse All 15 View Live

Answer by mazunki for How to solve 'Connection refused' errors in SSH...

On Manjaro, while sshd is installed by default, the server daemon was not actice. sudo systemctl start sshd.service opened it immediately, and works out of the box.

View Article



Answer by user for How to solve 'Connection refused' errors in SSH connection?

On my case, fail2ban had banned my IP:iptables -n -L (use this command to see if you were banned by this ****** or something else)https://bobcares.com/blog/fail2ban-unban-ip/

View Article

Answer by SDsolar for How to solve 'Connection refused' errors in SSH...

arp-scan is showing two duplicate devices, but when I run Advanced IP scanner on Win8 they all look fine. So they don't always agree.I set the router to revoke all the leases by telling it to give only...

View Article

Answer by Amin Jalali for How to solve 'Connection refused' errors in SSH...

open the file of ssh config:sudo nano /etc/ssh/ssh_configfind the port#port 22uncomment (remove the #) the port optionthen save the file by ctrl + x and restart your servicesudo service sshd restart

View Article

Answer by Jodi MIddleton for How to solve 'Connection refused' errors in SSH...

What do you get if you do this?grep 192.168.2.25 /etc/hosts.denyIf that returns anything then you need to remove it.

View Article


Answer by Mevin Babu for How to solve 'Connection refused' errors in SSH...

It's basically because of any one of the following reasons:Too many users on the network trying to access the serverMore than one computer on the network has the same IP as the server causing an IP...

View Article

Answer by John Shalamskas for How to solve 'Connection refused' errors in SSH...

Use arping on the IP address that is having connection issues. That will show the MAC address for each ping reply, and hopefully will unmask the rogue MAC address. arping 192.168.2.254You should check...

View Article

Answer by Rian Sanderson for How to solve 'Connection refused' errors in SSH...

IP address conflict turned out to be the root cause when I was seeing this SSH error message.After reading the answers above I suspected an IP address conflict, but needed to prove that address...

View Article


Answer by JustBeingHelpful for How to solve 'Connection refused' errors in...

You must install openssh-server on Linux before this will work. Get the internal IP address of Ubuntu and use that IP to setup port forwarding on port 22 (SSH) section of your router. Although if you...

View Article


Answer by DLosc for How to solve 'Connection refused' errors in SSH connection?

I had the same problem, even though I had a static IP address. Turns out another server on my network had been assigned the same (static) IP address. (Duh.) So it does appear that the problem is caused...

View Article

Answer by George for How to solve 'Connection refused' errors in SSH connection?

I can confirm this exact issue: It's not a simple connectivity issue. The ethernet link does not change state; server is reachable via ping; ssh connects flawlessly occasionally, then seemingly...

View Article

Answer by hheimbuerger for How to solve 'Connection refused' errors in SSH...

I had exactly the same issue, and in my case it turned out to be an IP address conflict. My Ubuntu VM had a dynamic address, but another machine (in this case a phone) had a static IP assigned that the...

View Article

Answer by Lekensteyn for How to solve 'Connection refused' errors in SSH...

You might want to check your iptables rules on your server. It sounds like you've a rule for limiting new SSH connections.The next rule allows 5 new connections per minute, if you exceed this limit,...

View Article


Answer by forcefsck for How to solve 'Connection refused' errors in SSH...

This looks more of a problem of your network equipment than the server itself.Check /var/log/messages for ethernet link up/downs (or wlan in case of wireless). If so try changing the cables.

View Article

How to solve 'Connection refused' errors in SSH connection?

I have an Ubuntu Server 10.10 32-bit in my home. I'm making SSH connections to it from my PC via Putty.The problem is, sometimes I'm able to login seamlessly. However, sometimes it gives me an error...

View Article

Browsing latest articles
Browse All 15 View Live




Latest Images