LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 04-10-2011, 05:49 AM   #1
ted_chou12
Member
 
Registered: Aug 2010
Location: Zhongli, Taoyuan
Distribution: slackware, windows, debian (armv4l GNU/Linux)
Posts: 431
Blog Entries: 32

Rep: Reputation: 3
telnet remotely


Hi, I have setup a dynamic dns: hostname.cz.cc host, I can access ftp, webserver..etc no problem, but when I try to telnet, it doesn't appear to be right. I have the telnet port 23 enabled.
When telnet locally, via IP eg. 192.168.x.x, or host name "nas" both works fine:
Code:
sh-3.1# telnet nas
Trying 192.168.2.101...
Connected to nas.
Escape character is '^]'.

nas login: root
Password:

BusyBox v1.14.2 (2010-06-21 19:41:28 BRT) built-in shell (ash)
Enter 'help' for a list of built-in commands.
Works fine; but when telnet remotely:
Code:
sh-3.1# telnet hostname.cz.cc
Trying A.B.C.xx...
Connected to hostname.cz.cc.
Escape character is '^]'.
login: root
Login incorrect
Why is that?
the "nas login" became "login" and I tried many times but doesn't work :/
THanks,
Ted

Last edited by jschiwal; 04-11-2011 at 12:57 AM. Reason: Replaced internet IP address and FQDN
 
Old 04-10-2011, 05:59 AM   #2
ted_chou12
Member
 
Registered: Aug 2010
Location: Zhongli, Taoyuan
Distribution: slackware, windows, debian (armv4l GNU/Linux)
Posts: 431

Original Poster
Blog Entries: 32

Rep: Reputation: 3
sorry, my bad, didn't double check, i added the port to the router but didn't click on the enable button. sorry XD
 
Old 04-10-2011, 08:26 AM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
You should not remote telnet and certainly not access services as root user: use SSH as unprivileged user. If your NAS doesn't support SSH then at least ssh into your bastion host as unprivileged user and telnet from within your own LAN range.
 
1 members found this post helpful.
  


Reply



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
Can't end telnet servcie in xinetd when close remote telnet cliend forcefully. zeroneworld Linux - General 1 12-06-2007 07:17 AM
Redhat4: How to set up X-win right,so you can remotely telnet and run graphical? shong9 Red Hat 3 10-22-2007 03:05 PM
Can't login remotely using SSH or Telnet jviezel Linux - Networking 4 12-31-2006 03:12 PM
Remotely Manage Using Telnet naveentpr Linux - Newbie 2 11-14-2003 10:29 AM
I can not login remotely, either by telnet or FTP. Bheki Linux - Newbie 1 01-24-2002 06:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

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
Open Source Consulting | Domain Registration