Last active
August 29, 2015 14:12
-
-
Save svperfecta/f01b7794e755e9a24e3a to your computer and use it in GitHub Desktop.
Terminal Stuff
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Automatically create or reattach to an iTerm session | |
tmux attach -t base || tmux new -s base | |
# SSH With no profile | |
ssh -T -i ~/.ssh/somekey user@server -t "bash --noprofile" | |
# Rsync using an identify file | |
rsync -avz --partial --progress --rsh="ssh -i $HOME/.ssh/somekey.pem" ~/somefile [email protected]:~/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment