2
votes
2answers
51 views

What's ssh port forwarding and what's the difference between ssh local and remote port forwarding [duplicate]

I feel confused about ssh port forwarding and the difference between ssh local and remote port forwarding. Could you please explain them in detail and with examples? Thanks!
0
votes
0answers
32 views

Shell script use ssh forwarding to send a file to a second system

I have ssh forwarding enabled and ssh to server A. On server A I want to run a script as root and take advantage of the ssh key being forwarded for USER to send a file to system B. I'm getting a ...
1
vote
0answers
86 views

Reverse ssh-agent forwarding and unlocking remote keys with your local keys

So the following two things should both be possible to do with ssh the question is just how difficult they would be and I'm hoping someone can give me an easy answer. 1) Suppose I have several ...
3
votes
1answer
526 views

TCP forwarding over SSH using non-root account

I've setup TCP forwarding over SSH using the following command: ssh -N -L 1234:10.0.2.2:1234 root@10.0.2.1 This works no problem. So I decided to create a non-root account user1 on 10.0.2.1 to do ...