ssh: connect to host host_name port 22: Connection refused

  • Permalink
  • submit to reddit
  • Email
  • Follow


I get the following error when using ssh to connect to an AIX machine,
oslevel 5300-05-02,
OpenSSH_4.1p1, OpenSSL 0.9.7g, from a similar machine, and entering
invalid passwords three times, then entering the ssh to the machine
again;

ssh: connect to host host_name port 22: Connection refused

After 30 seconds, I can ssh to the machine without the error.

I thought this was controlled in /etc/security/login.cfg with setting
these;
logindisable, logininterval and loginreenable
but they are all set to a value of 0.

Is there another place that this is set that I'm missing?

I was playing around with aixpert (aix system expert tool) and it was
after I
I ran an undo that I noticed this happening, but at the same time, I
used it to turn it
on on another similar machine and it doesn't control this whether it
was activated or
after an undo.

Ron

0
Reply zepher95 (23) 5/4/2007 3:42:25 PM

See related articles to this posting


On May 4, 9:42 am, Ron <zephe...@hotmail.com> wrote:
> I get the following error when using ssh to connect to an AIX machine,
> oslevel 5300-05-02,
> OpenSSH_4.1p1, OpenSSL 0.9.7g, from a similar machine, and entering
> invalid passwords three times, then entering the ssh to the machine
> again;
>
> ssh: connect to host host_name port 22: Connection refused
>
> After 30 seconds, I can ssh to the machine without the error.
>
> I thought this was controlled in /etc/security/login.cfg with setting
> these;
> logindisable, logininterval and loginreenable
> but they are all set to a value of 0.
>
> Is there another place that this is set that I'm missing?
>
> I was playing around with aixpert (aix system expert tool) and it was
> after I
> I ran an undo that I noticed this happening, but at the same time, I
> used it to turn it
> on on another similar machine and it doesn't control this whether it
> was activated or
> after an undo.
>
> Ron

never mind...it was being caused from another isv product...

0
Reply zepher95 (23) 5/4/2007 8:31:53 PM
comp.unix.aix 10884 articles. 5 followers. Post

1 Replies
1043 Views

Similar Articles

[PageSpeed] 46


  • Permalink
  • submit to reddit
  • Email
  • Follow


Reply:

Similar Artilces:

SSH to port 22 over LAN: "Connection refused"
The router (U-Verse 3800HGVB) should allow SSH connections within the LAN, correct? I'm trying to connect between 2 Macs (from a Leopard system to a Tiger system) via SSH but get "Connection refused". I'm using port 22. Is some setup required on the remote Mac? Or another port? A good web page for learning "SSH basics"? Thanks. In article <0001HW.C6A4A65900130E1CB08A39AF@news.eternal-september.org>, Fester Bestertester <fbt@fbt.net> wrote: > The router (U-Verse 3800HGVB) should allow SSH connections within the LAN, > correct? > ...

port 22: Connection refused
Hello, I'm trying to make a remote connection via ssh on OSX and get the following error: "ssh: connect to host 192.168.xxx.x port 22: Connection refused" When I connect on the same network I have no problem, what do I need to configure to access the machine remotely from a different network? Thanks, J neridaj <neridaj@gmail.com> writes: >Hello, >I'm trying to make a remote connection via ssh on OSX and get the >following error: "ssh: connect to host 192.168.xxx.x port 22: >Connection refused" When I connect on the same network I have no >...

ssh tunnel to non standard port .... connection refused
Using intermediate server to tunnel SSH: Setup is A -> B -> C where A lets only port 22 out, C uses 8888 instead of 22. A,B,C are all valid internet ip addresses. ssh directly from B -> C works with: ssh -X -p 8888 user@C I set up the tunnel from A (whose /etc/hosts contains "127.0.0.1 localhost C") with: ssh -X -f user@B -N -L 4444:user@C:22 and the -v flag reports: local connections to LOCALHOST:4444 forwarded to remote address C:22 Local forwarding listening on 127.0.0.1 port 4444 Enteri...

