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

How to ssh from within a bash script?

If you want the password prompt to go away then use key based authentication (described here). To run commands remotely over ssh you have to give them as an argument to ssh, like the following: root@host:~ # ssh root@www ‘ps -ef | grep apache | grep -v grep | wc -l’

Specify an SSH key for git push for a given domain

Even if the user and host are the same, they can still be distinguished in ~/.ssh/config. For example, if your configuration looks like this: Then you just use gitolite-as-alice and gitolite-as-bob instead of the hostname in your URL: Note You want to include the option IdentitiesOnly yes to prevent the use of default ids. Otherwise, … Read more

SSH to Vagrant box in Windows?

I use PuTTY to connect to my Vagrant boxes on Windows7. Make sure you convert the %USERPROFILE%\.vagrant.d\insecure_private_key to .ppk using PuTTYGen use the .ppk key in your PuTTY session – configured in Connection > SSH > Auth > Private key file use host 127.0.0.1 use port 2222 instead of 22 you can set the default … Read more

How to read iPhone files without jailbreaking?

I’d like to access files in an iPhone, such as using remotely connecting via ssh and telnet. But it appears that the iPhone’s ssh or telnet are not supported. I can ping it, but cannot use telnet or ssh. I read through some internet article, it appears that using jailbreak or Cydia it is doable, … Read more

Copying files from server to local computer using SSH

It depends on what your local OS is. If your local OS is Unix-like, then try: If your local OS is Windows ,then you should use pscp.exe utility. For example, below command will download file.txt from remote to D: disk of local machine. It seems your Local OS is Unix, so try the former one. For those who don’t … Read more

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