On Tue, May 27, 2008 at 07:51:58PM +1000, Chris Henderson wrote:
> I ssh to a lot of servers and every time I have to do C-a A to rename
> the screen session to the hostname I ssh to. Is there anyway screen
> can automatically change the name to the host I am connected to?
[...]

ssh() { screen -X title "[EMAIL PROTECTED]"; command ssh "$@"; }

-- 
Stéphane


_______________________________________________
screen-users mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/screen-users

Reply via email to