Difference between revisions of "Telnet and ssh remote connections"

From WikiDLXTV
Jump to: navigation, search
Line 67: Line 67:
  
 
*to enter you can use [http://www.chiark.greenend.org.uk/~sgtatham/putty/ PuTTY] a light program to connect to ssh an to others stuff(tunneling,etc,etc),here is the link to [http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe download]
 
*to enter you can use [http://www.chiark.greenend.org.uk/~sgtatham/putty/ PuTTY] a light program to connect to ssh an to others stuff(tunneling,etc,etc),here is the link to [http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe download]
*open putty and you will se somthing like this [http://upload.wikimedia.org/wikipedia/commons/e/ed/FabianpintoPutty.png puty_imagen ]
+
*open putty and you will see something like this [http://upload.wikimedia.org/wikipedia/commons/e/ed/FabianpintoPutty.png puty_imagen ]
 
*write your ip address and click open then this will appears [http://upload.wikimedia.org/wikipedia/commons/b/b6/Putty1.png putty_imagen_2]
 
*write your ip address and click open then this will appears [http://upload.wikimedia.org/wikipedia/commons/b/b6/Putty1.png putty_imagen_2]
 
*click yes and login [http://upload.wikimedia.org/wikipedia/commons/8/80/Putty2.png putty_imagen_3]
 
*click yes and login [http://upload.wikimedia.org/wikipedia/commons/8/80/Putty2.png putty_imagen_3]
 
well now you are connected to your WDTV-live machine
 
well now you are connected to your WDTV-live machine

Revision as of 11:39, 10 March 2010

Introducction

well for the new people telnet is this according to wikipedia

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.

and in linux the manual description of the command "telnet" tell 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

my WDTV-live is in the direction 192.168.1.102, one way for obtain this information is see in your router also in the machine go to Settings>System setting>System information there is your Ip address or go to Network setting>Network setup.

then in linux u can type this: telnet 192.168.1.105 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 password the first time

now we can change the password,you must type this in the terminal passwd and type two times your password. this 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.

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.

in linux your can do this:

1.-open a terminal,if you use gnome go to Applications>Accessories>Terminal

2.-type ssh root@your_ip or ssh your_ip -l root type your password and done

in windows you can do alot of things:

  • 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