Enabled support by default for all supported formats by libssh
Fixes #108
This commit is contained in:
parent
776a76332b
commit
905f7805bf
1 changed files with 1 additions and 0 deletions
|
@ -38,6 +38,7 @@ class GRemoteSession @Inject constructor(
|
|||
val session = processSession.get()
|
||||
session.setOptions(LibSshOptions.SSH_OPTIONS_HOST, uri.host)
|
||||
session.setOptions(LibSshOptions.SSH_OPTIONS_USER, uri.user)
|
||||
session.setOptions(LibSshOptions.SSH_OPTIONS_PUBLICKEY_ACCEPTED_TYPES, "ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-rsa,rsa-sha2-512,rsa-sha2-256,ssh-dss")
|
||||
session.loadOptionsFromConfig()
|
||||
|
||||
session.connect()
|
||||
|
|
Loading…
Reference in a new issue