# Configuration de Telnet, SSH et WEB

##### Configuration de SSH

<p class="callout info">Secure Shell</p>

```
Procurve switch 2650(config)# crypto key generate ssh
Installating new RSA key. If the key/entropy cache is depleted, this could take up to a minute.
Procurve switch 2650(config)# ip ssh
Procurve switch 2650(config)# ip ssh timeout 120
Procurve switch 2650(config)# ip ssh version 2
Procurve switch 2650(config)# ip ssh port 22
```

Vérification

```
Procurve switch 2650(config)# show ip ssh

	SSH Enabled					: Yes
    SSH Version 				: 2
    TCP Port Number				: 22
    Timeout (sec)				: 120
    Server key Size (bits)		: 512
    Secure Copy Enabled			: No
```

##### Configuration de TELNET

<p class="callout info">Terminal Network</p>

```
Procurve switch 2650(config)# telnet-server
```

Vérification

```
Procurve switch 2650(config)# show telnet

 Telnet Activity
 
  Session	Privilege 	From			To
  -------   ---------   ---------       ----------
  **	1	Manager		Connsole
```

##### Configuration WEB

```
Procurve switch 2650(config)# web-management
```

en HTTPS :

```
Procurve switch 2650(config)# crypto key generate cert 512
Procurve switch 2650(config)# web-management ssl
```

<p class="callout warning">Plugins JAVA obligatoire pour l'utilisation du WebGUI </p>