Linux

How To Run An SSH Session With Full Login Shell

Posted by Weston Ganger on February 07, 2016

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


ssh 192.168.1.77 -t 'exec bash'

I created an alias for my ssh


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


Related External Links:


Posted in Linux and Tagged with ssh 


Want me to help develop your next project or application?

Contact Us

Specializing in Ruby-on-Rails, Javascript, Multi-Platform Electron Desktop Apps and Hybrid Cordova Mobile Apps.

Recommended Posts