jsch
jsch copied to clipboard
setPortForwardingL with public key authentication
with the api setPortForwardingL, we could connect to destination server in the path via the bastion host (client->bastion host->destination server) with password,
but if the connection between bastion host->destination server is authenciated by public key, how could i do ?