Last active
March 30, 2023 20:36
-
-
Save kzahel/1530ce5e00a7124bff60c8f91324eda8 to your computer and use it in GitHub Desktop.
ChromeOS sshd openssh server
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo su | |
apt-get install -y openssh-server iptables | |
iptables -I INPUT -p tcp --dport 22 -j ACCEPT | |
mkdir -p -m0755 /var/run/sshd | |
/usr/sbin/sshd | |
# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment