Post

SSH tunnel to Samba server via hron

SSH tunnel to Samba server via hron

How to ‘‘SSH’’ to river

1
2
3
4
5
6
7
8
9
10
eval `ssh-agent`
# add SSH key to keering
ssh-add ~/.ssh/hron

ssh -A -i ~/.ssh/hron  \
tothj@hron.fei.tuke.sk  \
-t ssh jantoth@147.232.47.151

@ copy from samba to localhost :) over jumphost
scp -A -i ~/.ssh/hron -o 'ProxyJump tothj@hron.fei.tuke.sk'  jantoth@147.232.47.151:/tmp/samba.tgz .
This post is licensed under CC BY 4.0 by the author.