// compute path to public key
FileSystemItem privKey =
FileSystemItem.createFile(txtSshKeyPath_.getText());
FileSystemItem keyDir = privKey.getParentPath();
final String keyPath = keyDir.completePath(privKey.getStem() + ".pub");
server_.gitSshPublicKey(keyPath,
new ServerRequestCallback<String> () {
@Override