ssh

Der Zugriff auf andere Rechner per Textterminal kann per ssh verschlüsselt erfolgen. Unter Windows leistet das Programm "putty" hierfür hervorragende Dienste.

Beim MAC ruft man zunächst eine Instanz des Terminals auf und dann :

Last login: Sat Jan 6 13:07:29 on console

Ekkehards-MacBook-Air:~ ekkehardpofahl$ ssh hsx01 -l pi

pi@hsx01's password:

The programs included with the Debian GNU/Linux system are free software;

the exact distribution terms for each program are described in the

individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent

permitted by applicable law.

Last login: Tue Nov 28 11:08:33 2017 from ekkehards-macbook-air.fritz.box

pi@hsx01:~ $

pi@hsx01:~ $ logout

Connection to hsx01 closed.

Ekkehards-MacBook-Air:~ ekkehardpofahl$

Die Befehlserweiterung "-l pi" fragt einen Zugriff mit dem Benutzer "pi" an. Blöderweise wird nämlich sonst der gleiche Benutzername genommen, unter dem man auf dem MAC unterwegs ist.

Es gibt bei SSH Verbindungen noch viel Hintergrund Gerödel. Einen Eindruck davon bekommt man häufig :

Ekkehards-Air:~ ekkehardpofahl$ ssh raspx2 -l pi
The authenticity of host 'raspx2 (192.168.178.74)' can't be established.
ECDSA key fingerprint is SHA256:qcoHBGVI4hHmhLmvgtSMC/vfo8LvDG+kaeVFaeQbVDo.
Are you sure you want to continue connecting (yes/no/[fingerprint])?


Ekkehards-Air:~ ekkehardpofahl$ ssh raspx1 -l pi

Warning: Permanently added the ECDSA host key for IP address '169.254.67.170' to the list of known hosts.

pi@raspx1's password:


Die Liste der "known hosts" zu finden kann etwas Mühe bereiten. Manchmal müssen "known hosts" gelöscht werden, wenn z.B. Rechner mit gleichem Namen neu aufgesetzt werden.