Merge branch 'master' of github.com:vishap/scripts
This commit is contained in:
@@ -1 +1,10 @@
|
|||||||
/usr/bin/rsync -av --inplace --append-verify -e "ssh -p 8080" /mnt/ssd/deluge/done lusntag.vostan.org:/mnt/home/vahagn/tmp/tmp
|
set -x
|
||||||
|
if [ ! -z "$*" ]; then
|
||||||
|
for i in "$@"; do
|
||||||
|
/usr/bin/rsync -av --inplace --progress --append-verify "/mnt/ssd/deluge/done/$i" "hrat:tmp/tmp/done/"
|
||||||
|
done
|
||||||
|
else
|
||||||
|
echo "/usr/bin/rsync -av --inplace --append-verify /mnt/ssd/deluge/done hrat:tmp/tmp"
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -30,14 +30,3 @@
|
|||||||
[pager]
|
[pager]
|
||||||
branch = false
|
branch = false
|
||||||
|
|
||||||
[url "https://vishap@github.com/"]
|
|
||||||
insteadOf = github:
|
|
||||||
|
|
||||||
[url "https://gitlab.com/"]
|
|
||||||
insteadOf = gitlab:
|
|
||||||
|
|
||||||
[url "http://192.168.0.4:8080/"]
|
|
||||||
insteadOf = mylab:
|
|
||||||
|
|
||||||
[pager]
|
|
||||||
branch = false
|
|
||||||
|
|||||||
@@ -9,26 +9,10 @@
|
|||||||
proxy = http://proxy.bloomberg.com:81
|
proxy = http://proxy.bloomberg.com:81
|
||||||
sslCAinfo = /usr/local/share/ca-certificates/bloomberg-root-ca.crt
|
sslCAinfo = /usr/local/share/ca-certificates/bloomberg-root-ca.crt
|
||||||
|
|
||||||
[url "https://github.com/"]
|
|
||||||
insteadOf = github.com:
|
|
||||||
[url "https://github.com/"]
|
|
||||||
insteadOf = git@github.com:
|
|
||||||
[url "https://github.com/"]
|
|
||||||
insteadOf = ssh://git@github.com/
|
|
||||||
|
|
||||||
[http "https://gitlab.com"]
|
[http "https://gitlab.com"]
|
||||||
proxy = http://proxy.bloomberg.com:81
|
proxy = http://proxy.bloomberg.com:81
|
||||||
sslCAinfo = /usr/local/share/ca-certificates/bloomberg-root-ca.crt
|
sslCAinfo = /usr/local/share/ca-certificates/bloomberg-root-ca.crt
|
||||||
|
|
||||||
[url "https://gitlab.com/"]
|
|
||||||
insteadOf = gitlab.com:
|
|
||||||
[url "https://gitlab.com/"]
|
|
||||||
insteadOf = git@gitlab.com:
|
|
||||||
[url "https://gitlab.com/"]
|
|
||||||
insteadOf = ssh://git@gitlab.com/
|
|
||||||
|
|
||||||
[http "http://192.168.0.4:8080"]
|
[http "http://192.168.0.4:8080"]
|
||||||
proxy = socks5://127.0.0.1:1080
|
proxy = socks5://127.0.0.1:1080
|
||||||
|
|
||||||
[url "http://git.kernel.org"]
|
|
||||||
insteadOf = git://git.kernel.org
|
|
||||||
|
|||||||
59
local/bb_local_dev/.ssh/config
Normal file
59
local/bb_local_dev/.ssh/config
Normal file
@@ -0,0 +1,59 @@
|
|||||||
|
# Note that value for 'User' must be 'git'.
|
||||||
|
Host bbgithub bbgithub.dev.bloomberg.com
|
||||||
|
HostName bbgithub.dev.bloomberg.com
|
||||||
|
IdentityFile ~/.ssh/bbgithub
|
||||||
|
User git
|
||||||
|
UserKnownHostsFile /dev/null
|
||||||
|
StrictHostKeyChecking no
|
||||||
|
|
||||||
|
Host github.com
|
||||||
|
User vishap
|
||||||
|
Hostname github.com
|
||||||
|
PreferredAuthentications publickey
|
||||||
|
IdentityFile ~/.ssh/id_rsa_home
|
||||||
|
ProxyCommand=nc -X 5 -x localhost:1080 %h %p
|
||||||
|
|
||||||
|
|
||||||
|
Host lusntag
|
||||||
|
HostName lusntag.vostan.org
|
||||||
|
Port 8080
|
||||||
|
PreferredAuthentications publickey
|
||||||
|
IdentityFile ~/.ssh/id_rsa_home
|
||||||
|
User vahagn
|
||||||
|
ProxyCommand=nc -X 5 -x localhost:1080 %h %p
|
||||||
|
|
||||||
|
Host yerevak
|
||||||
|
HostName yerevak.vostan.org
|
||||||
|
Port 24
|
||||||
|
PreferredAuthentications publickey
|
||||||
|
IdentityFile ~/.ssh/id_rsa_home
|
||||||
|
User vahagn
|
||||||
|
ProxyCommand=nc -X 5 -x localhost:1080 %h %p
|
||||||
|
|
||||||
|
|
||||||
|
Host hrat
|
||||||
|
HostName 192.168.0.4
|
||||||
|
PreferredAuthentications publickey
|
||||||
|
IdentityFile ~/.ssh/id_rsa_home
|
||||||
|
User vahagn
|
||||||
|
ProxyCommand=nc -X 5 -x localhost:1080 %h %p
|
||||||
|
|
||||||
|
|
||||||
|
Host *
|
||||||
|
AddKeysToAgent yes
|
||||||
|
IdentitiesOnly yes
|
||||||
|
StrictHostKeyChecking no
|
||||||
|
UserKnownHostsFile /dev/null
|
||||||
|
|
||||||
|
Host v5dev v5devgateway.bdns.bloomberg.com
|
||||||
|
ControlMaster auto
|
||||||
|
ControlPersist 8h
|
||||||
|
IdentityFile ~/.ssh/id_rsa.openssh
|
||||||
|
ControlPath /tmp/%r@%h-%p
|
||||||
|
Port 22
|
||||||
|
|
||||||
|
Host *.bloomberg.com !bbgithub.dev.bloomberg.com !v5prqsgateway.bdns.bloomberg.com
|
||||||
|
ControlPath /tmp/%r@%h-%p
|
||||||
|
ControlMaster auto
|
||||||
|
ControlPersist 24h
|
||||||
|
|
||||||
24
local/yerevak/.ssh/config
Normal file
24
local/yerevak/.ssh/config
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
# Note that value for 'User' must be 'git'.
|
||||||
|
|
||||||
|
Host lusntag
|
||||||
|
HostName lusntag.vostan.org
|
||||||
|
Port 8080
|
||||||
|
PreferredAuthentications publickey
|
||||||
|
IdentityFile ~/.ssh/id_rsa
|
||||||
|
User vahagn
|
||||||
|
|
||||||
|
Host yerevak
|
||||||
|
HostName yerevak.vostan.org
|
||||||
|
Port 24
|
||||||
|
PreferredAuthentications publickey
|
||||||
|
IdentityFile ~/.ssh/id_rsa
|
||||||
|
User vahagn
|
||||||
|
|
||||||
|
|
||||||
|
Host hrat
|
||||||
|
HostName 192.168.0.4
|
||||||
|
PreferredAuthentications publickey
|
||||||
|
IdentityFile ~/.ssh/id_rsa
|
||||||
|
User vahagn
|
||||||
|
ProxyCommand=ssh -W %h:%p lusntag
|
||||||
|
|
||||||
Reference in New Issue
Block a user