Skip to main content

Telnet for ubuntu

Install Telnet in ubuntu Desktop
Telnet is not secure to use in production. But sometime we need it. I tried it for educational purpose and for my knowledge.

To isntall the Telnet, use this command

jay@jay-vm:~$ sudo apt-get install telnetd
[sudo] password for jay: (type your password here)
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  openbsd-inetd
The following NEW packages will be installed:
  openbsd-inetd telnetd
0 upgraded, 2 newly installed, 0 to remove and 538 not upgraded.
Need to get 73.1 kB of archives.
After this operation, 303 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://np.archive.ubuntu.com/ubuntu/ precise/main openbsd-inetd i386 0.20091229-1ubuntu1 [30.5 kB]
Get:2 http://np.archive.ubuntu.com/ubuntu/ precise/universe telnetd i386 0.17-36build1 [42.6 kB]
Fetched 73.1 kB in 0s (105 kB/s)
Selecting previously unselected package openbsd-inetd.
(Reading database ... 142310 files and directories currently installed.)
Unpacking openbsd-inetd (from .../openbsd-inetd_0.20091229-1ubuntu1_i386.deb) ...
Selecting previously unselected package telnetd.
Unpacking telnetd (from .../telnetd_0.17-36build1_i386.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up openbsd-inetd (0.20091229-1ubuntu1) ...
 * Stopping internet superserver inetd                                   [ OK ]
 * Not starting internet superserver: no services enabled
Setting up telnetd (0.17-36build1) ...
Adding user telnetd to group utmp

After finishing the installation restart the telnet service
jay@jay-vm:~$ sudo service openbsd-inetd restart
 * Restarting internet superserver inetd                                 [ OK ]


You can login to the server  using following command

$telnet [ubuntu-desktop-ip]
$telnet [ubuntu-desktop-domain-name]

enjoy!

Comments

Popular posts from this blog

MongoDB Failed to start lsb an object/document-oriented database

After long gap I'm going to post new blog. Due to the work load and research I have little time.  MongoDB could not started after installation of 3.6 version, However downgrade to the 3.4, still the Mongodb couldn't start and show below error message. Search don't help to resolved the issue. After so much hit and trail nothing work. One Chinese forum posted this command and its works for me.  cd /var/lib sudo rm -rf ./mongodb sudo mkdir mongodb sudo chown -R mongodb mongodb/ sudo serivce mongodb restart

Juniper switch Basic Configuration Commands

Hello fellow blog reader, after long gap I'm going to write this thread regarding the basic Juniper command and configuration. I try to include as much as troubleshooting/configuration command during day to day work. I would like to thank to Srijan pointing the error on LACP command. 1. Set username for login root@jpudasaini#set system root-authentication encrypted-password New password: Retype new password: root@jpudasaini#set system login user jay full-name jaypudasaini uid 400 class super-user authentication encrypted-password 2. Hostname configuration. root@switch#set system host-name jpudasaini root@jpudasaini# 3. Set Tacplus authentication for juniper switch. root@jpudasaini# set system authentication-order tacplus root@jpudasaini# set system authentication-order password root@jpudasaini# set system root-authentication encrypted-password "you password here" root@jpudasaini# set system tacplus-server 10.10.10.10(your tacplus server IP) secret &quo

IOS XR GNS3 QEMU

This time lets have tutorial on Cisco XR 9k series router image running on the GNS3. Please don't ask for the XR image. Your are smart enough to get it. My system configuration: Ubuntu 16.04 GNS3 1.4 RAM 8Gig i7 processor Used XR Image iosxrv-k9-demo-6.0.1.qcow2 This image is VIRL extracted image. You need to convert this image into QEMU image, follow this link I strongly recommend you to run it on the Linux system. Now you have converted image, then go to the GNS3>Edit>Preferences>QEMU>Qemu VMs>New then follow the onscreen procedure. Setting for QEMU XR Image. RAM:- 4Gig CPU:- 1 Adapters at lest 4.  -enable-kvm Here you can see I can run the XR on my system. Interface is up and system is already booted.  I have run 3 XR router  here is my system RAM CPU usages. RP/0/0/CPU0:XR3(config)#int gi0/0/0/0 RP/0/0/CPU0:XR3(config-if)#ip add 192.168.13.2 255.255.255.252 RP/0/0/CPU0:XR3(config-if)#co