scp dev username@yoursite.dev:~/bin/dev
chmod +x ~/bin/dev
#####Or create alias
run cmd
alias mycdev='
and add to
/bin/dev'/.bashrc
Auto connect config
vi ~/.ssh/config
Host yoursite.dev Hostname 101.0.1.99 RemoteForward 52698 127.0.0.1:52698
Manual connect
ssh -R 52698:localhost:52698 username@yoursite.dev
####RSub plugin and st script
- install Sublime Text2/3 rsub package
- add st script to remote server
scp st username@yoursite.dev:~/bin/st
chmod +x ~/bin/st
#####Or create alias
run cmd
alias myvim='
and add to
/bin/st'/.bashrc