Issue with thrussh

Hello everyone,
I’ve next problem with ssh keys;

  1. key generated by : ssh-keygen -o -a 100 -t ed25519 -f ./id_ed25519
    can not be loaded by :
    key: Arc::new(thrussh_keys::load_secret_key(privatekeypath, Some(b"")).unwrap());
    with error ``Result::unwrap() on an Err value: CouldNotReadKey'
  2. if I’m using simple rsa key then ssh server reject me :
    userauth_pubkey: unsupported public key algorithm: rsa-sha2-256 [preauth]

Checked this on Imac and Debian linux with the same result
I’m sure that I’ve missed something and issue is easy to be resolved

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.