Category Archives: Tools

Change Mac Address on MacBook Air/Pro (Spoofing)

I recently had an issue changing mac address on my MacBook Air. Here’s how to change mac address to a random one keeping first three digits (otherwise it won’t work). tl;dr: $ networksetup -getmacaddress en0 | awk ‘//{“openssl rand -hex 3” | getline mac; sub(“(:..){3}$”, mac, $3); print $3}’ | sed ‘s/://g; s/\(..\)/:\1/g; s/^://’ | […]



Connect to Server via SSH with Git

Given: an Ubuntu server with central Git repository and connection via SSH and an Ubuntu client with local Git repository. Deposit user’s SSH private key id_rsa in ~/.ssh (aka /home/user/.ssh) chmod 0600 ~/.ssh/id_rsa to prevent other users reading user’s private key If you also want to use Git with root user: cp /home/user/.ssh/id_rsa /root/.ssh/ Connect […]


Enable Root Access in WinSCP

To enable root access to some server do following steps on this server: # nano /etc/ssh/sshd_config Uncomment line permitRootLogin without-password and save file # service ssh restart Eventually set new password for root user: # passwd root


Connect to svn+ssh with TortoiseSVN

TortoiseSVN is supporting SSH authentication via Putty’s Pageant. Thus: Start Pageant Add key (.ppk file, e. g. generated from OpenSSH key) (Minimize Pageant) Start TortoiseSVN, e. g. Repo-browser Type in URL, e. g. svn+ssh://user@server/path/to/svn. Important: set user in URL (user@) Connection should work