LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 12-18-2005, 12:58 AM   #1
DragonM15
Member
 
Registered: Sep 2003
Location: USA
Distribution: Slackware (Multiple Versions)
Posts: 455

Rep: Reputation: 31
SSH login wierd... Why is that?


Ok.. I couldnt think about any other way to describe this... when I log into SSH on my server (server.org) first it shows at the top of my terminal window server.org... just like its supposed to... then I login and it says '[user@101/udp user]$' Where did the 101/udp come from? Lately I have been having problems with my mail... it keeps on thinking its domain is 101/udp when it is not. I looked in '/etc/hosts' and everything is as it should be.. nothing about 101/udp. My mail keeps rejecting mail that I try to send out because it doesnt know what 101/udp is... All I need to know is why my server is doing this, and how do fix it. Any Ideas??? Thanks a ton!!

DragonM15
 
Old 12-18-2005, 02:20 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,962
Blog Entries: 11

Rep: Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865
It would help to know what distro that server is
running, whether those settings are all yours to
change or not... there's more than /etc/hosts to
determining things like a mail-address from.


Cheers,
Tink
 
Old 12-18-2005, 03:22 AM   #3
DragonM15
Member
 
Registered: Sep 2003
Location: USA
Distribution: Slackware (Multiple Versions)
Posts: 455

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by Tinkster
It would help to know what distro that server is
running, whether those settings are all yours to
change or not... there's more than /etc/hosts to
determining things like a mail-address from.


Cheers,
Tink
Sorry... I was kinda in a hurry... Redhat 9.0 and the settings are mine to change... /etc/hosts was the first thing that came to mind... one day it just showed that when I logged into ssh, and ever since then it has been acting wierd. Thanks for the help!

DragonM15
 
Old 12-18-2005, 04:05 PM   #4
DragonM15
Member
 
Registered: Sep 2003
Location: USA
Distribution: Slackware (Multiple Versions)
Posts: 455

Original Poster
Rep: Reputation: 31
Hey Tinkster,
the matter has been fixed. It was a simple command of 'hostname server.org' Thanks for your help and your time.

DragonM15
 
Old 12-18-2005, 04:27 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,962
Blog Entries: 11

Rep: Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865
But that may only be valid for this session/until next reboot? ;)

Check your sysconfig directory for the right entries, I think
it's in /etc/sysconfig/network


Cheers,
Tink

Last edited by Tinkster; 12-18-2005 at 04:30 PM.
 
Old 12-19-2005, 12:26 AM   #6
DragonM15
Member
 
Registered: Sep 2003
Location: USA
Distribution: Slackware (Multiple Versions)
Posts: 455

Original Poster
Rep: Reputation: 31
In /etc/sysconfig/network everything looks right.... right IP, right domain... It looks good. Anything else that you can think of that might be at fault?

Thanks,
DragonM15
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wierd happenings when securing SSH mattp Linux - Security 13 10-07-2005 07:00 AM
ssh login only with ip CloudBuilder Linux - Networking 3 07-31-2005 11:20 AM
SSH Login | Need help !! xedios Linux - Software 0 12-21-2004 12:16 PM
wierd SSH log entry sopiaz57 Linux - Security 4 09-30-2004 02:52 PM
ftp login -- ssh no login waffe Linux - General 4 12-27-2003 12:42 AM


All times are GMT -5. The time now is 09:45 PM.

Main Menu
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