On Sat, 21 Feb 2004, WipeOut wrote: > Jeff Vian wrote: > > > > > > > WipeOut wrote: > > > >> Quite simple really.. I usually need to map at least 3 ports to work > >> across the ssh link on each of the servers I am accessing.. So the > >> command line would end up being something like this.. > >> > >> ssh -Cg -L xx:<ip>:xx -L yy:<ip>:yy -L zz<ip>:zz <server name> > >> > >> This is a real PITA to remember or have to type out each time I want > >> to connect.. > > > > > > Easy enough to either create a script or an alias per server. Then > > the brain does not have to remember all that each time > > Well you learn something new every day.. I did not know about "alias" > for complex command lines.. and if it's a little too complicated for an alias (that is, it needs an argument or two), there's always shell functions. rday