Hi prikryl,
I'm not the one that posted the above message (Guest).
The error is this:
Error skipping startup message. Your shell is probably incompatible with the application (BASH is recommended).
Connection has been unexpectedly closed. Server sent command exit status 1.
But I have found the cause, and it's not the shell. It's that I haven't read the F-secure documentation and I thought that the server supported both SSH1 and SSH2 connections, but it only support SSH2, and I was trying to log in with SCP protocol. All works fine with SFTP protocol, but I don't understand why I can't execute commands and binaries, because if I log in with putty interface with SSH2 protocol I can execute commands and so on.
With plink there are problems, but not with the putty interface. I don't understand this, cause if I can log in normally with putty I also should be able lo log in with plink normally. The problem is that when I log in with plink, the prompt is like this:
?[4;5H
and every key pushed causes a carrige return and new line. Also if I specify the command in the plink parameters it gives me this error:
FATAL ERROR: Unexpected response to shell/command request: packet type 98
With the putty interface there are also one issue, and it's that in the console appears a line (like a grid but with no column lines) between every two rows.
I also specificated to use SSH2 with the -2 parameter but the same problem.
I know this is a putty issue and I should ask the putty developpers, but I have mailed them with some questions a month ago and they have ignored me. Sotty for bothering you.
I would like to know what shell do you recommend to use for windows with f-secure server (I think it's a shell problem because of the CR and prompt issue with plink).
An also another question, is there a way to let running the processes created by a client after it disconnects the server? It's because I have observed that f-secure server kills all processes launched by a client when it logs off.
Which is the way to execute commands with SSH2? With SSH1 and SCP you can execute them as the same way you execute the "scp" command, but with SSH2 and SFTP not, which is the way to do this?
Thanks