In breve vi scrivo i comandi per accedere tramite il comando ssh a un dispositivo in rete che accetta connessioni shell sicure.

Ssh ci permette di accedere in remoto a un dispositivo (host) tramite una connessione cifrata, naturalmente in modalità linea di comando.

Mettiamo che dovete accedere via ssh al vostro router che monta openwrt dove è impostato l’indirizzo  192.168.1.100

ssh [email protected]

la risposta se è la prima volta che vi connettete all’host sarà simile a questa:

The authenticity of host '192.168.1.100 (192.168.1.100)' can't be established.
RSA key fingerprint is ee:5b:d2:50:06:29:51:11:d5:c2:cf:b5:2f:fb:0f:1c.
Are you sure you want to continue connecting (yes/no)?

Digitate yes  in modo tale da aggiungere la connessione alla lista degl’host conosciuti;

il terminale vi darà quest’altra risposta di avviso:

Warning: Permanently added '192.168.1.100' (RSA) to the list of known hosts.
[email protected]'s password:

Digitate ora la password che è stata impostata sul router e vi apparirà una schermata simile

BusyBox v1.19.4 (2013-03-14 20:30:45 UTC) built-in shell (ash)
Enter 'help' for a list of built-in commands.

_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
ATTITUDE ADJUSTMENT (12.09, r36088)
-----------------------------------------------------
* 1/4 oz Vodka Pour all ingredients into mixing
* 1/4 oz Gin tin with ice, strain into glass.
* 1/4 oz Amaretto
* 1/4 oz Triple sec
* 1/4 oz Peach schnapps
* 1/4 oz Sour mix
* 1 splash Cranberry juice
-----------------------------------------------------
root@OpenWrt:~#

Ora siete liberi di smanettare 🙂