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 10892 articles. 6 followers. Post

1 Replies
1273 Views

Similar Articles

[PageSpeed] 59


  • 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? > ...

Could Not Connect To SMTP Host Connection Failed -- Software caused connection abort: connect
Hi All, Great to have this discussion group which is helping to clear the issues. Thanks in advance to all. I am having strange exception when trying to send email through java. I am using my mail server hostname to connect it. My mail server is SMTP server. When I tried to ping the IP Address it is fine. I tried to execute the same in another machine. The result is same. The exception I am getting is this way. javax.mail.MessagingException: Could not connect to SMTP host: <hostname>, port: 25; nested exception is: java.net.SocketException: Software caused connection abort: conne...

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 >...

lan connection to JBoss ... connection refused but connectivity is ok...
I am trying to connect from a client on the same network - and have disabled all firewalls. I have my jboss starting with the bind address of the local ip 192.168.1.104 I can telnet to 192.168.1.104 1099 and see http://linux:8083 which is resolvable - and it ends with 192.168.1.104. I cannot (will not?) annotate my beans to hardcode the IP address... But from another client with jndi.properties of java.naming.factory.initial=org.jboss.security.jndi.LoginInitialContextFactory java.naming.provider.url=jnp://192.168.1.104:1099 java.naming.factory.url.pkgs=org.jboss.naming.cl...

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 ...

The connection was refused when trying to connect to ...
Wow. Really having a hard time getting my apache web server communicatiing with the outside world. I have a new install of Linux 8. My webserver works fine when used locally but get connection refused other wise. When setting up my server initially I set up with medium firewall, thinking I could modify the settings later. I have tried modifying through security settings, using lokkit and trying to modify the iptables script manually. Is it possible that it isn't the firewall settings at all and some other setting? I am fairly new to Linux and would appreciate any suggestions. Thank...

The connection was refused when trying to connect to ...
Wow. Really having a hard time getting my apache web server > communicatiing with the outside world. I have a new install of Linux > 8. > > My webserver works fine when used locally but get connection refused > other wise. > > When setting up my server initially I set up with medium firewall, > thinking I could modify the settings later. > > I have tried modifying through security settings, using lokkit and > trying to modify the iptables script manually. > > Is it possible that it isn't the firewall settings at all and some > other setting? ...

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...

ftp data port cant connect while port 21 connects
hi! i've actually managed to set up a ftp cum web server on my old comp using red hat linux 9. my ftp daemon is vsftp. i'm using ip forwarding services from www.dynu.com to redirect the incoming requests. i'm sitting behind a router, which 'dmz' all requests to my server. plus i disabled all firewalls. now, there is this strange phenomenon bugging me. in my LAN, i can ftp without a hitch. out of my LAN, i can only ftp sporadically. and its always the data port tat cannot connect up. its ONLY when i use ws-ftp pro then the prb is solved. any other clients(eg, do...

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...

kprop: Connection refused in call to connect while opening connection to may129.chpc.vnu.edu.vn
Hi everyone, I am installing kerberos, I prepare kerberos system with two KDC named: master.ole.abc (master) slave.ole.abc (slave) I followed the installation guide until http://web.mit.edu/Kerberos/krb5-1.6/krb5-1.6.2/doc/krb5-install.html#Propagate-the-Database-to-Each-Slave-KDC I got an error when I did : kprop -f /opt/krb5-1.6.1/var/krb5kdc/slave_datatrans slave.ole.abc and the error : kprop: Connection refused in call to connect while opening connection to slave.ole.abc I have search google and found someone said that let "kpropd" running in slave KDC. But when I enter co...

connect() failed: Connection refused (111)
Hello, i try to build an MPI-Cluster with Ubuntu-9-04. The helle exampel works fine but when i use MPI_Bcast or MPI_Reduce i get these error [1]. How can i solve this? SSH works fine in both directions. Regards, Stefan Kuhne -- [1]: [Head][[4950,1],0][../../../../../../ompi/mca/btl/tcp/btl_tcp_endpoint.c:631:mca_btl_tcp_endpoint_complete_connect] connect() failed: Connection refused (111) Stefan Kuhne schrieb: > Hello, > > i try to build an MPI-Cluster with Ubuntu-9-04. > The helle exampel works fine but when i use MPI_Bcast or MPI_Reduce i > get thes...

Connecting using a Socket
This answer is probably a simple one, but I haven't done a ton of socket programming in Java. On a ConnectException, how can I determine whether the exception was caused by a refused connection (as opposed to a host being unreachable or some other problem?) Sure, I could call getMessage() and see if the message is "Connection refused" - but will that work if my app is translated into another language? -- Steve Sobol, Victorville, California, USA Microsoft's new marketing slogan for Windows is "Life Without Walls." But if you have no walls, how can you have wi...

Client can't connect to the default port, but can connect to other ports
I am not able to connect to the sshd running on default port, but if I run a new sshd at a specific port, I can connect to it. Here are debug outputs from the two calls. syslogs don't show anything either. Can someone please help me solve this problem. ================= ps -ef ================= [namit@namit-pc ~/.ssh]$ ps -ef | grep sshd root 5114 1 0 Aug12 ? 00:00:05 /usr/sbin/sshd root 19131 1 0 Aug17 ? 00:00:00 /usr/sbin/sshd -p 10111 namit 30922 19148 0 09:52 pts/6 00:00:00 grep sshd [namit@namit-pc ~/.ssh]$ ================= Default port ====...

