SSH'ing between two computers through a router
Hi, I have a Linksys WRT54G router with 3 clients:
a FC3 laptop (wireless), a FC4 desktop (wireless), and a RH9 box
sitting next to the router and connected via Ethernet wire into the
router's built in switch.
When I SSH between the wireless laptop and desktop, the 'last login from'
message correctly displays the IP address of the connecting computer.
However when I SSH the wired RH9 box from my wireless computers, it always says that the last
login came from 192.168.2.1 (the router).
This causes a problem. I like to use ssh-keygen to generate public/private keys so I don't have to type passwords for SSH logins.
This would work if the computers were directly connected via crossover cable or something.
But because the computers are connecting through the router, I (this is my idea of a fix) have to
somehow generate a publickey for the router.
The router, by the way, is using alchemy firmware, so I can ssh into the router.
I tried generating a public key on the router, but that didn't work.
Any ideas of what I should do?