3.5 Services

service= port + protocol (TCP,UDP)// messagerie (mail)= port 25 TCP
[buffat@ufrmeca Cours]$ telnet mecalpha 25
Trying 134.214.95.86...
Connected to mecalpha.univ-lyon1.fr.
Escape character is '^]'.
220 mecalpha.univ-lyon1.fr ESMTP Sendmail 8.8.7/8.8.7; Wed, 22 Sep 1999 01:00:39 +0200
helo mecalpha
250 mecalpha.univ-lyon1.fr Hello buffat@ufrmeca [134.214.93.120], pleased to meet you
......
  1. ssh nom@hostname
    connexion sécurisée
    [buffat@p2chpd-visu2]$ ssh buffat@athena.mecaflu.ec-lyon.fr
    buffat@athena.mecaflu.ec-lyon.fr's password:xxxxxxx
    Last login: Thu Jul 10 09:46:01 from lns-th2-10-82-64
    Digital UNIX V4.0D  (Rev. 878); Mon Dec 13 15:29:15 MET 1999
    athena.mecaflu.ec-lyon.fr>exit
    athena.mecaflu.ec-lyon.fr> logout
    Connection to athena.mecaflu.ec-lyon.fr closed.
    

  2. telnet “hostname”
    ancien mode de connexion (non sécurisé)
  3. scp user@host1:fichier1 fichier2
  4. scp fichier1 user@host1:fichier2 transfert de fichier sécurisé
    scp lstree.txt buffat@athena.mecaflu.ec-lyon.fr:toto.txt
    buffat@athena.mecaflu.ec-lyon.fr's password: xxxxxx
    lstree.txt       100%  206   962.5KB/s   00:00
    
  5. ftp “hostname”
    transfert de fichiers (non scurisé)
  6. mail : messagerie
    envoi (en général avec un client)
    [buffat@ufrmeca COURS_UNIX]$ mail buffat@mecapar.univ-lyon1.fr
    Subject: essai mail
    Hello,
    essai de mail
    Marc
    ^D
    Cc: buffat
    
    reception
    You have mail in /var/spool/mail/buffat
    [buffat@ufrmeca COURS_UNIX]$ mail
    Mail version 8.1 6/6/93.  Type ? for help.
    "/var/spool/mail/buffat": 1 message 1 new
    >N  1 buffat@ufrmeca.univ-  Wed Sep 15 14:12  16/439   "essai mail"
    & q
    




Pr. Marc BUFFAT
marc.buffat@univ-lyon1.fr
2007-02-08