Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

migrated from stackoverflow.com Oct 17 '12 at 18:41

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

1 Answer

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.