E.g, each time I have start from my mac:
ssh email@example.com to a linux server server and
su oracle, and type my password. I wish to accelerate this routine by using some alias, which do the ssh login and
su user at the same time.
I know ssh command can do remote command line and quit. But that's not my requirement: I don't wish ssh login/execute/return, I want it to switch user and I start to work.
Any command line option could help on this? Thanks a lot.