oobe github and gist push and clone
This commit is contained in:
@@ -67,11 +67,25 @@ chmod a+x dotnet-install.sh
|
|||||||
./dotnet-install.sh
|
./dotnet-install.sh
|
||||||
sudo rm $(ls)
|
sudo rm $(ls)
|
||||||
sudo tee /etc/timezone <<<Asia/Jerusalem
|
sudo tee /etc/timezone <<<Asia/Jerusalem
|
||||||
|
mkdir /home/saret/.ssh
|
||||||
git commit --global user.email "saretbenny@gmail.com"
|
git commit --global user.email "saretbenny@gmail.com"
|
||||||
git commit --global user.name "1kamma"
|
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
|
||||||
@@ -122,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
|
||||||
|
Reference in New Issue
Block a user