Merge branch 'main' of gist:5c283f4fdeff2d5a6e6e97b310f3bc8b

This commit is contained in:
2022-08-26 23:51:17 +03:00

View File

@@ -66,10 +66,26 @@ wget https://dot.net/v1/dotnet-install.sh
chmod a+x dotnet-install.sh chmod a+x dotnet-install.sh
./dotnet-install.sh ./dotnet-install.sh
sudo rm $(ls) sudo rm $(ls)
sudo tee /etc/timezone <<<Asia/Jerusalem
mkdir /home/saret/.ssh
git commit --global user.email "saretbenny@gmail.com"
git commit --global user.name "1kamma"
if [ "$HOST" = "libre-computer" ]; if [ "$HOST" = "libre-computer" ];
then then
su -c 'wget -O - "https://connect.jfrog.io/install_connect" | sh -s VBr9r2byCYKNaE3rgZwYZANg8BueGk3HAQ Server' su -c 'wget -O - "https://connect.jfrog.io/install_connect" | sh -s VBr9r2byCYKNaE3rgZwYZANg8BueGk3HAQ Server'
curl -sSL "https://www.googleapis.com/drive/v3/files/12E1DAwQaQUT7lWOs1EhTD5Xk_sAnGqjo?alt=media&key=AIzaSyCy8ppkVWYQFSznbe1SHuAITSZ-ux_ZCZk" >/home/saret/.ssh/LibreGithub
tee /home/saret/.ssh/config <<EOF
Host GitHub
Hostname ssh.github.com
Port 443
User git
IdentityFile ~/.ssh/LibreGithub
Host gist
Hostname gist.github.com
User git
IdentityFile ~/.ssh/LibreGithub
EOF
sudo tee /etc/systemd/system/RunSSH.service <<EOF sudo tee /etc/systemd/system/RunSSH.service <<EOF
[Unit] [Unit]
Description=Run This SSH in ssh-j server Description=Run This SSH in ssh-j server
@@ -120,7 +136,21 @@ export DOTNET_ROOT=\$HOME/.dotnet
export PATH=\$PATH:\$HOME/.dotnet export PATH=\$PATH:\$HOME/.dotnet
EOF EOF
elif [ "$HOST" = "tritium-h5" ]; elif [ "$HOST" = "tritium-h5" ];
curl -sSL "https://www.googleapis.com/drive/v3/files/12E1DAwQaQUT7lWOs1EhTD5Xk_sAnGqjo?alt=media&key=AIzaSyCy8ppkVWYQFSznbe1SHuAITSZ-ux_ZCZk" >/home/saret/.ssh/LibreGithub
su -c 'wget -O - "https://connect.jfrog.io/install_connect" | sh -s VBr9r2byCYKNaE3rgZwYZANg8BueGk3HAQ Server' su -c 'wget -O - "https://connect.jfrog.io/install_connect" | sh -s VBr9r2byCYKNaE3rgZwYZANg8BueGk3HAQ Server'
tee /home/saret/.ssh/config <<EOF
Host GitHub
Hostname ssh.github.com
Port 443
User git
IdentityFile ~/.ssh/LibreGithub
Host gist
Hostname gist.github.com
User git
IdentityFile ~/.ssh/LibreGithub
EOF
sudo tee /etc/systemd/system/RunSSH.service <<EOF sudo tee /etc/systemd/system/RunSSH.service <<EOF
[Unit] [Unit]
Description=Run This SSH in ssh-j server Description=Run This SSH in ssh-j server