Start OpenSSH from the FreeBSD installer 0 ▲ Yet Another SysAdmin Website - Blog 57 minutes ago · Tech · hide Introduction This article explains how to start an OpenSSH server from the FreeBSD installer. It is usually quite easy to do on Linux, but on FreeBSD it requires a few commands that I want to document here. My use case is a web KVM or virtual machine VNC or SPICE interface that restrict copy/paste operations during rescue or install operations. Procedure First, boot the installation media normally then select “Shell” on the first menu screen. Then set up the network however is appropriate in your situation, for example: dhclient vtnet0 Set up OpenSSH: mkdir -p /tmp/sshd/etc/ssh ssh-keygen -A -f /tmp/sshd fetch -o /tmp/sshd/authorized_keys https://git.adyxax.org/adyxax.keys cat > /tmp/sshd/sshd_config <<'EOF' Port 22 HostKey /tmp/sshd/etc/ssh/ssh_host_ed25519_key HostKey /tmp/sshd/etc/ssh/ssh_host_rsa_key PermitRootLogin without-password PasswordAuthentication no AuthorizedKeysFile /tmp/sshd/authorized_keys PidFile /tmp/sshd/sshd.pid StrictModes no EOF /usr/sbin/sshd -f… Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town