unable to connect to ssh server, even though port 22 is forwarded
I am testing a ssh server by attempting to connect to it via its public IP = address. For some reason 'ssh -p 22 1.2.3.4' is giving me a connection refu= sed error. The port is definitely open and forwarded according to canyouse= eme.org and I am even able to connect with http://www.serfish.com/console/. iptables could be the cause of your problems. rig9919@gmail.com wrote: > Newsgroups: comp.os.linux.networking > > I am testing a ssh server by attempting to connect to it via its public IP address. For some reason 'ssh -p 22 1.2.3.4' is giving me a connectio...

Getting 15: Peer connect failure (the host has refused the connection)
This started happening about a week ago. I can't access my e-mail, yet I can surf the Net without problems. I installed Pegasus on a second machine using the identical settings and everything works. This a real head scratcher (for me) Can anyone help me out? Roberta Robertazimmerman <bobdylan@iname.com> wrote: > This started happening about a week ago. I can't access my > e-mail, yet I can surf the Net without problems. > > I installed Pegasus on a second machine using the identical > settings and everything works. Did you install or ...

ssh connection to ALOM refused
Hi, I have a T1000 hosted across town. I normally connect to it via ssh without any hassles. Today I was attempting to bring it down to single user mode with a shutdown -y -g0 -is. I did this from an ssh connection, and got messages to the effect that this was indeed happening, which is good. What is not so good is that I then attempted to open an ssh connection to the ALOM via its ethernet port I get the message: ssh_exchange_identification: Connection closed by remote host Any ideas as to what might be the cause of this? I haven't spoken to the ALOM port for a few weeks, but in t...

Deferred: Connection refused by [any host]
(this is about sendmail on linux (ubuntu) but I hope you'll help me even though the description says BSD.. but this group is about sendmail and that's probably my problem) I have a webserver on my network, and I wish to send emails to my users. I only have one global ip which is on my linux routers outside. I don't have any network problems (except that I can't connect to my global ip from inside the network). I use php 5 on apache 2 but send mail wasn't installed so I installed it. but it didn't accept mail so I added localhost.localdomain to my localhost line in my ...

Knoppix
Hi Folks, I've been trying to walk some friends through getting sshd running on their machine which runs off a knoppix cd at the moment. We've had some problems. Currently, my connection is being refused when i try to log into ssh from a remote machine. These are the commands I run after booting: cd /etc/ssh ssh-keygen -t rsa1 -f ssh_host_key -C '' -N '' chmod 600 ssh_host_key chmod 600 ssh_host_key chmod 644 ssh_host_key.pub ssh-keygen -t rsa -f ssh_host_rsa_key -C '' -N '' chmod 600 ssh_host_rsa_key chmod 644 ssh_host_rsa_key.pub ssh-keygen -t dsa...

reverse ssh
I shall maintain the linux server of a relative which has a internet connection through a gsm router. This router is unable to open incoming ports that's why I try to establish a reverse SSH tunnel to my PC. When I connect my PC in the remote LAN directly reverse SSH works like a charm but I am unable to establish a connection via internet. This is what I did: On my router/my LAN I opened port 5555 and forwarded it to my PC On the remote server I started with: ssh -vvv -nnT4 -R 5555:localhost:22 myuserid@myLANpublicIP This is what happens: debug1: Reading configuration data /home/ha...

