Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1717
  • Last Modified:

Unable to connect to AIX server using putty

I can access all nodes via putty without any issue  except one I cannot do via putty.
The issue is only the particular node is not working with putty, which worked fine before.  I have checked settings in putty, but I don't see anything specific.
With the same putty session, I can access other nodes.  What would be wrong?   The symtopm is that as soon as i kick off on the connection - connection refused

Please help! Your assistance is greatly appreciated.
0
techie27
Asked:
techie27
  • 5
  • 5
  • 4
  • +5
2 Solutions
 
omarfaridCommented:
can you ssh fro other nodes to this node? if yes then it could be a firewall issue. Or the sshd daemon is not running on this node
0
 
techie27Author Commented:
how can i ssh from other nodes to this node?
Pls send me the command.
Thanks
0
 
morsunCommented:
run ' ps | grep ssh ' in console and see in output if a daemon is running
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
morsunCommented:
if not type sshd start
0
 
omarfaridCommented:
to ssh from other node (unix):

ssh username@hostname

You should have ssh installed (which should be since you are able to ssh to)

username is the username you use to login
hostname is the hostname of the node you want to connect  to (or its IP address)
0
 
omarfaridCommented:
if you get "command not found" then it is either that ssh S/W is not installed on the system you want to ssh from or ssh is not in the path and hence you need to put the full pathname e.g.

/usr/local/bin/ssh username@hostname
0
 
TintinCommented:
A "connection refused" message almost certainly points to the connection being blocked by a firewall.
0
 
kishored2004Commented:
can you telnet to that machine?

we can check if there is a connection problem.

telnet <ipaddress>
0
 
techie27Author Commented:
When I am trying to ssh from another serverI am still getting 'connection refused'

ssh: connect to host oraprod port 22: Connection refused

Still having problems accessing the server thru putty, reflection but the server is pinging.

Is it a network problem? is it a server problem? If I can't access the server, I am unable to check whatz going on.
Please help me.  Thanks all for your assistance

0
 
kishored2004Commented:
If you can login to the server from another server or telnet to that server, then most probably this is a firewall issue. Can you check with your concerned team?
0
 
gheistCommented:
Have you ever configured SSH server on your AIX system? Can you telnet? Telnet to port 22?
0
 
techie27Author Commented:
no, I can't telnet either  telnet to port 22 gave me the error below:

telnet: connect: A remote host refused an attempted connect operation.

Thanks
0
 
TintinCommented:
Do you have console access to the server?  That's the only way you'll be able to verify 100% if sshd is running.
0
 
gheistCommented:
It is something actively refusing connection - eiteher none of mentioned network services is running or your firewall blocks them.

One more - you may use rpcinfo -p ( from cygwin or ms-sfu ) against AIX host since this accesses service which is always present.
0
 
omarfaridCommented:
if you can access the system (e.g. from console) then you can verify if sshd is running and working fine by running

ps -ef | grep -v grep | grep sshd

if you get result that shows that sshd process is there then try

ssh 0

if the last command dose not connect you and let you login then your sshd is having problem and try tostop it and start again
0
 
techie27Author Commented:
since i couldn't access the server, I ended up rebooting which took care of the problem.
Thanks all for your responses.
0
 
omarfaridCommented:
it could be that the sshd process was misbehaving and rebooting fixed it.
0
 
rammaghentharCommented:
1. first ping ip of the server from one node.
2. If pings then try to telnet <ip address>
3. if you able to login to server through telnet < ip > may be hostname
4. if you are unable to login may firewall issue.
5. you can try ssh  with ip also.
6. if not working try to get access the server through console and check for recent changes  and troubleshoot further . This approch may help.
0
 
techie27Author Commented:
i may need to set up ssh in this machine? how can i accomplish it.
Thanks
0
 
gheistCommented:
Actually omarfarid's comments solved your problem. Since you confirmed SSH is working http:#22635476 I guess this is another question then.
0
 
EE_AutoDeleterCommented:
I've requested that this question be deleted for the following reason:

No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I have recommended this question be closed as follows:

Not enough information to confirm an answer.

If you feel this question should be closed differently, post an objection and a moderator will read all objections and then close it as they feel fit. If no one objects, this question will be closed automatically the way described above.

Experts-Exchange Auto Deleter
0
 
gheistCommented:
At least give it a read?
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 5
  • 5
  • 4
  • +5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now