Ayantotep
Posts: 3
Joined: Thu Jan 17, 2013 2:35 am

Remote Login always times out

Tue Feb 19, 2013 11:36 pm

Hello,

When I remote login using Putty, I always get a message that my login timed out? I got an IP address of 192.168.124.57 after using "ifconfig" is that correct? Please help. Thanks

DBryant
Posts: 281
Joined: Sat Feb 02, 2013 12:41 pm
Location: Berkshire, UK

Re: Remote Login always times out

Wed Feb 20, 2013 6:14 am

You don't give any details about your OS, or the actual connection you're making to the Pi - ssh into the pi account?

The bash shell,as might be define dfor the pi user, does have a TMOUT. Login and type env which wil llist all environment vaibles for the l,ogin session. Look for TMOUT, not seen it set within the few distros I've tried. See http://www.thegeekstuff.com/2010/05/tmo ... -activity/ fro example.

ssh may also be configured to timeout - this link http://stackoverflow.com/questions/4936 ... ell-script wanders between the connection being dropped on the client side and form the server side (sshd).

Ayantotep
Posts: 3
Joined: Thu Jan 17, 2013 2:35 am

Re: Remote Login always times out

Wed Feb 20, 2013 9:40 am

DBryant wrote:You don't give any details about your OS, or the actual connection you're making to the Pi - ssh into the pi account?

The bash shell,as might be define dfor the pi user, does have a TMOUT. Login and type env which wil llist all environment vaibles for the l,ogin session. Look for TMOUT, not seen it set within the few distros I've tried. See http://www.thegeekstuff.com/2010/05/tmo ... -activity/ fro example.

ssh may also be configured to timeout - this link http://stackoverflow.com/questions/4936 ... ell-script wanders between the connection being dropped on the client side and form the server side (sshd).
Oh I'm sorry, I'm using Raspbian Wheezy. I'm totally new about RPi so I'm just following instructions on youtube and online. But when I use putty to remote log-on using ssh, I can't connect and I always got a message saying that login has timed out..

User avatar
RaTTuS
Posts: 10559
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK
Contact: Twitter YouTube

Re: Remote Login always times out

Wed Feb 20, 2013 9:46 am

is the ssh server running on the pi
what is your ip address on the PC
what is the ip address on the RPI
how are the machines connected
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

Ayantotep
Posts: 3
Joined: Thu Jan 17, 2013 2:35 am

Re: Remote Login always times out

Wed Feb 20, 2013 10:36 am

RaTTuS wrote:is the ssh server running on the pi
what is your ip address on the PC
what is the ip address on the RPI
how are the machines connected

Yes I've already set that up. RPi IP address is 192.168.124.57. I don't think we need the PC's IP address for the Putty though since most of the tutorials, they don;t include ip address of the PC. By the way, I'm using a netbook.

Return to “Troubleshooting”