TFTP Server zur Installation einer ALIX oder Soekris

# vi /etc/inetd.conf

tftp dgram udp wait root /usr/libexec/tftpd tftpd -s /tftpboot

# mkdir /tftpboot
# mkdir /tftpboot/etc
# vi /tftpboot/etc/boot.conf

set tty com0
# Alix
#stty com0 38400
# Soekris
stty com0 19200
boot bsd.rd

Nach /tftpboot die Dateien pxeboot und bsd.rd kopieren.

Debian – chrooted SFTP – Public Key Auth

User anlegen -> als User im /home/USER .ssh erstellen -> authorized_keys editieren

# vi /etc/ssh/sshd_config

Subsystem sftp internal-sftp

Match user USER
ChrootDirectory /home/USER
X11Forwarding no
AllowTcpForwarding no

# chown root.root /home/USER/

In /home/USER ein UPLOAD Verzeichnis mit den entsprechenden Rechten erstellen.