This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Debugging remotely via ssh login
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: polomora at gmail dot com, gdb at sources dot redhat dot com
- Date: Fri, 22 Dec 2006 12:46:09 +0200
- Subject: Re: Debugging remotely via ssh login
- References: <8020020.post@talk.nabble.com> <jer6usp6st.fsf@sykes.suse.de>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> From: Andreas Schwab <schwab@suse.de>
> Cc: gdb@sources.redhat.com
> Date: Fri, 22 Dec 2006 11:24:18 +0100
>
> ppmoore <polomora@gmail.com> writes:
>
> > I was reading in the manual about remote debugging, but the scenarios
> > described included debugging via a serial comm line or via a tcp port on the
> > remote machine. Is it possible to debug where the only access is remote
> > logon using ssh?
>
> You can forward a port via the ssh connection to the remote host, and then
> use this port for the debugging session.
If someone describes this scenario in enough detail (a bit more than
the above single sentence), I'd more than happy to add it to the
manual.
TIA