scala-ssh
scala-ssh copied to clipboard
Remote shell access via SSH for your Scala applications
https://github.com/mwiede/jsch
Is there any way to suppress banner on login? Something like `-o LogLevel=error` or `-q` option for OpenSSH Client. I'm trying to parse command output from some remote hosts and...
I ran into some issues with the SFTP client (getting `Error: SFTP client failed` despite successful SFTP interaction), and wanted to validate this against a reference implementation - but only...
[info] SecureCopyTest: [info] SecureCopyTest *** ABORTED *** [info] java.lang.NoSuchMethodError: net.schmizz.sshj.xfer.LoggingTransferListener: method ()V not found [info] at com.decodified.scalassh.ScpTransferable.defaultListener(ScpTransferable.scala:52) [info] at com.decodified.scalassh.ScpTransferable.upload$default$3(ScpTransferable.scala:46) [info] at net.uptel.sim.scp.services.ScpService.$anonfun$uploadFile$1(ScpService.scala:34) [info] at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18) [info] at cats.effect.internals.IORunLoop$.step(IORunLoop.scala:185) [info]...
I've got two virtually identical scripts that I'm running on a remote server, both of which succeed and complete on the remote server, but one of which hangs (that is,...
This PR changes how commands are logged and its completely opt-in, defaulting to the normal behaviour promiscuous logging. It also adds the actual exception message to the log for easier...
i need to log in to one ssh, and from it i need to log to another. how do i pass the username and password for the seond login? when...
Default key locations specified in SshLogin.scala are ~/.ssh/id_rsa, ~/.ssh/id_dsa but the tilde is a shell specific expansion and not applied, resulting in the following exception when using the default key...
so the regular `test` command doesn't run them and is properly green.