Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

l.e.s.m.

Thanks @eddo. Changing SCP by SFTP worked for me too.
Guest

Re: This is easy and absolute solution for this type of winscp error. Awesome

@kujon: This is easy and absolute solution for this type of WinSCP error. Awesome.
Nick2021

WCP: Error skipping startup message. Your shell is probably incompatible with the application:BASH

If you are using WinSCP, please uncheck the SSH > Authentication > Attempt authentication using Pageant for the login session by editing under Advanced.
Retry.
chh

Perfect, that did the trick for me.

@kujon: Perfect, that did the trick for me.
Guest

I got the error "error skipping startup message" due to this (as shown in log file):
ssh: Could not resolve hostname qacsun07.qac.my-it-solutions.net: Name or service not known
Guest

I received the same error. It was caused by expired password on the target server.
Guessed

Re:

@eddo: This worked like a champ. Thanks for the post with a solution.
hudiefa

Error skipping startup message. Your shell is probably incompatible with the application (BASH is re

Some Linux machines can't act as server (FirePower sensor) though, you can't use GUI SCP. Instead you can copy from the CLI.
kujon

Or you can simply login to Checkpoint GW via SSH and put this command in (in expert mode):
chsh -s /bin/bash admin

;)
Noura

Re: checkpoint winSCP

@magesh: Thanks, that works for my checkpoint! ;)
martin

Re: My problem was that SSH was selected

@MajorRedbeard: Where did you have "SSH" selected? You cannot switch between "SFTP" and "SSH" in WinSCP. Can you show us a screenshot?
MajorRedbeard

My problem was that SSH was selected

I got this error after importing sites into a new machine, and after failing to log in several times, I checked the settings. I saw it was set to SSH, rather than SFTP, as intended.

I switched that and it's working as expected now.
magesh

checkpoint winSCP

You probably in the clish mode that's why its not letting you download in the bash.
Login in to the GW under user management > users > unlock the screen from above
For example if you use admin account double click the admin there you can change the shell to /bin/bash

Now go to your WinSCP and download...!!

There we go..!!
Jack.H

@Guest3: Thank you! That's exactly the problem I had on Google cloud instance... just need to specify !requiretty in /etc/sudoders
eddo

I received this error when I used:
open scp://user@server -privatekey=C:\myprivatekey.pkk

I resolved in this way
open sftp://user@server -privatekey=C:\myprivatekey.pkk
Guest3

Error skipping startup message.

For:

Error skipping startup message. Your shell is probably incompatible with the application (BASH is recommended).

I found that our problem was the user was using SCP and sudo, and that sshd required a TTY in order to perform this action.
Guest

Re: Error skipping startup message.

My problem was that the user password on Linux machine expired (I have it set up to expire on 90 days) and the shell didn't start.
Dork

Error skipping startup message.

I get this error:

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 0.

I then noticed my user was an FTP user and did not have shell access. This took me a while to figure out and I am reporting this here for users in the future. I may still have issues because I have to wait until shell access is granted before I can test this again.