I've a quick challenge for all the shell scripters out there. I'm no good with shell scripting, and I'm sure you guys should be able to produce a quick and elegant solution to my problem...
My boss uses ssh sometimes to access a few servers from his mac. Not a very experienced terminal user, he gets a little lost with ssh on the terminal because of all the options.
Most of the time, he's accessing one of our servers, and just needs to pass the username, ip, and password to ssh.
We could do with a little script so that whenever we type #myssh we get two prompts:
Control can then pass to ssh for entering the password and all other commands.
How elegant can you make it?