Thursday, February 26, 2015

Tuesday, February 24, 2015

Change remote repo in git

git remote –v                             # this will show you they old url
git remote remove origin
git remote add origin ssh://
git push --set-upstream origin master

Tuesday, April 22, 2014

SSH escape squences

Hit Return and then tilde

[root@local ~]# ~?
Supported escape sequences:
 ~.   - terminate connection (and any multiplexed sessions)
 ~B   - send a BREAK to the remote system
 ~C   - open a command line
 ~R   - request rekey
 ~V/v - decrease/increase verbosity (LogLevel)
 ~^Z  - suspend ssh
 ~#   - list forwarded connections
 ~&   - background ssh (when waiting for connections to terminate)
 ~?   - this message
 ~~   - send the escape character by typing it twice
(Note that escapes are only recognized immediately after newline.)

Wednesday, February 12, 2014