Unix Technical Forum

9.1 telnet or ssh to hostname 0

This is a discussion on 9.1 telnet or ssh to hostname 0 within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Prior to 9.1 I was able to do the following to connect to the localhost: telnet 0 or ssh ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-18-2008, 07:20 PM
Angelo Brigante, Jr.
 
Posts: n/a
Default 9.1 telnet or ssh to hostname 0

Prior to 9.1 I was able to do the following to connect to the localhost:

telnet 0 or ssh 0

It no longer works for some reason and I get the following error:
0: Name or service not known

Programs like ftp, wget, and lynx still working when using 0.

Has anyone else experienced this? Its not terribly important, but
it is nice to use.

--
E-mail: The first three letters of my first name AT my last name DOT org
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-18-2008, 07:20 PM
AthlonRob
 
Posts: n/a
Default Re: 9.1 telnet or ssh to hostname 0

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
NotDashEscaped: You need GnuPG to verify this message

On Wed, 29 Oct 2003 21:14:46 GMT, Angelo Brigante, Jr. <see@my.sig.invalid> wrote:
> Prior to 9.1 I was able to do the following to connect to the localhost:
>
> telnet 0 or ssh 0


Why in the world would you want to do that?

> It no longer works for some reason and I get the following error:
> 0: Name or service not known


Ditto.

Quick fix - edit /etc/hosts and add 0 to the end of the localhost line.

I hadn't heard of using 0 as localhost before, I suppose it might come
in handy down the road. Stranger things have happened. :-)

--
Rob | If not safe,
Email and Jabber: | one can never be free.
athlonrob at axpr dot net |
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/oFvxhm6KEoOOAe0RArqCAJ9IGbmtqzsbO8aQT72rqHqXtmvpZA CeMSBS
VTN4B8xP89EbjfxMLdugHPo=
=78Sh
-----END PGP SIGNATURE-----
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-18-2008, 07:20 PM
Simon
 
Posts: n/a
Default Re: 9.1 telnet or ssh to hostname 0

On Wed, 29 Oct 2003 16:31:44 -0800, AthlonRob <junkmail@axpr.net> wrote:
> I hadn't heard of using 0 as localhost before


0 is the short version of 0.0.0.0, which normally refers to any local
IP address (well, officially, it refers to any IP address, but
locally-run network utilities treat it as any local IP address). I
don't tend to use it, so I hadn't noticed that it didn't work or looked
into why.


--
Simon <simon@no-dns-yet.org.uk> **** GPG: F4A23C69
"We demand rigidly defined areas of doubt and uncertainty."
- Douglas Adams

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:11 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com