Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted March 17, 20187 yr Hello, I like the "auto upgrade system" but I would suggest to support authentification via public/private key (ssh2_auth_pubkey_file) for future. Currently exist only the option with password (ssh2_auth_password). Scaleway offer access via private key, and I prefer use it instead configure a ftp... there is a article that support my preference: https://www.sitepoint.com/using-ssh-and-sftp-with-php/ Quote Some administrators prefer using public and private keys to authenticate logins. If the service is configured and you want to connect in this way, you would use the following instead: <?php $conn = ssh2_connect('example.com', 22); ssh2_auth_pubkey_file( $conn, 'username', '/home/username/.ssh/id_rsa.pub', '/home/username/.ssh/id_rsa' ); Edited March 17, 20187 yr by BomAle
Archived
This topic is now archived and is closed to further replies.