[Gllug] Reversing an SSH connection

Daniel P. Berrange dan at berrange.com
Thu Oct 27 14:48:13 UTC 2005


On Thu, Oct 27, 2005 at 03:44:11PM +0100, Russell Howe wrote:
> On Tue, Oct 25, 2005 at 11:02:48AM +0100, Richard Jones wrote:
> >   # On outsidehost, connect back to insidehost using:
> >   outsidehost$ ssh -p 8022 localhost
> 
> ssh will throw a hissy fit here if you've ever previously ssh'ed to
> localhost, as the keys are tied to hostname, not hostname+port.

IIRC, you can just edit $HOME/.ssh/config and add

  Host localhost
    CheckHostIP no

Regards,
Dan.
-- 
|=-            GPG key: http://www.berrange.com/~dan/gpgkey.txt       -=|
|=-       Perl modules: http://search.cpan.org/~danberr/              -=|
|=-           Projects: http://freshmeat.net/~danielpb/               -=|
|=-   berrange at redhat.com  -  Daniel Berrange  -  dan at berrange.com    -=|
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: Digital signature
URL: <http://mailman.lug.org.uk/pipermail/gllug/attachments/20051027/596d7808/attachment.pgp>
-------------- next part --------------
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug


More information about the GLLUG mailing list