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