connect timed out while connecting to a host on loopback
I have two applications running on a same host- ssl_proxy and a http server. Once ssl_proxy recieves a message from a http client it connects to the http server locally. It then send the http request from client to the server and server's response back to the client. But in this setup I am facing a problem. SSL_prosy gets connection timed out error while connecting to the http server. It is connecting to the server via the loopback interface. I am using INET sockets. Can anyone tell me what might be the issue. This issue arises only if I have 2 interfaces configured. With a single interfa...

ssh: how to make it drop the connection when it is not connected?
I've set up a ssh tunnel that runs at startup so that I can send mail when I'm off-campus: #!/bin/sh # http://cg.scs.carleton.ca/~morin/misc/laptopmail/ .. /etc/rc.common ConsoleMessage "Starting smtptunnel" while [ 1 ]; do ssh -N -L25:mailserver:25 username@mailserver sleep 5 done The loop should make it maintain the connection when it drops. Unfortunately, when it is set up and then I lose network connectivity (sleeping my machine and waking it back up, or leaving wireless range), it doesn't drop the connection; instead it maintains some sort of zombie connection. ...

rndc connect failed connection refused
Hello, I'm sorry, I read a lot of documentation and I attempt to configure my=20 rndc.conf and rndc.key but always I have : connection refused ! I use command dnssec-keygen : dnssec-keygen -a hmac-md5 -b 256 -n HOST aforsiori.key It generate to files : Kaforsiori.key.+157+37451.key and Kaforsiori.key.+157+37451.private and what ?? the first file content : aforsiori.key. IN KEY 512 3 157 1XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX=3D the second : Private-key-format: v1.2 Algorithm: 157 (HMAC_MD5) Key: 1XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX=3D so I put in name...

Problems Connecting... Connection Refused Error...
hi, i am using Eudora 5.2.1 on WIN 2000 Pro... I have patched with MS Blaster and Symnatec FixBlaster tool has not found any Worm on my PC... Since Aug. 16, I am having difficulty connecting my mail servers to retrieve emails. On the same network, I have no problem accessing from other computers. I have re-installed Eudora but problem still persists. I can ping mail servers and access Internet fine.... Any help would be greatly appreciated. Error: Connection Refused (While Login Process)... Regards, Demi ...

rndc: connect failed: connection refused
Hi all I' am use Bind 9.2.2 I want to have my one Namessever ns1.helpme.ch *********************************************** when I do a command like: root@linux:/etc# rndc reload I become this fault message. rndc: connect failed: connection refused ********************************************** what is wrong hier is my rndc.conf: # Start of rndc.conf key "rndc-key" { algorithm hmac-md5; secret "+vDJ4dRcQ+w1iGP/oLNm2Q=="; }; options { default-key "rndc-key"; default-server 192.168.1.247; default-port 953; ...

connect() connection refused error in lunix
I am trying to connect to a server with IP addres for that i did the following way main(int argc,char ** argv) { int sock_descriptor; unsigned long port; struct sockaddr_in sock_address; sock_descriptor = socket(PF_INET, SOCK_STREAM, 0); memset(&sock_address, 0, sizeof(sock_address)); sock_address.sin_family = PF_INET; sock_address.sin_addr.s_addr=inet_addr((const char*) argv[1]); port = strtol(argv[2], NULL, 10); sock_address.sin_port = htons((unsigned short) port); result = connect(sock_descriptor, (const struct sockaddr *) &sock_address, sizeof(struct sockaddr_in));...

Connect fails: Connection Refuse on HP-UX.
Hi all, I have a server running on HP-UX machine. When I try to connect a HP-UX client to the server using TCP/IP, it fails. The reason is connection refused. What is the possible cause? Fyi, my server has yet to receive any connections. -HS Hon Seng Phuah wrote: > Hi all, > > I have a server running on HP-UX machine. When I try to connect a > HP-UX client to the server using TCP/IP, it fails. The reason is > connection refused. > > What is the possible cause? Fyi, my server has yet to receive any > connections. Wrong port number, wrong IP adress or sg else... fi...

SSH connection script connecting to Cisco devices
Hello, I have been looking around the net for a script to help me connect to and help gather information from Cisco routers/switches. I have pieced together a couple of different scripts from various different sources. I am having issue when connecting to Cisco devices. For some reason the scripts timesout/stops working just after the connection section of the script. It does not give me a confirmation of completeion nor does it give me an error. Since this same script works when connecting to any linux computer. I assume the code is working correctly. I also assume that I am leaving o...

java.net.ConnectException: Connection refused: connect
I've a strange problem: URL sourceURL = new URL( url ); BufferedReader in = new BufferedReader( new InputStreamReader( sourceURL.openStream() ) ); String buffer; while(!(null==(buffer=in.readLine()) ) ) { System.out.println("read in " + buffer +"\n"); } works fine for url: http://de.finance.yahoo.com/q?s=@HDAX.DE&f=snxlcvi and several other urls. however fails for url: http://uk.finance.yahoo.com/q?s=+^FTMC+@FTMC_AE.L&f=snlcvi java.net.ConnectException: Connection refused: connect The very same url can be opened in e.g. Mozilla without any p...

possible? ssh-connection as XP- network connection
Hello I'm using Win XP and SSH 3.2.0 to etablish a SSH2 connection to a server. Everything works fine. I wonder if there is an XP-tool that you can establish an network drive in XP which uses the ssh2 protocol. So that i can access the files on the server direct from any windows program using the open/save command. Please don't tell me that i need to make modifications on the server (install samba ect.). I just want to make modifications on my windows-client. I don't have administrator rights on the server. Thanks for any help, Bernd > I'm using Win XP and SSH...