Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Re: Rookie needs help: Two shell sessions in one |
|---|---|
| Date: | Wed, 30 Jan 2008 21:20:23 -0600 |
Use port forwarding on the first connection. For example... ssh -D 1088 -p 443 -L 8888:ipofremote:porttoforwardto username@remoteip After that, making a connection to 127.0.0.1:8888 goes to the remote ip and port specified with the -L. On Wed, 2008-01-30 at 07:25 -0800, daa imissdaa wrote:
Hi everyone, I am new here and I am very new to be
working with SSH
Problem:
I need to establish a session within a session.
The first connection goes to a remote box. The second
connection goes to that same box but within the
previously established shell and from there to another
machine in another location, I am tunneling SOCKS5
programs through the second session.
How I did it before:
Until now, I have used Putty twice (on windows XP) to
do that but since I switched over to Linux Ubuntu, I
am using the pure command line.
So far, I have been able to establish the first
session by doing:
ssh -D 1088 -p 443 username@remoteboxIP
Previously on XP, I would now open the second putty
session configured as follows:
Under Session: IP_of_second_remote_box |
Port 443 | SSH
Under: Connection--Proxy: SOCKS 5 | Proxy Hostname:
127.0.0.1 | Port 8888
Can you point out what the equivalent command line
input would have to be ?
Thanks for the help :))
PS: sorry if this question is too trivial
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now.
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Could not load host key: /usr/local/etc/ssh_host_key, Matias Franceschini |
|---|---|
| Next by Date: | Expired password unchangeable with SFTP clients, Russell Millard Oliver |
| Previous by Thread: | Rookie needs help: Two shell sessions in one, daa imissdaa |
| Next by Thread: | Could not load host key: /usr/local/etc/ssh_host_key, Matias Franceschini |
| Indexes: | [Date] [Thread] [Top] [All Lists] |