ssh times out

 
Thread Tools Search this Thread
Special Forums UNIX and Linux Applications ssh times out
# 1  
Old 08-19-2010
ssh times out

I have fedora 13 installed on my home computer.
I am unable to ssh from my office to my home computer.

On trying to ssh to my home computer, I get the following response:

$ ssh -vvv username@129.X.XXX.XXX
OpenSSH_5.3p1, OpenSSL 1.0.0a-fips 1 Jun 2010
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to 129.X.XXX.XXX [129.X.XXX.XXX] port 22.

and it keeps waiting till timeout

I checked whether the ssh server is running on the home machine and it seems to be running fine:

$ /sbin/service sshd status
openssh-daemon (pid 1280) is running...

I have enabled port forwarding on my router and am able to ssh from the home computer to itself by using the local ip

Don't know what is causing this problem. Any help will be greatly appreciated.
# 2  
Old 08-19-2010
Can you ping and telnet to your home computer from work?
# 3  
Old 08-19-2010
I can ping to my home computer.

But cannot telnet:

$ telnet 129.2.165.240
Trying 129.2.165.240...
# 4  
Old 08-19-2010
If you can connect locally, the problem would either be the router, an incorrect IP address, or some firewall inside your ISP.
This User Gave Thanks to Corona688 For This Post:
# 5  
Old 08-19-2010
If I check the ip at What Is My IP Address - Shows Your IP Address, I get the correct IP address... So perhaps incorrect IP might not be the problem...

The problem started after I re-installed linux on my machine... Prior to the install I was able to ssh from the office without any problems... This might rule out the ISP firewall theory...

The third possibility (i.e., router setup) could be the issue... Although I had been using the same router prior to the fedora 13 installation, perhaps some setting might have changed on my computer which might be causing the problem...

Could you suggest some tests that I could use to determine what might be the problem... I do not have too much experience in this area... Thanks a lot!
# 6  
Old 08-19-2010
Are you running a local firewall in your home computer? Did you disable it?
This User Gave Thanks to verdepollo For This Post:
# 7  
Old 08-19-2010
The local firewall on my home computer was enabled... I tried seeing if disabling it made any difference... It didn't. The problem persists.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Find active SSH servers w/ ssh keys on LAN

Hi, I am trying to complete my bash script in order to find which SSH servers on LAN are still active with the ssh keys, but i am frozen at this step: #!/bin/bash # LAN SSH KEYS DISCOVERY SCRIPT </etc/passwd \ grep /bin/bash | cut -d: -f6 | sudo xargs -i -- sh -c ' && cat... (11 Replies)
Discussion started by: syrius
11 Replies

2. UNIX for Beginners Questions & Answers

Ssh script to validate ssh connection to multiple serves with status

Hi, I want to validate ssh connection one after one for multiple servers..... password less keys already setup but now i want to validate if ssh is working fine or not... I have .sh script like below and i have servers.txt contains all the list of servers #/bin/bash for host in $(cat... (3 Replies)
Discussion started by: sreeram4
3 Replies

3. Shell Programming and Scripting

Check if file exists via ssh in ssh (nested)

I'm using redhat and have an odd issue with a nested ssh call. ssh -i ~/.ssh/transfer-key -q transfer@fserver1 ] && ssh -i ~/.ssh/transfer-key transfer@fserver1 "ssh -i ~/.ssh/sftp-key sftpin@10.0.0.1 ]" && ssh -i ~/.ssh/transfer-key transfer@fserver1 "scp -i ~/.ssh/sftp-key /home/S/outbox/*... (2 Replies)
Discussion started by: say170
2 Replies

4. Shell Programming and Scripting

Ssh = ssh expect and keep everything not change include parameter postion

I have write a script which contains ssh -p 12345 dcplatform@10.125.42.50 ssh 127.0.0.1 -p 5555 "$CMD" ssh root@$GUEST_IP "$CMD" before I use public key, it works well, now I want to change to "expect", BUT I don't want to change above code and "parameter position" I can post a... (1 Reply)
Discussion started by: yanglei_fage
1 Replies

5. Programming

Problem with implementing the times() function in C (struct tms times return zero/negative values)

Hello, i'm trying to implement the times() function and i'm programming in C. I'm using the "struct tms" structure which consists of the fields: The tms_utime structure member is the CPU time charged for the execution of user instructions of the calling process. The tms_stime structure... (1 Reply)
Discussion started by: g_p
1 Replies

6. Shell Programming and Scripting

Using ssh to add register key on ssh server

Hi, I want to use ssh to add a register key on remote ssh server. Since there are space characters in my register key string, it always failed. If there is no space characters in the string, it worked fine. The following is what I have tried. It seems that "ssh" command doesn't care about double... (9 Replies)
Discussion started by: leaftree
9 Replies

7. Shell Programming and Scripting

could not send commands SSH session with Net::SSH::Expect

I am using Net::SSH::Expect to connect to the device(iLO) with SSH. After the $ssh->login() I'm able to view the prompt, but not able to send any coommands. With the putty I can connect to the device and execute the commands without any issues. Here is the sample script my $ssh =... (0 Replies)
Discussion started by: hansini
0 Replies

8. AIX

how would you know your server was rebooted 3 times or 5 times

Is there such location or command to know how many times did you reboot your server in that particular day?in AIX. (3 Replies)
Discussion started by: kenshinhimura
3 Replies

9. Shell Programming and Scripting

Question about times and so

I've got an logfile like: Start dump db_name1 : Wed Oct 30 15:08:47 MET 2002 Ready dump db_name1 : Wed Oct 30 15:14:46 MET 2002 Start dump db_name2 : Wed Oct 30 15:14:46 MET 2002 Ready dump db_name2 : Wed Oct 30 15:15:36 MET 2002 Start dump db_name3 : Wed Oct 30 15:15:36 MET 2002... (1 Reply)
Discussion started by: TheBlueLady
1 Replies
Login or Register to Ask a Question