RMI Connection Refused to Host
I am trying to get Java RMI to work on a simple tutorial case. I have these classes to use in a Hello World example: (HelloClient.java): import java.rmi.Naming; public class HelloClient { public static void main(String[] args) { try { HelloInterface hello = (HelloInterface) Naming.lookup("//localhost/Hello"); System.out.println (hello.say()); } catch (Exception e) { System.out.println ("HelloClient exception: " + e); } } } (HelloServer.java): import java.rmi.Naming; public class HelloServer { public static void main...

iChat and AIM: The host refused connection
I have been using Skype to chat to my sister in Istanbul, but out of curiosity I launched iChat and was asked to use an AIM or a Mac account login. As years ago I had registered an AIM account, I decided to use the (free) AIM login rather than buy a Mac account. My login works fine when I sign in on the AOL website (although I haven't downloaded the AIM software as I have no reason to) but when I try to login in iChat, I simply get a terse message sating 'the host refused the connestion, try again later'. So I registered a new AIM signin and get exactly the same response. What'...

mlnet
I'm trying to install mlnet for eDonkey. I'm supposed to be able to use my browser (Firefox) to access the mlnet core through a web interface. When I type: http://localhost:4080 ....I get a "Connection refused" error. I assume this has something to do with firewalls or something, but I am a total neophyte when it comes to network stuff. FWIW, I am running osx 10.2.8, with an Airport base station connected to an ethernet router. Can anyone help me? Thanks in advance! ...

Nameserver on UDP port refuses to connect
Hi, I've got the following problem : I've Installed Tomcat and Apache on a Debian Linux machine. I've got to make a connection to a nameserver that resides on a Windows platform. I'm able to ping to the Windows machine, and I'm able to telnet to an appserver on the windows machine using tcp port. The Nameserver I'm trying to connect to has an UDP port. When I try to connect , I receive a connection timed out error . For some reason It refuses to connect to my nameserver. I allready tried to disable the firewall. I wrote a simple program in Java to connect to the name...

Reverse port forwarding: Connection refused
We've the following setup: 1.a ---+ +---nat.a---Internet---nat.b---1.b 2.a----+ * nat.a and nat.b are NAT routers. * nat.a:2222 is forwarded to 1.a:22 * nat.a is a machine with SSH access. Our goal: We want to access 1.b from 2.a with the help of reverse port forwarding. What I tried: Method A: On 1.b, I ran the following command (names were, of course, different): ssh -R3333:localhost:22 nat.a Now, I can connect from 2.a to 1.b as follows: ssh -p3333 some_user@nat.a Method B: On 1.b, I ran the following command: ssh -p2222 -R3333:localhost:22 nat...

telnet connection refused on port 110 ...
I'm running FBSD 5.0 with sendmail 8.12.10. Thw box is also running as a simple firewall. I can telnet into the box on ports 23 and 25 but when I attempt to telnet into the box on port 110, I get a connection refused message. I can't figure out if the problem is a sendmail issue or a firewall issue and would welcome any help from someone who may have encountered a similar problem. I'm experimenting with pop3 connections to my mail server and would like to get the pop3 service up and running. Any suggestions would be quite welcome. Thanks in advance. John W...

Connection refused
Newbie needs help :-) Here's my situation: I'm running Debian Linux, v2.4.18 I have a program written in java that starts a server socket on port 23412 and listens for commands. I editted the iptables, so it appears as follows: Chain INPUT (policy ACCEPT) target prot opt source destination ACCEPT tcp -- anywhere anywhere tcp dpt:23412 ACCEPT tcp -- anywhere anywhere tcp spt:23412 Here's the situation. My program (on a windows machine), opens a telnet session to the linux box...

SSH-server : remote connection refused
Hi, I use OpenSSH. I set up the key files for the user "maarten" using ssh-keygen, I do think I did that correctly. Then I copied the .pub key (an rsa key) to authorized_keys in ~/.ssh/ Here is the output of the following commands, better at explaining the problem than I am : [maarten@d5764c59 .ssh]$ ssh -v maarten.is-a-geek.net OpenSSH_3.5p1, SSH protocols 1.5/2.0, OpenSSL 0x0090701f debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug1: Rhosts Authentication disabled, originating port will not be trusted. debug1: ssh_connect...

why connection refused when attempt to telnet to port 25
Hello, thanks for trying to help out! I am basically a newbie. I am trying to set up sendmail with basic security. I am having trouble getting it to work except for 'local' delivery, despite having already eliminated the line in sendmail.mc that is supposed to limit relay to 127.0.0.1 I cant even telnet to port 25 from any machine other than the mailserver machine itself without 'Connection refused'. Here is my .mc file (with genericised ip and domain info) include(`/usr/share/sendmail/cf/m4/cf.m4') VERSIONID(`default setup for Slackware Linux')dnl OSTYPE(`linux...

restrict port connections on switch for known hosts only
hello. we got catalyst 29x and 3500 net infrastructure. cat. 2970 is central switch for cat295x and cat 3500 . i'm not primary net enineer so I need your help. Now we need to have way to restrict connection for unauthorized computers . We are running on ms 2k3 domain with 150 clients. I found port security -based on MAC . But is there other way to restrict connection - certificates ? If you have advice for technology or link for some reading please answer. Thank you. On Jun 16, 2006 05:30 (-0700) pakozdy@pobox.sk wrote: :your help. Now we need to have way to restrict connection fo...

telnet and ssh: Connection closed by foreign host
I started telnetd and sshd on my ubuntu server. When I use telnet or putty to connect to it, the connection broken after a while. It seems there is a time out configured. Does anyone have any idea on how to disable the time out and keep the telnet or ssh session alive? sgxing@gmail.com wrote: > I started telnetd and sshd on my ubuntu server. When I use telnet or > putty to connect to it, the connection broken after a while. It seems > there is a time out configured. > Does anyone have any idea on how to disable the time out and keep the > telnet or ssh session alive? > The...

SSH connections to two hosts with the same IP address
I have two boxes that I can reach remotely using the same IP address. The machines are behind a firewall, which maps the connections on a per port basis. On machine A the ssh daemon listens for incoming connections at the default port, whereas on machine B it listens at port (say) 100. From a remote system R the command ssh MyIPAddress grants me access to machine A all right (assuming that the public key and authorized_hosts files have been set up correctly). What I would like is for ssh -p 100 MyIPAddress to give me access to my machine B. However, the ssh infrastructure in R checks ...

roundup
I am using Debian, and I am trying to configure the roundup issue tracking package. When I point my browser to the server, I am getting an error: Failed to Connect The connection was refused when attempting to contact http://markhobley.yi.org:8050/ Testing with telnet on the server localhost: telnet localhost 8050 Trying 127.0.0.1... Connected to localhost.localdomain. Escape character is '^]'. ] telnet markhobley.yi.org 8050 Trying 10.0.0.8... telnet: Unable to connect to remote host: Connection refused telnet 10.0.0.8 8050 Trying 10.0.0.8... telnet: Unable to connect to remot...

iptables: allowing only listed hosts to connect to a port
I want to allow only hosts from the local area network and certain external networks to be able to access a specific port number. I have created a script firewall.sh, as follows: #!/bin/sh ALLOWED=" 10.0.0.0/8 192.168.0.0/16 51.0.0.0/8 62.30.0.0/16 80.0.0.0/13 " for addr in $ALLOWED do iptables -A INPUT -s $addr -p tcp --dport 7500 -jACCEPT done iptables -A INPUT -p tcp --dport 7500 -jDROP After running the script iptables -L -n reveals: Chain INPUT (policy ACCEPT) ACCEPT tcp -- 10.0.0.0/8 anywhere tcp dpt:7500 ACCEPT ...

ssh forward connection from one host with no proxy
Hi all I have been trying to use ssh to bypass firewall, see the current configuration machines: laptop_at_work (http internet only) custssh_server (no internet access) ssh_outside (can ssh into cutssh_server) At laptop_at_work I have access to the internet through a proxy, but my webmail URL is blocked. At ssh_outside I can do a wget http://www.cnn.com, it works. So I want ssh_outside who has full internet connection to act as a proxy/gateway for me at laptop_at_work, using custssh_server as a middle gateway between me (laptop_at_work) and and the internet (ssh_outside) I have tried a...