32 private links
make group hack and share folder with it
sudo groupadd hack
sudo chgrp -R hack /data/trueblocks
sudo chmod 770 /data/trueblocks
sudo chmod +s /data/trueblocks
create new user and add it to group hack
sudo useradd jacob --home-dir /home/jacob --shell /bin/zsh --no-create-home
sudo cp -r /home/alex/ /home/alex/
sudo chown -vR jacob:jacob /home/jacob
sudo usermod -aG hack alex
shared permissions
sudo chown root:hack /code
sudo chmod 2750 /code (2770 for executable)
sudo chmod go-rwx /code/*
sudo chmod g+rX /code/zsh-autosuggestions /code/zsh-syntax-highlighting
sudo chown -R :hack /code/zsh-autosuggestions /code/zsh-syntax-highlighting
sudo chmod -R g+s /code/zsh-autosuggestions /code/zsh-syntax-highlighting
sudo setfacl -R -m g:hack:rwx /code/zsh-autosuggestions /code/zsh-syntax-highlighting
sudo setfacl -R -d -m g:hack:rwx /code/zsh-autosuggestions /code/zsh-syntax-highlighting
Prerequisites to run X applications on OS-X:
You need to have XQuartz installed on the client side (check that it's working for your account by running XQuarts and starting a local terminal)
You need to allow XForwarding on your server. Set the X11Forwarding option (most commonly found in /etc/ssh/sshd_config): X11Forwarding yes (don't forget to restart the ssh server after editing the sshd_config file).
Your sshd server should be running on the server side.
Your firewall (on both ends) should allow for traffic over port 22.
If you want to disable that message for all ssh users, edit /etc/pam.d/sshd and comment out the lines
session optional pam_motd.so motd=/run/motd.dynamic noupdate
session optional pam_motd.so # [1]
ssh-keygen -t ed25519 -C "your_personal_email@example.com" -f ~/.ssh/<personal_key>