Professional Documents
Culture Documents
Prsent Par : Seddik DAYA Khalid BENAYAD Abdessamad CHBICHEB Didi WELDELMOUSTAPHA
PLAN :
1. Introduction SSH
Cest quoi SSH Protocole SSH Les applications SSH Les technologies lies
Introduction SSH
Introduction SSH
Technologies lies
Introduction SSH
Technologies lies
Introduction SSH
Technologies lies
Introduction SSH
Technologies lies
Introduction SSH
Technologies lies
Introduction SSH
Terminologies :
Protocoles sont dnots avec dashes et en majuscules: SSH-1, SSH-2. Produits sont dnots en majuscule, sans dashes: SSH1, SSH2, OpenSSH, etc. Programmes client sont dnots en miniscules : ssh, ssh1, ssh2, etc.
Technologies lies
Introduction SSH
#!/bin/sh for machine in daya chbicheb benayad didi do rsh $machine /usr/ucb/w ssh done
This is a shell script. On each of these four machines in turn... invoke /usr/ucb ssh lathe place de rsh/w program, which
Technologies lies
Introduction SSH
Technologies lies
Introduction SSH
Protocol
Features Pretty good Privacy (PGP)
Firewalls Secure Remote Password (SRP) SSL Kerberos Radius TACACS+ (CISCO)
IPSec
SSH rsh (r-command) Encryption Authentification Remote Access Inegrity Monitoring
Technologies lies
Mise en place dun serveur SSH avec OpenSSH sur CentOS 6.4 :
Partie 1:
SSH : Setup
1 : Paquets dinstallation
2 : Lancement de service
ps ef | grep sshd
ssh username@ssh-server
1 : Authentification serveur
ssh_host_rsa_key & ssh_host_rsa_key.pub ssh_host_dsa_key & ssh_host_dsa_key.pub ~/.ssh/known_hosts ssh vvvv username@ssh-server
2 : Authentification client
Cl public
1 : Configuration serveur
RSAAuthentication yes
PubKeyAuthentication yes AutorizedKeysFile .ssh/autorized_keys #service sshd restart
Test avec user local : crer .ssh -> modifier les droits
2 : Configuration client
crer .ssh -> modifier les droits #ssh-keygen t rsa(dsa) b 1024 #scp .ssh/id_rsa.pub user@server:.ssh/autorized_keys #ssh username@ssh-server 3 : Ajouter les cls #eval $(ssh-agent) or ssh-agent bash #ssh-add
#ssh vvvv user@ssh-server / pour changer les infos sur le protocole, algorithm, etc