Subscribe  RSS
  • About Me

OpenPeta

Open Mind …. Open Source …


  • Administration
  • Basic Commands
  • C Language
  • compilation
  • Configuration
  • Image Processing
  • Installation
  • Internet
  • Kernel
    • Assembly Language
  • Linux on NoteBook PCs
  • MySQL
  • Open Source Programming
  • Seamntic Web
  • Softwares and EBooks
  • Tips and Tricks
  • Ubuntu Linux
  • Uncategorized
  • Weblog

TELNET – Somthing Different (Contd)

By admin on September 26th, 2007

1.Escape character is used for access telnet commands in remote machine , by default the escape character is ‘^’
Example

telnet> set escap #
escape character is ‘#’.
(or)
[root@myserver ~]# telnet -e ‘#’ 192.168.3.138
Telnet escape character is ‘#’.
Trying 192.168.3.138…
Connected to 192.168.3.138 (192.168.3.138).
Escape character is ‘#’.
Red Hat Enterprise Linux WS release 4 (Nahant)
Kernel 2.6.9-5.ELsmp on an i686
login: cam1
Password:
Last login: Wed Sep 26 09:02:18 from myserver
[cam1@MB327SCS068 ~]$

2. The opposite command of set is unset
Example

telnet> unset escape
escape character is ‘off’.

2. Connecting remote host using open command
Example 

telnet> open 192.168.3.138
Trying 192.168.3.138…
Connected to 192.168.3.138 (192.168.3.138).
Escape character is ‘off’.
Red Hat Enterprise Linux WS release 4 (Nahant)
Kernel 2.6.9-5.ELsmp on an i686
login: cam1
Password:
Last login: Wed Sep 26 08:55:59 from myserver
[cam1@MB327SCS068 ~]$

3. In remote terminal we can execute the following commands

a) encrpt
b) close
c) send
d) logout
e) quit
f) status

For executing telnet command in remote machine first logon the remote system using open command and then type telnet , give one space and press your escape character (here #) . don’t press enter key . when you press escape character after telnet,remote machine automatically enter into telnet mode . here you can execute the commands

Example

[cam1@MB327SCS068 ~]$ telnet (one space + #)
telnet>

4. Printing telnet information – status command

[cam1@MB327SCS068 ~]$ telnet
telnet> status
Connected to 192.168.3.138 (192.168.3.138).
Operating in single character mode
Catching signals locally
Remote character echo
Local flow control
Escape character is ‘#’.

5. Authentication using auth command

a) for checking authentication
[cam1@MB327SCS068 ~]$ telnet
telnet> auth status
Authentication enabled
KERBEROS_V5: enabled
KERBEROS_V4: enabled

b) We can enable and disable the authentication

telnet> auth enable ?
auth enable ‘type’
Where ‘type’ is one of:
NULL
KERBEROS_V5
KERBEROS_V4
telnet> auth disable ?
auth disable ‘type’
Where ‘type’ is one of:
NULL
KERBEROS_V5
KERBEROS_V4

Example
telnet> auth disable KERBEROS_V5
telnet> auth enable KERBEROS_V5

6. send command

telnet> send ?
ao Send Telnet Abort output
ayt Send Telnet ‘Are You There’
brk Send Telnet Break
ec Send Telnet Erase Character
el Send Telnet Erase Line
escape Send current escape character
ga Send Telnet ‘Go Ahead’ sequence
ip Send Telnet Interrupt Process
nop Send Telnet ‘No operation’
eor Send Telnet ‘End of Record’
abort Send Telnet ‘Abort Process’
susp Send Telnet ‘Suspend Process’
eof Send Telnet End of File Character
synch Perform Telnet ‘Synch operation’
getstatus Send request for STATUS
? Display send options

Some Examples

a) telnet> send ayt

[MB327SCS068 : yes]

