Anpassen des Debian Templates: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
 
Zeile 24: Zeile 24:
 
==Reboot==
 
==Reboot==
 
*systemctl reboot
 
*systemctl reboot
==JumpHost==
 
;Auf dem KIT Host anfügen
 
*vim ~/.ssh/config
 
Host <span style="color:red">'''SHORT'''</span>
 
  Hostname <span style="color:red">'''IP'''</span>
 
  ProxyJump kit@fw
 
;PubKey Übertragung
 
*ssh-copy-id <span style="color:red">'''SHORT'''</span>
 
Danach könnt ihr euch mit '''ssh''' <span style="color:red">'''SHORT'''</span> passswortlos einlogen
 

Aktuelle Version vom 2. Juni 2026, 12:26 Uhr

Hostname

  • hostnamectl set-hostname FQDN

Netzwerk

  • nano /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto enp0s3
iface enp0s3 inet static 
 address IP/CIDR
 gateway GW
 dns-nameservers NS
 dns-search DOM

Reboot

  • systemctl reboot