Server :: IPtables - SSH Running On Port 2298 (Host Connection Refused)

Aug 1, 2011

I have 2 servers..
let say server A and server B
On server A open ssh is configured and is running on port 2298. So from my machine I can login there using ssh on port 2298
But when I login to server B and from there I try to connect to server A I cannot.
ssh: connect to host <ipaddress here> port 2298: Connection refused

View 2 Replies


ADVERTISEMENT

Networking :: Ssh: Connect To Host 192.168.1.11 Port 22: Connection Refused

Dec 11, 2010

I cannot use GRsync from Ubuntu Desktop to PCLinuxOS laptop.The 2 computers can ping each other. I have disabled both firewalls. My laptop IP address is 192.168.1.11This is the error on Ubuntu Grsync:

ssh: connect to host 192.168.1.11 port 22: Connection refused
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(601) [sender=3.0.7]
Rsync process exit status: 12

On PCLinuxOS it wont say Ethernet is connected when trying a static address setup.However it does connect to the internet via auto Ethernet setup and a LAN cable. It then says connected. In order to use SSH and GRsync what programs are required? I have these installed on both machines: grsync openssh-client openssh-server

View 5 Replies View Related

Networking :: Ssh - Connect To Host 10.137.216.170 Port 22 - Connection Refused

Jun 15, 2011

I am facing trouble to scp from server to to my local machine where as the vice-vesra is working fine.

The error is like below.

lost connection

View 4 Replies View Related

CentOS 5 :: Ssh: Connect To Host 111.222.33.44 Port 22: Connection Refused

Sep 12, 2010

I have become convinced that rsync for CentOS 5 is broken. I'm trying to set up automatic backups between 2 servers in 2 different countries using rsync under CentOS 5.I can get manual backups to work between the 2 servers by doing two things I shouldn't need to do, but automatic backups fail and I see no solution.Here are the problems I am encountering: According to the instructions I've read everywhere, I am to set up two configuration files:

/etc/rsyncd.conf
/etc/rsyncd.secrets

When I run rsync from root, it apparently just totally ignores these two files. No custom greeting, no log, no password used.
Even when I specify --password-file=/etc/rsyncd.secrets in the command line, it still ignores it. I am prompted and I must enter the password manually. Let me back up a moment. After first installing rsync, when I ran any command to access the root server, I get this error:

ssh: connect to host 111.222.33.44 port 22: Connection refused
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: unexplained error (code 255) at io.c(463) [sender=2.6.8]

