| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| howto:setup-sscs-linux-account-public-keys [2026/02/06 01:04] – [How to: Disable SSH Password Authentication] jnilsson | howto:setup-sscs-linux-account-public-keys [2026/08/03 18:25] (current) – dfiorell |
|---|
| ====== How to: setup SSCS account with SSH public-key authentication ====== | ====== How to: setup SocIT account with SSH public-key authentication ====== |
| |
| On linux servers, it is recommended to use public-key authentication rather than password authentication for SSH. This is especially true for when port 22 or SSH will be open to off-campus access through the UCI border firewall. | On linux servers, it is recommended to use public-key authentication rather than password authentication for SSH. This is especially true for when port 22 or SSH will be open to off-campus access through the UCI border firewall. |
| * [[https://www.ssh.com/academy/ssh/public-key-authentication|General info about SSH Public Key Authentication]] | * [[https://www.ssh.com/academy/ssh/public-key-authentication|General info about SSH Public Key Authentication]] |
| |
| ===== One-stop script to create the sscs account ===== | ===== One-stop script to create the socit user account ===== |
| |
| You can simply copy and paste the below code to download a script that we've set up for this purpose and execute it with sudo: | You can simply copy and paste the below code to download a script that we've set up for this purpose and execute it with sudo: |
| echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPWfC91AllbEn9VYT9a0838A/55rWtrSY/dm48fedc38 jnilsson@storgy.local" | sudo tee -a $SOCIT_HOME/.ssh/authorized_keys | echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPWfC91AllbEn9VYT9a0838A/55rWtrSY/dm48fedc38 jnilsson@storgy.local" | sudo tee -a $SOCIT_HOME/.ssh/authorized_keys |
| echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDoygQr0UQLtpguLWJYiEBZWXUFEkUXVacE6sBZtn/6Z jnilsson@devjpn" | sudo tee -a $SOCIT_HOME/.ssh/authorized_keys | echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDoygQr0UQLtpguLWJYiEBZWXUFEkUXVacE6sBZtn/6Z jnilsson@devjpn" | sudo tee -a $SOCIT_HOME/.ssh/authorized_keys |
| echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKH3jg7avVgdyx1jltUp9nJ02DOE9XH3hfcGBQI6KrVs sscs@gunship" | sudo tee -a $SOCIT_HOME/.ssh/authorized_keys | echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKH3jg7avVgdyx1jltUp9nJ02DOE9XH3hfcGBQI6KrVs sscs-hyen@gunship" | sudo tee -a $SOCIT_HOME/.ssh/authorized_keys |
| echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBqAc8VSY9DFEzzumkn1d2S1ytpYOWHSJkbOWN1HjFQR sscs@crateria" | sudo tee -a $SOCIT_HOME/.ssh/authorized_keys | echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBqAc8VSY9DFEzzumkn1d2S1ytpYOWHSJkbOWN1HjFQR sscs-hyen@crateria" | sudo tee -a $SOCIT_HOME/.ssh/authorized_keys |
| echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIC4u9RrufB93/AS2lsBVet4+U5rizO8noDKTSHhcLmli justip6@Zaire" | sudo tee -a $SOCIT_HOME/.ssh/authorized_keys | echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEGs3wce3UKRBTVLzpSi7/TR8odzoUlwbA3dubzssJ9V justip6@zaire" | sudo tee -a $SOCIT_HOME/.ssh/authorized_keys |
| echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIErG9uQN2VUNqIjNowRw1J18T8dORd2HhJi3zl9Vs7+t justip6@zeon.ss2k.uci.edu" | sudo tee -a $SOCIT_HOME/.ssh/authorized_keys | echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIErG9uQN2VUNqIjNowRw1J18T8dORd2HhJi3zl9Vs7+t justip6@zeon.ss2k.uci.edu" | sudo tee -a $SOCIT_HOME/.ssh/authorized_keys |
| echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMtdfuw5hq6naiRnVCAKEUhpYTazWC5WE7rxCcXLN/cU lhtran@bahamut-zero.local" | sudo tee -a $SOCIT_HOME/.ssh/authorized_keys | echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMtdfuw5hq6naiRnVCAKEUhpYTazWC5WE7rxCcXLN/cU lhtran@bahamut-zero.local" | sudo tee -a $SOCIT_HOME/.ssh/authorized_keys |
| echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIK5DC1gTDzQtcNhvoCkgUzsf7ntvP/Ldac3EAgZ9Y/yc soceco\lmonzon@TECDSHHS9WX3" | sudo tee -a $SOCIT_HOME/.ssh/authorized_keys | echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIK5DC1gTDzQtcNhvoCkgUzsf7ntvP/Ldac3EAgZ9Y/yc soceco\lmonzon@TECDSHHS9WX3" | sudo tee -a $SOCIT_HOME/.ssh/authorized_keys |
| | echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICvbrrKXsNEBOWjQXQhenljmA7asPmBsmK/keoM2F5m0 dfiorell@ark.ss.uci.edu" | sudo tee -a $SOCIT_HOME/.ssh/authorized_keys |
| </file> | </file> |
| |