Telnet and ssh remote connections
Contents
Introduction
According to wikipedia telnet is
Telnet (teletype network) is a network protocol used on the Internet or local area networks to provide a bidirectional interactive communications facility. Typically, telnet provides access to a command-line interface on a remote host via a virtual terminal connection which consists of an 8-bit byte oriented data connection over the Transmission Control Protocol (TCP). User data is interspersed in-band with TELNET control information.
The Linux manual page for "telnet" tells us this:
The telnet command is used for interactive communication with another host using the TELNET protocol. It begins in command mode, where it prints a telnet prompt ("telnet> "). If telnet is invoked with a host argument, it performs an open command implicitly
Let's start
1. WDTV-Live IP Address
My WDTV-live is located at 192.168.1.102, one way to obtain this address is in your router, another is navigating wdtv to Settings>System setting>System information or to Network setting>Network setup and find your Ip address.
2. Telnet to change password
Linux
type this command:
telnet 192.168.1.102
well what the hell are we doing, we are trying to enter like the Administrator(root) or Super User then you will see something like this
pint0@debian:~$ telnet 192.168.1.102 Trying 192.168.1.102... Connected to 192.168.1.102. Escape character is '^]'. WDTVLIVE-6f1ec login: root Password: #
NOTE:there is not a password the first time (just press enter)
Windows
You have 2 options:
Command Prompt
- Go to start>run type "cmd" or go to start>all programs>accessories>Command Prompt
- type
telnet [WTDV-live-ip]
(where [WTDV-live-ip] is the IP address we found before) - type root as login and press 'enter' in password (as in no password)
Use PuTTY
- Read the instructions here PuTTY with the only change being [| this option]:
now we can change the password, by typing the command passwd
in the terminal and then your password twice (for confirmation).
The following is the output of that command:
# passwd Changing password for root New password: Bad password: too weak Retype password: Password for root changed by root
well done, now you have the root access and have a password,now you can use ssh access.
2. SSH Access
Secure Shell or SSH is a network protocol that allows data to be exchanged using a secure channel between two networked devices. Used primarily on GNU/Linux and Unix based systems to access shell accounts, SSH was designed as a replacement for Telnet and other insecure remote shells, which send information, notably passwords, in plaintext, rendering them susceptible to packet analysis. The encryption used by SSH provides confidentiality and integrity of data over an insecure network, such as the Internet.
Linux
you can do this
- open a terminal,if you use gnome go to Applications>Accessories>Terminal
- type
ssh root@your_ip
orssh your_ip -l root
type your password and done
Windows
Available options are:
Using PuTTY
- to enter you can use PuTTY a light program to connect to ssh an to others stuff(tunneling,etc,etc),here is the link to download
- open putty and you will see something like this puty_imagen
- write your ip address and click open then this will appears putty_imagen_2
- click yes and login putty_imagen_3
well now you are connected to your WDTV-live machine
Using SSH Secure Shell
- you can download from rapidshare or megaupload
- the program look like this picture_ssh then click in quick connect
- will appear this imagen "Host Name" is your ip_address and User Name is "root" then press connect
- then in here press yes
- if you see this congratulation you are in your WDTV-live machine
Tips
If you'd like to learn more about using the Linux Shell over SSH/Telnet [Shell Tips | refer to this page]