SSH Connection: Permission denied


i’m trying to connect to a server via SSH. I used the “SSH Connection” Node and filled all entries. When using “test connection” the pop up tells me: permission denied. But with a “List Remote Files” Node i can see all the folders on the server. After less than 1 second i get the message: Connection lost and the KNIME Console tells me: Executed fail: session is down.

Do you know this problem? Do you have any ideas?

Hi @Muckelinho,

Does this mean that despite the message, you are able to execute the SSH Connection node as well as the List Remote Files node? Are there any warnings during execution? Can you please try again, then go to View -> Open KNIME Log, scroll to the bottom, and post the content related to this issue?


Hello @RolandBurger

I have the same problem as @Muckelinho and don’t know how to solve it.
My KNIME Log llok like this…

2018-12-11 10:01:17,781 : WARN : SwingWorker-pool-6-thread-3 : TestConnectionDialog$TestWorker : SSH Connection : 2:1 : Couldn’t connect
2018-12-11 10:01:17,782 : DEBUG : SwingWorker-pool-6-thread-3 : TestConnectionDialog$TestWorker : SSH Connection : 2:1 : Couldn’t connect
3: Permission denied
at com.jcraft.jsch.ChannelSftp.throwStatusError(
at org.knime.base.filehandling.remote.files.SFTPRemoteFile.getLsEntry(
at org.knime.base.filehandling.remote.files.SFTPRemoteFile.internalExists(
at org.knime.base.filehandling.remote.files.SFTPRemoteFile.exists(
at org.knime.base.filehandling.remote.connectioninformation.node.TestConnectionDialog$TestWorker.doInBackgroundWithContext(
at org.knime.base.filehandling.remote.connectioninformation.node.TestConnectionDialog$TestWorker.doInBackgroundWithContext(
at org.knime.core.util.SwingWorkerWithContext.doInBackground(
at javax.swing.SwingWorker$
at java.util.concurrent.ThreadPoolExecutor.runWorker(
at java.util.concurrent.ThreadPoolExecutor$

Any suggestion how to fix the problem?