Yerevak .ssh config.
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
|
||||
|
||||
|
||||
|
||||
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