Run An SSH Session With Full Login Shell

Posted By Weston Ganger

I dont like having to call exec bash or whatever after ssh'ing into my machine just to get all my aliases and settings loaded.

Just add the -t option to your ssh session

alias laptop-ssh="ssh 192.168.1.77 -t 'exec bash'"

Related External Links:

Article Topic:Software Development - Linux

Date:February 07, 2016