To all: I found out how to run SSH and I ran this: ssh -p PORT -i KEY user@host After verifying the new key, it gave me a remote command prompt! Note that the user's password was not needed, nor the public key file! So why can't I get sftp working in PHP using the same credentials? Any experts here? (I've run out of free time to reply interactively) David