LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] telnet problem

[ILUG] telnet problem

kevin lyda kevin+dated+1110404541.e93e64 at ie.suberic.net
Fri Mar 4 21:42:01 GMT 2005


On Fri, Mar 04, 2005 at 09:17:34PM +0000, Robin Strahan wrote:
> One of the port forwards/tunnel is to a newsgroup server on port 119.
> "ssh -L 119:newsserver:119 username at remote_machine"
> 
>  This should allow me to connect to the news server if i direct my
> news reader to connect to port 119 on the localhost.
> 
> For some reason this will only work under root login. A normal user
> login won't allow the connection. (connection refused).  Under normal
> login I CAN however access another port forward on port 1080.

so this fails:

    ssh -L 119:newsserver:119 regular.user at remote_machine

but this works:

    ssh -L 119:newsserver:119 root at remote_machine

the reason is because only root can listen on ports less than 1024.
it's a vestigial bit of host based security back when naive people could
almost believe that only trusted people had root on the net.  this time
was ending back when there was an american president bush, richard dean
anderson starred in a hit tv series and steve jobs was running a company
that was shipping well designed unix desktops in snazzy hardware.

oh crap.  is it really 2005 or am i just having some weird dream after
a two night all-nighter?

kevin, hoping not to wake up to 5 feet of snow and some goofy project in
       ada or lisp or modula-2 (on a mac, shudder) due in 6 hours...

-- 
kevin lyda ~ dems for torture: salazar(co/10) landrieu(la/08) pryor(ar/08)
kevin at ie.suberic.net ~ nelson(fl/06) nelson(ne/06) lieberman(ct/06) 2/2/04
  Those who refuse to raise their voices against something as clearly evil
  as torture are enablers, if not collaborators.  --Bob Herbert, 2/11/04



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell