Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Cannot initialize SFTP protocol. Is the host running a SFTP server?" WinSCP error when the server requires "two passwords"

When I try to SSH into my cluster, there are two stages. So I have to enter the password twice to go to my home directory using SSH in a Linux terminal or PuTTY.

But when I try to use WinSCP, I get these errors:

Trying SFTP:

Cannot initialize SFTP protocol. Is the host running a SFTP server?

Trying SCP:

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

How can I bypass this problem?

like image 760
gk1 Avatar asked Nov 23 '14 19:11

gk1


People also ask

Can WinSCP act as a SFTP server?

Server Requirements Using WinSCP, you can connect to an SSH (Secure Shell) server with SFTP ( SSH File Transfer Protocol) or SCP (Secure Copy Protocol) service, to an FTP (File Transfer Protocol) server, HTTP server with WebDAV service or store system with S3 protocol support.

What is OpenSSH SFTP server?

The OpenSSH includes demons and utilities like SFTP, an FTP replacement to securely copy files between computers, SCP, a substitute for RCP, and Deamon (sshd), the program for the SSH client. OpenSSH is the recommended path to take if you are configuring a dedicated SFTP server.


1 Answers

In WinSCP I just changed the File protocol option from "SFTP" to "SCP" and file transfer is started working now.

enter image description here

like image 102
IRSHAD Avatar answered Sep 26 '22 03:09

IRSHAD