Re: PuTTY 0.54 rpms (http://www.chiark.greenend.org.uk/~sgtatham/putty/)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Robert P. J. Day wrote:

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




Yup, Just Googled it and "shell functions" also look very usefull.. Sort of a basic form of stored procedure.. :)

I have to say the Linux shell (specifically bash which I am getting to know fairly well in terms of commands and scrtipting) is very good.. My perl skills are rubbish but so far I have been able to do quite a lot with stratight forward bash scripts..

Later..




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux