News for hackers. Stuff that matters.
Re:Shell startup scripts by ohkine on Sunday February 17, 2013 @12:53PM (#5236006)
In ~/.ssh/config there is a directive called LocalCommand that you can use to do an rsync (or anything else you want) just prior to making the connection. This way you can have it automatically update remote hosts with your shell scripts each time you connect.
Re:Shell startup scripts by laumars on Sunday February 17, 2013 @01:28PM (#5236118)
Now that's what I'm talking about!

And here's me thinking I'd have to manually write a simple wrapper to do this.

Thanks a million :)