SSH to one address, different ports, different hosts

2007-03-11 Thread Ben Scott
Hello, world. So anyway, I finally got around to installing the OpenWRT firmware on my LinkSys WRT54G box today (a remarkably easy and painless process, BTW). I set-up SSH on said box to listen on a non-standard port and opened the firewall to that. This lets me SSH directly into the router

Re: SSH to one address, different ports, different hosts

2007-03-11 Thread Bruce Dawson
Ben Scott wrote: Hello, world. So anyway, I finally got around to installing the OpenWRT firmware on my LinkSys WRT54G box today (a remarkably easy and painless process, BTW). I set-up SSH on said box to listen on a non-standard port and opened the firewall to that. This lets me SSH directly

Re: SSH to one address, different ports, different hosts

2007-03-11 Thread Ben Scott
On 3/11/07, Bruce Dawson [EMAIL PROTECTED] wrote: So I now have two completely different boxes (LinkSys WRT54G, and my Dell PC) appearing to the world on a single IP address. The known_hosts file can have a comma-separated list of hosts in the first field. Hmmm. That just lets me have

Re: SSH to one address, different ports, different hosts

2007-03-11 Thread David A. Long
On Sun, 2007-03-11 at 11:59 -0400, Ben Scott wrote: Hello, world. So anyway, I finally got around to installing the OpenWRT firmware on my LinkSys WRT54G box today (a remarkably easy and painless process, BTW). I agree, that was much easier than I feared it would be. Just did it here.

Re: SSH to one address, different ports, different hosts

2007-03-11 Thread Chris Linstid
On Mar 11, 2007, at 9:59 AM, Ben Scott wrote: For now, I've written two stanzas in my $HOME/.ssh/config file, one for each box, and used the UserKnownHosts directive to assign different known_hosts files to each. So ssh homegw uses $HOME/.ssh/homegw.known_hosts and ssh blackfire uses

Re: SSH to one address, different ports, different hosts

2007-03-11 Thread Dave Johnson
Ben Scott writes: Anyone else have thoughts or ideas to offer? ssh client doesn't mind if there is more than one entry for a given host in the known_hosts file. Because of this you can simply manually edit the known_hosts file to have multiple entries (one for each actual host) all with the