Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If I issue a command to set up a reverse shell:

grebwerd@bt:~$ ssh goldberd@whatever -R 10000:localhost:22.

I was wondering, when I issue this command, it connects me to grebwerd@whatever, what type of connection is being made between the two?

Is it a secure, encrypted connection?

  1. grebwerd@bt:~$ ssh grebwerd@whatever -R 10000:localhost:22

    (what type of connect exists between grebwerd@bt and grebwerd@whatever, between these two commands)

  2. grebwerd@whatever:~$ ssh grebwerd@localhost -p 10000

share|improve this question

migrated from Oct 17 '12 at 18:41

This question came from our site for professional and enthusiast programmers.

up vote 1 down vote accepted

Traffic tunneled over ssh is sent within the encrypted ssh session. Your second ssh command sets up an encrypted channel that is nested within another encrypted channel.

share|improve this answer
Awesome, thanks for your help! – grebwerd Oct 18 '12 at 15:33

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .