SFTP access and RSA key with WordPress

How can we update WordPress, a plugin or setup a new one when we are using a RSA key for our server and SFTP.

Well the most simple solution is to modify wp-conf.php and replace :

/** define('FS_METHOD', 'direct'); */


define('FS_METHOD', 'direct');

It will skip SSH for WordPress.