LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 03-30-2004, 10:42 AM   #1
explorer1979
Member
 
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 aa88.998bb.com, 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 iclub.com.hk (just for example at here, not is a really domain name)

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

Now, I want to ask, the /etc/hosts is like this now

127.0.0.1 localhost.localdomain
210.222.155.12 aa88.998bb.com aa88


I want to ask, do I just change 210.222.155.12 aa88.998bb.com aa88 to
210.222.155.12 www.iclub.com.hk 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.

Thx
 
Old 03-30-2004, 11:39 AM   #2
yi.zhang
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
explorer1979
Member
 
Registered: Aug 2001
Location: Hong Kong, China
Distribution: CentOS, Red Hat, Mandrake, Debian
Posts: 88

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


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 06:30 AM.

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