Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PublicKeyLogin can't work #25

Closed
shijinkui opened this issue Apr 14, 2015 · 0 comments
Closed

PublicKeyLogin can't work #25

shijinkui opened this issue Apr 14, 2015 · 0 comments

Comments

@shijinkui
Copy link


    val sshLogin = PublicKeyLogin("sjk")
    val conf = new HostConfig(sshLogin, "127.0.0.1")
    val client = new SshClient(conf)

    sshClientToRichClient(client).fileTransfer(f => {
      println("***************************************")
      f.upload(srcFile, dstFile)
    })

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant