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

Why does an SSH remote command get fewer environment variables then when run manually? [closed]

There are different types of shells. The SSH command execution shell is a non-interactive shell, whereas your normal shell is either a login shell or an interactive shell. Description follows, from man bash: A login shell is one whose first character of argument zero is a -, or one started with the –login option. An … Read more

Multiple GitHub Accounts & SSH Config

Andy Lester’s response is accurate but I found an important extra step I needed to make to get this to work. In trying to get two profiles set up, one for personal and one for work, my ~/.ssh/config was roughly as follows: Host me.github.com HostName github.com PreferredAuthentications publickey IdentityFile ~/.ssh/me_rsa Host work.github.com HostName github.com PreferredAuthentications … Read more

Starting ssh-agent on Windows 10 fails: “unable to start ssh-agent service, error :1058”

Yeah, as others have suggested, this error seems to mean that ssh-agent is installed but its service (on windows) hasn’t been started. You can check this by running in Windows PowerShell: > Get-Service ssh-agent And then check the output of status is not running. Status Name DisplayName —— —- ———– Stopped ssh-agent OpenSSH Authentication Agent … Read more

Copying files using rsync from remote server to local machine

From your local machine: rsync -chavzP –stats user@remote.host:/path/to/copy /path/to/local/storage From your local machine with a non standard ssh port: rsync -chavzP -e “ssh -p $portNumber” user@remote.host:/path/to/copy /local/path Or from the remote host, assuming you really want to work this way and your local machine is listening on SSH: rsync -chavzP –stats /path/to/copy user@host.remoted.from:/path/to/local/storage See man … Read more

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