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