I cannot connect my redhat server via putty

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat I cannot connect my redhat server via putty
# 1  
Old 01-15-2013
I cannot connect my redhat server via putty

a server with RHEL 5.3 is running.

im going to access this via putty but get message

"server unexpectedly closed network connection". after some time.

same is the case with root and oracle user.

what can be issue ?
# 2  
Old 01-15-2013
First thing to check is that Putty is able to get to the target and is not being defeated by some network issue. Putty may not be able to connect to the target at all and the circuit is being dropped by some network device.

Can you ping the target? If you seem to be able to, can you down the target and make sure that ping stops? Somehow, ensure that you don't have a network issue.
# 3  
Old 01-24-2013
Are you trying to connect through telnet or ssh ? If it is ssh then run the command lsof -i :22 on the server. If the ssh daemon is listening to port 22 then server is ready. It might be connectivity issue. Do check your network connection and allow/deny file and firewall settings. Also check that ssh radio button is selected or not while opening putty.
# 4  
Old 01-24-2013
Could that be sth like an idle timeout? There's quite some parameters in ssh_config that control timing.
# 5  
Old 02-12-2013
First you need to make sure SSHD is set to start when you boot up. Run:

ntsysv

And check the box next to sshd.

Then you need to make sure sshd is currently running:

/etc/init.d/sshd status

If it isn't running, start it:

/etc/init.d/sshd start

Then you need to open the port in your RHEL firewall. Run:

system-config-securitylevel-tui

And check the box next to SSH to allow inbound connections.
# 6  
Old 02-15-2013
I have seen this happen several times. Each time the problem was the same.... a second box with the same IP address. Easy to prove. Turn off the server, then ping it. If you get a response you have found the problem.
# 7  
Old 02-15-2013
You can also 'telnet ssh_host 22' and see the prompt from the sshd.

You can query the arp cache to see the mac for the ip on each end, if they are on the same subnet. If there are two hosts on the same IP, you will see their arp responses in there. 2.1. Address Resolution Protocol (ARP)
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Linux

How to connect Linux server (configure two way authentication) with Windows server?

Hi my name is Manju. ->I have configure the two way authentication on my linux server. ->Now I am able to apply two way authenticator on particuler user. ->Now I want to map this linux server to my AD server. ->Kindly tell me how to map AD(Active Directory) with this linux server. ... (0 Replies)
Discussion started by: manjusharma128
0 Replies

2. Shell Programming and Scripting

Connect (SSH) to Windows server via Linux server through a script and passing command.. but failing

I am trying to connect to Windows server via Linux server through a script and run two commands " cd and ls " But its giving me error saying " could not start the program" followed by the command name i specify e g : "cd" i am trying in this manner " ssh username@servername "cd... (5 Replies)
Discussion started by: sunil seelam
5 Replies

3. UNIX for Advanced & Expert Users

Public key to connect from one ftp server to other server

How to generate public key to connect from one ftp server to other server to use in scripting. (1 Reply)
Discussion started by: sridhardwh
1 Replies

4. Linux

Generate public key to connect from one ftp server to other server

How to generate public key to connect from one ftp server to other server to use in scripting. (0 Replies)
Discussion started by: sridhardwh
0 Replies

5. Red Hat

Redhat server is not connected via putty

i have a redhat linux 5.3 machine. i can ping that machine remotely from my laptop. but when i connect that server via putty after providing username and password there is wait for some minutes and then i get error message "server unexpectedly closed network connection" Please guide... (2 Replies)
Discussion started by: rehantayyab82
2 Replies

6. Ubuntu

Login from putty in wndows7 to connect ubuntu machine

hi, i have ubuntu installed on windows 7. I am trying to connecting to ubuntu from windows 7 using putty but it is giving network problem. I am trying to connect with ip address Thanks (9 Replies)
Discussion started by: diehard
9 Replies

7. Linux

Help!! trying to connect to linux SSH from windows putty client

Hi, i am trying to connect my Putty session on a windows box to a linux SSH, i have generated private and public key pairs using puttygen, i have set the public one to be in an OPENSSH format... and have put this in my authorized_keys file in linux, when i connect i get the following errors: ... (1 Reply)
Discussion started by: Jtyreman
1 Replies

8. Red Hat

putty and Redhat

Hi, I use putty and vncviewer on XP to get screen form the RH Enterprise ws 6.0 . Although it has high quality of graphics scrolling down leads to blinks on screen which is annoying while using EDA design tools. Is there anyway to utilize putty (with some extra tool) so that EDA design tool... (2 Replies)
Discussion started by: titanic
2 Replies

9. UNIX for Advanced & Expert Users

How to connect ubuntu through putty from Window?

Hii, i have installed ubuntu in windows without make partitioning by using wubi.. i want to connect ubuntu linux through putty. but I am unable to do that. Please help me.. how to set ip address in putty (3 Replies)
Discussion started by: pankajkumar
3 Replies

10. UNIX for Dummies Questions & Answers

Dowe have other tools like Putty to connect UNIX boxes

New to UNIX, do we have only putty to work with UNIX boxes remotely ?????? any other tools.. (1 Reply)
Discussion started by: nivaspIND
1 Replies
Login or Register to Ask a Question