Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
ip_and_network [2016/06/23 20:19] admin [Login over SSH] |
ip_and_network [2017/09/06 19:45] admin [Static IP Address] |
||
---|---|---|---|
Line 23: | Line 23: | ||
| | ||
| | ||
+ | Or: | ||
+ | # Ethernet | ||
+ | auto eth0 | ||
+ | allow-hotplug eth0 | ||
+ | iface eth0 inet static | ||
+ | address 192.168.0.199 | ||
+ | netmask 255.255.255.0 | ||
+ | gateway 192.168.0.1 | ||
+ | dns-nameservers 192.168.0.1 | ||
+ | | ||
Save and quit, ctl+o, Return, ctl+x.\\ | Save and quit, ctl+o, Return, ctl+x.\\ | ||
Line 47: | Line 57: | ||
$ ssh -XY pi@192.168.0.111 | $ ssh -XY pi@192.168.0.111 | ||
PW: raspberry\\ | PW: raspberry\\ | ||
- | Or install an VPN server:\\ | + | Or install an VPN server: [[vnc|VNC]] |
- | [[vnc|VNC]] | + | |
+ | ---- | ||
+ | |||
+ | ==== Miscellaneous ==== | ||
+ | If the host key verification failed, one can remove the old key with:\\ | ||
+ | $ ssh-keygen -R 192.168.0.123 | ||
+ | And with\\ | ||
+ | ~. | ||
+ | one can terminate a broken ssh session. | ||
+ | |||
+ | ---- |