Hi
On the remote server, we have a menu enabled in our bashrc which uses a prompt statement variable (which performs some echo). If this is enabled filezilla connects fine but we don't get any further and it hangs. If I disable the menu, it connects fine. Is there a way to bypass this. Not sure it's a filezilla or ssh issue truth be told.
Trace: Access granted
Trace: Opening main session channel
Trace: Opened main channel
Trace: Started a shell/command
Status: Connected to localhost
Error: Connection timed out after 20 seconds of inactivity
Trace: CControlSocket::DoClose(2050)
This is as far as it gets
Connection fine but Prompt Statement blocks directory listing
Moderator: Project members
-
- 500 Command not understood
- Posts: 2
- Joined: 2022-09-25 08:22
- First name: Emmon
- Last name: Simbo
Re: Connection fine but Prompt Statement blocks directory listing
FileZilla only supports the SFTP subsystem, not the whole SSH2 protocol. That means it also does not support the shell, which is why your connection hangs, as it expects an interactive shell session.
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org
Re: Connection fine but Prompt Statement blocks directory listing
Two options: Use .bash_profile so the custom prompts are only used in login shells, or check in your script whether it's an interactive session.
-
- 500 Command not understood
- Posts: 2
- Joined: 2022-09-25 08:22
- First name: Emmon
- Last name: Simbo
Re: Connection fine but Prompt Statement blocks directory listing
Thanks for clearing this up.