I read everywhere that rsync uses port 873, not port 22 which is used for SSH. Why is rsync on CentOS trying to use port 22?I have SSH switched from port 22 to another port (let's call it 5432 here) and block port 22.So, I have added this to the command line:

--rsh='ssh -p5432'

Then I get a connection ...

... but it prompts me for my password. It doesn't matter that I have my username and password, same one, in /etc/rsyncd.secrets on both servers. It still asks.And it rejects my password!The only way I can get it to connect is by creating an SSH user on the remote server for this.Even then, rsync STILL prompts me for a password, even though:

1. the username and password are specified in the /etc/rsyncd.secrets files on both servers

2. I've added the command line parameter --password-file=/etc/rsyncd.secrets Therefore, it is totally impossible to use an any cron job or other automatic synchronization, under CentOS 5.

rsync -av --password-file=/etc/rsyncd.secrets --rsh='ssh -p5432' sourcefiles* rsyncusername@111.222.33.44:httpdocs/rsync
rsync -av --password-file=/etc/rsyncd.secrets --rsh='ssh -p5432' sourcefiles* 111.222.33.44:httpdocs/rsync
rsync -av --verbose --progress --stats --password-file=/etc/rsyncd.secrets --rsh='ssh -p5432' sourcefiles* rsyncusername@111.222.33.44:httpdocs/rsync

Yes, I have made sure that I have the latest rsync. I have run yum update for everything.Yes, I have double checked, triple checked, and quadruple checked my config files.

View 2 Replies View Related

Fedora Networking :: Ssh: Connect To Host 192.168.1.100 Port 22: Connection Refused

Nov 27, 2010

I have my desktop computer (running F13) configured to accept ssh over port 22 via the firewall configuration tool. If I type ifconfig -a, this computer, which is running on my wireless network, tells me:

Code:

inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0

However, if I go to my laptop computer (also running F13) and try and ssh into the desktop, i.e. ssh icthy@192.168.1.100, I get this response:

Code:

ssh: connect to host 192.168.1.100 port 22: Connection refused.

I guess I am confused to what is blocking the connection? Is there another means on F13 other than the default Firewall? I haven't really messed with the network at all. For what it's worth, I am hoping to set things up so I can just ssh into the computer name, (ssh icthy@desktop) eventually, but want to start with the IP. So, can anyone offer a hint as to what I can look for that is blocking port 22?

View 3 Replies View Related

Ubuntu One :: Ssh:connect To Host Restart Port 22: Connection Refused

Feb 20, 2010

I am getting "ssh:connect to host restart port 22: Connection refused" error when trying to start "ssh" in Ubuntu. I uncommented the port 22 in ssh_config, I dont have iptables setup...Did try to check if the port is listening using the netstat -an | grep "LISTEN" & couldnt find.

View 9 Replies View Related

Ubuntu :: Ssh: Connect To Host Stop Port 22: Connection Refused

Jul 21, 2011

I'm having problems with ssh and don't know what else to do. I keep getting "ssh: connect to host stop port 22: Connection refused" when i try to stop or start ssh:

[Code]....

View 2 Replies View Related

Software :: Ssh - Connect To Host Restart Port 22 - Connection Refused

Feb 19, 2010

I am getting "ssh:connect to host restart port 22: Connection refused" error when trying to start "ssh" in Ubuntu. I uncommented the port 22 in ssh_config, I dont have iptables setup...Did try to check if the port is listening using the netstat -an | grep "LISTEN" & couldnt find.

View 14 Replies View Related

Ubuntu Networking :: Telnet To Port 25; Connection Refused For All But Local Host

Jan 12, 2010

I can telnet (while on the actual machine) using

Quote:

telnet localhost 25

When I try and use the local machine's ip

Quote:

telnet 192.168.100.9 25

I get

Quote:

Trying 192.168.100.9...
telnet: Unable to connect to remote host: Connection refused

[Code].....

This last one is strange as I the IP looks odd.

What I am doing wrong, and how do I fix it. After much surfing many mosts say that telnet is not used anymore but I want to use it to test my smtp server.

View 9 Replies View Related

Ubuntu Networking :: Ssh: Connect To Host Srv3 Port 22: Connection Refused

May 4, 2011

I have installed ubuntu 11.04 and I'm now trying to connect to existing SUSE servers on the LAN. My home directory has a shared NFS mounted home on the SUSE servers while my home on the ubuntu machine is local. I can log in using ssh to all the SUSE servers except one. I get:

ssh: connect to host srv3 port 22: Connection refused

If I use the IP address of srv3 directly it works. Also, before I changed the default machine name ("ubuntu") I could log into srv3.

nslookup srv3 works OK.
ping srv3 works OK.

Even if I completely delete the .ssh directory in both my ubuntu home and in my shared home on the SUSE servers I still cannot log in using the srv3 name, only direct IP address works. I'm thinking that the login I did to srv3 before I changed the machine name for the ububtu machine must have goofed up something

View 2 Replies View Related

CentOS 5 Networking :: Error: Unable To Connect To Remote Host: Connection Refused, It Happens With Any Port

Feb 11, 2009

I'm trying to connect with my server via telnet, but when i sent the command (telnet xxx.xxx.xxx.xxx Port) doesn't works and shows then follow error: Unable to connect to remote host: Connection refused, It happens with any port. Is strange but my telnet services works (telnet xxx.xxx.xxx.xxx), In addition, i tried with firewall enabled and disabled and the problem still happens. My centOS run on virtualbox.

View 3 Replies View Related

Server :: Connection Refused By Host ?

Aug 17, 2011

I am experiencing a problem with Nagios running some checks on our Ubuntu 10.04 servers.

we have 16 Nos HDD in each servers. These HDD's are checking by nagios with CPU and users.

For whatever reason, all of the checks will come up with the response: "Connection refused by host".

We have checked the server at the time of occurence and all seems fine. No memory issues, no CPU issues etc.

Then within 5-10 minutes the problem goes away.

View 4 Replies View Related

Server :: Postfix Connection Refused (port 25)

Aug 7, 2010

I have just built a new postifx open relay server to allow my ISP clients to send emails. During testing of the SMPT protocol, I can managed to send emails to my localhost however, I can't send emails to other external mail server. Below is a test to a yahoo account. Aug 7 15:03:55 mx2 postfix/smtp[4050]: connect to g.mx.mail.yahoo.com[98.137.54.238]: Connection refused (port 25) Aug 7 15:03:55 mx2 postfix/smtp[4050]: F084EC8D76: to=<ellyu4@yahoo.com>, relay=none, delay=8.5, delays=1.2/0.05/7.3/0, dsn=4.4.1, status=deferred (connect to g.mx.mail.yahoo.com[98.137.54.238]: Connection refused)

[Code]....

View 16 Replies View Related

Ubuntu Servers :: SSH Server - Connect To Server Via Port 443 I Get A Connection Refused Error?

Jan 7, 2011

I am merely trying to change the port for my ssh server.However it isn't changing.I edited my ssh_config file to:

Code:

# This is the ssh client system-wide configuration file. See
# ssh_config(5) for more information. This file provides defaults for[code]...

When i try to connect to my server via port 443 i get a connection refused error. However when i try to connect via port 22 it connects. Since that didn't work, i tried restarting the entire server.To restate, i changed the config file and restarted ssh then the computer, however the port didn't change.Ohh and yes my router is set to port forwarding on port 443, though it doesn't matter since I'm inside the network.

View 2 Replies View Related

General :: Check_NRPE From Ubuntu Server To OpenWRT Router - Connection Refused By Host

May 23, 2011

I am trying to monitorize an OpenWRT (Backfire 10.03, r23115) router from an Ubuntu server, but I am having some problems. I have installed Nrpe (2.12) on the remote host (OpenWRT), I have executed the program as a deamon (/usr/sbin/nrpe -d) but when I start the NRPE deamon, I don't get anything about NRPE executing netstat -at or ps -ef.I would need to install check_nrpe on OpenWRT to find out if NRPE is working, but I can't find any ipk package with it. Now, once in the monitoring host when I try to reach the remote host from the server:

/usr/local/nagios/libexec/check_nrpe -H ip_remote_host

I get: Connection refused by host

Even, trying with localhost:

/usr/local/nagios/libexec/check_nrpe -H localhost

I get the same error: Connection refused by host

I have installed Nagios Plugins and the check_nrpe plugin. I have edited the /etc/nrpe.cfg file:

allowed_hosts=127.0.0.1 ip_server

I don't exactly know if it is remote host's fault, monitoring host's fault or both.

View 14 Replies View Related

CentOS 5 Server :: Port Configuration - Being Blocked - Iptables And Connection

Jul 4, 2009

I have a fresh installation of CentOS 5 I'm using for a server, and I'm having issues with port configuration. I have iptables running, and it started with no /etc/sysconfig/iptables file. I added a few basic rules (port 53, port 10000 for webmin), saved the file, and restarted the service. I tried connecting to webmin, scanned ports, and traffic was blocked. I set iptables to allow all traffic and restarted the service, and it still showed basically every port as being blocked. It seems port 80 and port 22 work for some reason, even when I tell iptables to block all ports.

I'm not sure what's going on here. Iptables is reading the /etc/sysconfig/iptables file, and if I use lynx localhost:someport it responds as it should according to the file. However, if I try connecting by IP, it's like there's some other firewall or something running that does whatever it's configured to do.....

View 2 Replies View Related

CentOS 5 Networking :: Iptables Not Opening Port To Connect Via Vnc To A Server Running 5.5?

Apr 27, 2011

I'm trying to open up some ports to connect via vnc to a server running Centos 5.5. I've edited /etc/sysconfig/iptables everything *looks* fine, but I still can't seem to get access to the port I've opened (I added some newlines for clarity between commands):

[Code]....

View 4 Replies View Related

Server :: Ssh: Connect To Host Sage.math.washington.edu Port 22: Connection Timed Out

May 26, 2010

I've been trying to ssh out of my home network to school computers and I keep getting:

ssh: connect to host sage.math.washington.edu port 22: Connection timed out

I've tried this on my machine (running Ubuntu 10.04) and on a windows 7 machine (using putty). I have been successful ssh'ing to this machine using either of the laptops from every other network I've tried, so I'm pretty sure it's something about my home network.

View 3 Replies View Related

OpenSUSE Network :: 11.2 - SHH Connection To Host Refused

Aug 5, 2010

I am running 11.2 and set ssh to boot at runlevel 3 and 5 through yast and started the service through the terminal. I have turned off the firewall on my wireless router and in the local firewall. When I try to connect from a machine in my office, I get the following

Code:
ssh: connect to host xx.xxx.xx.xxx port 22: Connection refused
When I run telnet from the machine, I get:
Code:
telnet: connect to address xx.xxx.xxx.xx: Connection refused
telnet: Unable to connect to remote host: Connection refused
netstat -tlnp on my machine shows:
Code:
tcp 0 0 :::22 :::* LISTEN 31622/sshd

View 9 Replies View Related

General :: Sendmail Connection Refused By Host

Jan 13, 2010

Is the following sendmail scenario possible? If yes, what modification(s) should be made, in order to work?

system1 with host1 - where the sendmail is executed
system2 with host2 - where the destination email address is stored

When trying to sendmail from host1 to an email address stored on host2. but with the format username@host1, the sendmail service returns Connection refused by host1.

View 2 Replies View Related

Slackware :: Could Not Connect To Host 127.0.0.1 - Connection Refused

Dec 7, 2010

I am getting this error message on ktorrent on slackware 13.1 64. Few days ago I was using ktorrent for torrent downloads and it was fine, but not i can't star any download or any kind of torrent, it just keeps returning the error and it's not working at all.

View 1 Replies View Related

Networking :: SSH Connection Refused Port 22?

Mar 4, 2011

I get a connection refused error whenever I attempt to connect to a remote ssh server, I tried the test at and it says outbound ssh port 22 is not being blocked. I'm wondering what else could be the problem.

View 3 Replies View Related

Software :: Lpr - Can't Connect To Remote Host - 127.0.0.1 - Connection Refused

Mar 26, 2011

lpr: can't connect to remote host (127.0.0.1): Connection refused

[root@l-GZ:/]# usb 1-1: new full speed USB device using sl811-hcd and address 3

View 2 Replies View Related

Ubuntu Networking :: Port 22:connection Refused With SSH

Dec 21, 2010

having a port 22:connection refused problem with SSH. None of what I have read has been what I have been experiencing, so I figured I would post here. The worst that could happen is this gets completely ignored, or I am told that there is already a solution, that I missed it, and directed to it. Here is my problem:

Just learned how to ssh into my machine a few days ago. Everything has been running smoothly until I ran into a little problem: all of a sudden I can't connect anymore. I have sshd-server installed and updated. I have sshd turned on

Code:
/sbin/service sshd start
And I even ran:

Code:
/etc/init.d/sshd start
Because I was told that it would start ssh from boot. Nothing has changed from today and yesterday and I haven't been having problems with port 22 being blocked.

I have also tried to ssh into the machine by the machine itself:

Code:
ssh <IP of machine>
with the same error.

View 4 Replies View Related

Software :: Check_log Nrpe Error: Connection Refused By Host?

Jun 29, 2011

Please help me figure out what's wrong. Other nagios check for the same host is working except for this one.In <hostname>.cfg of nagios server, I need to add this to check for a specific pattern in the host's log:Quote:

define service{
use production-logs
host_name hostname

[code]....

View 3 Replies View Related

Networking :: Iptables Forward Port To Another Host?

Nov 15, 2010

Lets say i have two machines on public ips. If i get incoming traffic on machine #1 on port 55242 i would just like to forward it to machine #2 on port 35000.I would just like to use machine #1 same way as a dns server works. It just redirects the traffic and tells the client where to go.

View 6 Replies View Related

General :: Telnet :Unable To Connect To Remote Host:Connection Refused?

Jul 3, 2011

My system is Ubuntu 11Before I typed "telnet localhost" or "telnet localhost 23". I have make this work below:$sudo apt-get install xinetd$vim /etc/xinetd.conf

defaults{
instances=60
log_type=SYSLOGauthpriv

[code]....

View 1 Replies View Related

Ubuntu Security :: Unable To Connect To Remote Host: Connection Refused

Jul 5, 2010

I am using TomCat6 with Ubuntu Server 9.10 x64. I successfully configured to iptables to redirect the port "443" to "8443" (Tomcat SSL), using this command:

[code]...

View 5 Replies View Related

Ubuntu :: Telnet: Unable To Connect To Remote Host: Connection Refused

Jul 16, 2010

when i try a telnet to a host like that: telnet 10.10.10.10 1234 i got this: telnet: Unable to connect to remote host: Connection refused.

1/ does this mean that the problem is not due to a firewall, but that the host 10.10.10.10 doesn't listen on the port 1234? other way does this mean that my firewall is authorizing traffic on the port 1234?

and when i try a telnet on another port like that: telnet 10.10.10.10 1235 i get: Trying 10.10.10.10 ...

in this case this

2/ does this mean that the firewall is blocking the traffic between my host and the 10.10.10.10 on the port 1235?

View 1 Replies View Related

Networking :: Telnet: Unable To Connect To Remote Host: Connection Refused

Jun 12, 2011

I am running CentOS 5.1 on VMware on Win 7 On CentOS I added Bridged network adapter and the server is connected to internet without any problems, but when I telnet any server on port 25 I get connection timeout.

Code:

telnet f.mx.mail.yahoo.com 25
Trying 98.137.54.237...
telnet: connect to address 98.137.54.237: Connection timed out
telnet: Unable to connect to remote host: Connection timed out

I stopped all servers, iptables and sendmail on the linux server and the firewalls on the win 7 but still getting the same error! I added new network adapter ( host-only ) and tried to telnet the win machine from vmware Linux but I got connection refused

Code:

telnet 192.168.71.1 25
Trying 192.168.71.1...
telnet: connect to address 192.168.71.1: Connection refused
telnet: Unable to connect to remote host: Connection refused

[code]....

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved