Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SFTP connection issue #10

Closed
flayks opened this issue Feb 17, 2014 · 15 comments
Closed

SFTP connection issue #10

flayks opened this issue Feb 17, 2014 · 15 comments

Comments

@flayks
Copy link

flayks commented Feb 17, 2014

Hello there,
I tested Fileshuttle on Mavericks (10.9.1) and I have a issue to connect with my SFTP account (port 22). I have absolutely no log on the server neither on my Mac.
I also tested the github repo code with XCode but same problem.
Do you have an idea why?

@anthonysomerset
Copy link
Member

can you confirm that you can login via a standard SFTP client with the same credentials

if you open Console.app and try uploading again, you might get some useful error output

@flayks
Copy link
Author

flayks commented Feb 17, 2014

Yup, with Forklift (my SFTP client) but also with the "sftp" command line, it works.
I tried to get some log on Console.app but I have no error… don't know why.

http://dl.flayks.com/fileshuttle-sftp.mp4

(using fileshuttle-2.x-dev.zip)

@flayks
Copy link
Author

flayks commented Mar 19, 2014

Did you saw something about this problem? (maybe a bug?)

@techdubb
Copy link

techdubb commented Jun 8, 2014

I also can't connect to my server using sftp. Filezilla and sftp work fine.

Thoughts?

@frdmn
Copy link

frdmn commented Jun 15, 2014

@flayks @h0ke Can you check /var/log/auth.log on your server for any authentication errors?

@techdubb
Copy link

No errors, there. but I did see the three Accepted passwords in a row for my sftp user.

@flayks
Copy link
Author

flayks commented Jun 16, 2014

No error too :/

@int2001
Copy link

int2001 commented Oct 12, 2014

Fileshuttle uses SCP - NOT sftp ! That's a difference and causes problems on ServerSide, if configured as sftp.

SFTP != SCP

@MoOx
Copy link

MoOx commented Oct 31, 2014

@int2001 what do you mean ? you means that it can't work with sftp connection ?
Getting error too, but no logs anywhere.

@int2001
Copy link

int2001 commented Oct 31, 2014

@MoOx SFTP is different to SCP - both are based upon SSH. But they're different. FileShuttle only supports SCP, not SFTP. So there are two ways to solve this issue:

Way 1.) Fixing the Documentation and Caption inside the App from SFTP to SCP.
Way 2.) Implement REAL SFTP into the Application.

@MoOx
Copy link

MoOx commented Oct 31, 2014

@anthonysomerset are you open to such improvements ? Not sure what it the state of the app right now.

@julienma
Copy link

hey, weighing in on that topic, it's far easier to set up a proper SFTP server than SCP.
Unfortunately I don't have any knowledge in osx app, but let me know how I can help implementing real SFTP.
Would anyone like to work on that, Cc @anthonysomerset?

@julienma
Copy link

I quickly had a look at source, and as said, I know nothing about obj-c.
However I found this in https://github.com/FileShuttle/fileshuttle/blob/master/MVSFTPFileUpload.m#L185

scpBinary = @"/usr/bin/scp";

As scp and sftp both have the same syntax for uploading files, do you think SFTP would work if we changed it with:

scpBinary = @"/usr/bin/sftp";

?

@julienma
Copy link

Bah, forget my previous comment, sftp cannot upload without logging into some kind of interactive shell.

@anthonysomerset
Copy link
Member

closing this in favour of resolving #18

Going to Move current SFTP logic to SCP and create a new proper SFTP logic based on an SSH2 lib (probably NMSSH - although i haven't ruled out the Idea of using ConnectionKit as would also kill the AWS S3 stone in #13

all this is going in to the v3.x branch at this time - i have yet to release a dev build at this time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants