protected function removeSshKey(SshPublicKey $key) { $this->sendRequest('delete', 'account/keys/' . $key->getFingerprint()); }
public function testPublicKeyComment() { $key = SshPublicKey::fromFile("{$this->keysDir}/id_nopass_rsa.pub"); $this->assertEquals('*****@*****.**', $key->getComment()); }