b) telnet> send getstatus
RCVD IAC SB STATUS IS
WILL ECHO
WILL SUPPRESS GO AHEAD
WILL STATUS
DO TERMINAL TYPE
DO NAWS
DO TSPEED
DO LFLOW
DO XDISPLOC
DO NEW-ENVIRON
SB TOGGLE-FLOW-CONTROL ON SE

7. close / logout / quit commands

a) [cam1@MB327SCS068 ~]$ telnet
telnet> quit
Connection closed.
b) [cam1@MB327SCS068 ~]$ telnet
telnet> close
Connection closed.

c) [cam1@MB327SCS068 ~]$ telnet
telnet> logout
Connection closed by foreign host.

Still lot of operations are there in telnet . Some basic idea about telnet commands has only given here.

Categorized under: Remote Login Protocols.
Tagged with: no tags.

Leave a Response

Click here to cancel reply.

← TELNET – Somthing Different
Copying Files and directories – 'cp' Command →

Recent Activity

  • Posts
  • Comments
  • Ubuntu Tweak – Customise Your Desktop
  • Ubuntu 10.04 – Enabling Location Based Address Bar Permanently in Nautilus File Browser
  • University Timetabling System [ Unitime ] in Linux
  • How to Reset MySQL Server Password ?
  • Ubuntu 10.04 Beginners Manual
  • 8085 Two Pass Assembler – Sample Program
  • 10 Myths About Ubuntu Linux Operating System
  • Ubuntu 10.04 – Enabling Address Bar in Nautilus File Browser
  • 10 Basic Linux Commands
  • Gparted – Partition Log File for My 1TB Hard Disk
  • sunil kumar on 8085 Two Pass Assembler - Sample Program
  • admin on How to shutdown all linux clients from server in your network (LAN)
  • sayera on How to shutdown all linux clients from server in your network (LAN)
  • sayera on How to shutdown all linux clients from server in your network (LAN)
  • keerthana on 8085 Two Pass Assembler - Sample Program
  • Ranjib on 2D Graphics Using C in Linux [ Graphics.h in Linux ]
  • admin on 2D Graphics Using C in Linux [ Graphics.h in Linux ]
  • Ranjib on 2D Graphics Using C in Linux [ Graphics.h in Linux ]
  • Thameem on NOKIA E51 wlan/wifi connection problem and solution
  • Thameem on NOKIA E51 wlan/wifi connection problem and solution

Archives

  • Categories
  • Tags
  • Dates
  • Authors
  • Administration
  • Basic Commands
  • C Language
  • compilation
  • Configuration
  • Image Processing
  • Installation
  • Internet
  • Kernel
    • Assembly Language
  • Linux on NoteBook PCs
  • MySQL
  • Open Source Programming
  • Seamntic Web
  • Softwares and EBooks
  • Tips and Tricks
  • Ubuntu Linux
  • Uncategorized
  • Weblog
Linux Open Sourc Ubuntu
  • July 2010 (2)
  • June 2010 (4)
  • May 2010 (4)
  • April 2010 (12)
  • March 2010 (8)
  • February 2010 (4)
  • January 2010 (3)
  • December 2009 (1)
  • October 2009 (2)
  • September 2009 (5)
  • August 2009 (1)
  • July 2009 (2)
  • June 2009 (5)
  • May 2009 (11)
  • April 2009 (2)
  • March 2009 (3)
  • February 2009 (6)
  • January 2009 (1)
  • October 2008 (5)
  • August 2008 (1)
  • July 2008 (6)
  • June 2008 (3)
  • April 2008 (1)
  • March 2008 (6)
  • February 2008 (13)
  • December 2007 (4)
  • October 2007 (11)
  • September 2007 (25)
  • August 2007 (7)
  • ANTHONIRAJ (36)
  • raja (2)
  • RAJARAJAN (6)
  • somnath (1)

Open Peta Calendar

September 2007
M T W T F S S
« Aug   Oct »
 12
3456789
10111213141516
17181920212223
24252627282930
Powered by WordPress and the PressPlay Theme
Copyright © 2010 OpenPeta