SSH might prove a convenient option. Enabling SSH Upgrade Access
If you’re using a Debian distribution (openssh-server is probably already installed) it might be as quick as;
apt-get install openssh-server libssh2-php
service apache2 restart
..and the ssh2 option should appear under the Connection Information dialog box
RHEL based distros – and others – may take a bit more work, but it’s not too much more work to get the ssh2 extension working. You may need to do a little searching on the best method for your OS.
Yeah, I’m using Debian. Thanks for the way, I’ll give it a shot asap
Yes, I got SSH2 option, but still prompted for hostname, user and password; also I got 2 new fields, public key and private key. Have no idea what to do with these 🙁
try;
Hostname: localhost
username: The linux account user name that owns your wordpress files
password: linux account password for that user.
You can use either username and password, or authentication by key pairs. For localhost development the linux account username and password usually works fine.
Example: If I have a local server with a normal user account named “frank” whose password is “dentalflosstycoon”, in the dialog I would use;
Hostname: localhost
FTP/SSH Username: frank
FTP/SSH Password: dentalflosstycoon