I need to keep ssh'ing into many-different Linux boxes (Ubuntu mostly) and every time I miss my basic aliases. Is there a way to setup aliases etcwhile opening an interactive ssh a machinewithout tinkering with remote machines's .bashrc/.bash_profile?Following would just execute the alias commands in a non-interactive shell on remote machine and terminate the session (as expected):kashyap@Laptop$ ssh root@ec2-1-2-3-4.compute-6.amazonaws.com alias c=clear; alias p=pwd; alias l='ls -altr'I would love it if I could select a file from local machine to be executed as init script on remote, but willing to settle for less.E.g.ssh usr@remote --init-script=/local/my_init_script_for_ssh_sessions
Setting up aliases with interactive ssh session
shell;ssh;login;remote;profile