#1  
Old 25th August 2007, 21:09
bswinnerton bswinnerton is offline
Senior Member
 
Join Date: Jul 2007
Location: Connecticut, US
Posts: 502
Thanks: 51
Thanked 16 Times in 13 Posts
Default /etc/hosts change ssh problem

Hi, sorry for all of the questions that i have...

I just changed the ip address in /etc/hosts and since i did, ssh stopped working it says that the connection timed out, but i changed it back and still cannot connect, where should i start to troubleshoot?
Reply With Quote
Sponsored Links
  #2  
Old 26th August 2007, 05:22
bswinnerton bswinnerton is offline
Senior Member
 
Join Date: Jul 2007
Location: Connecticut, US
Posts: 502
Thanks: 51
Thanked 16 Times in 13 Posts
Default

I just noticed, ftp is down as well.
Reply With Quote
  #3  
Old 26th August 2007, 16:24
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

Any errors in your logs? What's in /etc/hosts now? Did you restart SSH?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #4  
Old 26th August 2007, 17:10
bswinnerton bswinnerton is offline
Senior Member
 
Join Date: Jul 2007
Location: Connecticut, US
Posts: 502
Thanks: 51
Thanked 16 Times in 13 Posts
Default

Okay, i attached my current /etc/hosts file.

As far as logs... I'm looking in the web1/log/error.log and not seeing anything. When i try to ssh in it times out, and yes i have restarted ssh.

Thanks for all of your help.
Attached Images
 
Reply With Quote
  #5  
Old 27th August 2007, 08:51
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,670
Thanks: 819
Thanked 5,317 Times in 4,170 Posts
Default

SSH does not log to a local apache error logfile.Plesae have a look in the syslog, messages log or auth.log in the directory /var/log/
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 28th August 2007, 04:36
bswinnerton bswinnerton is offline
Senior Member
 
Join Date: Jul 2007
Location: Connecticut, US
Posts: 502
Thanks: 51
Thanked 16 Times in 13 Posts
Default

Okay, two of the logs showed up stuff, auth.log had nothing:

Code:
messages log 

Aug 27 22:25:47 ubuntuserver kernel: [170597.552184] Inbound IN=eth0 OUT= MAC=00:03:47:8b:82:37:00:1a:c4:69:d5:29:08:00 SRC=MYIPADDRESS DST=MYSERVERSIPADDRESS LEN=48 TOS=0x00 PREC=0x00 TTL=56 ID=10198 DF PROTO=TCP SPT=49205 DPT=22 WINDOW=65535 RES=0x00 SYN URGP=0 

syslog
 
Aug 27 22:24:28 ubuntuserver kernel: [170518.611539] Inbound IN=eth0 OUT= MAC=00:03:47:8b:82:37:00:1a:c4:69:d5:29:08:00 SRC=MYIPADDRESS DST=MYSERVERSIPADDRESS LEN=333 TOS=0x00 PREC=0x00 TTL=255 ID=61626 DF PROTO=UDP SPT=67 DPT=68 LEN=313 

auth.log 

nothing
Exactly what I get in my terminal window is:

Code:
ssh MYSERVERSIPADDRESS -l administrator
ssh: connect to host MYSERVERSIPADDRESS port 22: Operation timed out

Last edited by bswinnerton; 28th August 2007 at 04:39.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
sending e-mail using mail() function linuxuser1 HOWTO-Related Questions 38 21st April 2009 12:20
need to change toggle settings of php.ini file in SSH bpstyle Installation/Configuration 4 13th February 2007 11:33
problem after IP Change pontifex General 3 2nd December 2006 09:42
ssh security problem... Jonathan Installation/Configuration 1 26th May 2006 01:59
problem with ssh security Jonathan Installation/Configuration 1 26th May 2006 01:52


All times are GMT +2. The time now is 15:29.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.