Can I forward env variables over ssh?

You can, but it requires changing the server configuration. Read the entries for AcceptEnv in sshd_config(5) and SendEnv in ssh_config(5). update: You can also pass them on the command line: ssh foo@host “FOO=foo BAR=bar doz” Regarding security, note than anybody with access to the remote machine will be able to see the environment variables passed … Read more

How to use Sublime over SSH

There are three ways: Use SFTP plugin (commercial) http://wbond.net/sublime_packages/sftp – I personally recommend this, as after settings public SSH keys with passphrase it is safe, easy and worth every penny http://opensourcehacker.com/2012/10/24/ssh-key-and-passwordless-login-basics-for-developers/ Mount the remote as local file system using osxfuse and sshfs as mentioned in the comments. This might be little difficult, depending on OSX … Read more

Adding a public key to ~/.ssh/authorized_keys does not log me in automatically

You need to verify the permissions of the authorized_keys file and the folder / parent folders in which it is located. chmod 700 ~/.ssh chmod 600 ~/.ssh/authorized_keys For more information see this page. You may also need to change/verify the permissions of your home directory to remove write access for the group and others. chmod … Read more

How to open remote files in sublime text 3

On server Install rsub: wget -O /usr/local/bin/rsub \https://raw.github.com/aurora/rmate/master/rmate chmod a+x /usr/local/bin/rsub On local Install rsub Sublime3 package: On Sublime Text 3, open Package Manager (Ctrl-Shift-P on Linux/Win, Cmd-Shift-P on Mac, Install Package), and search for rsub and install it Open command line and connect to remote server: ssh -R 52698:localhost:52698 server_user@server_address after connect to server … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)