Go Job Hunting at the LQ Job Marketplace
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 03-30-2004, 10:42 AM   #1
Registered: Aug 2001
Location: Hong Kong, China
Distribution: CentOS, Red Hat, Mandrake, Debian
Posts: 88

Rep: Reputation: 15
Do after changed the hostname, can't connection by SSH again?

Hi all linux user,

I have a linux server host in a web host center, it is RH7.3, and have a hostname, I know it is a subdomain, so the publish dns server can't resolve it.

Now, I want to using this server be a DNS server with a new domain name I appky long time ago, it is (just for example at here, not is a really domain name)

My machine have a publish IP, it is (Just a example IP here)

Now, I want to ask, the /etc/hosts is like this now localhost.localdomain aa88

I want to ask, do I just change aa88 to after that and then reboot, do I can't login again by SSH? Since thw web host told me if I can't connect by SSH again, help me change back the old setting need we pay for HKD 300, it is very expersive if I just change a line of code. So ask this question.

Old 03-30-2004, 11:39 AM   #2
LQ Newbie
Registered: Mar 2004
Posts: 3

Rep: Reputation: 0
I don't think you will have any problem with that. As long as you still have the sshd running, you should be able log in. It's easy for you to setup two linux boxs to try it. The worse case is that you need to delete the host entry in your client side, which is under $HOME/.ssh/known_hosts.
Old 03-30-2004, 11:15 PM   #3
Registered: Aug 2001
Location: Hong Kong, China
Distribution: CentOS, Red Hat, Mandrake, Debian
Posts: 88

Original Poster
Rep: Reputation: 15
thx for your reply :-)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Knoppix Changed Hostname deadlove75 Linux - Software 4 04-10-2006 01:15 PM
hostname changed - why? greg108 Fedora 3 12-31-2004 08:41 PM
hostname changed. was i hacked???????? Sridhar Guntur Linux - Networking 7 07-23-2004 12:34 PM
changed hostname now problems degraffenried13 Linux - General 2 02-21-2004 07:15 PM
Changed my hostname and broke sshd Itzac Linux - Networking 7 03-23-2003 07:54 PM

All times are GMT -5. The time now is 10:47 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration