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

Error on servers with pure SFTP access #1

Open
momolog opened this issue May 7, 2013 · 0 comments
Open

Error on servers with pure SFTP access #1

momolog opened this issue May 7, 2013 · 0 comments

Comments

@momolog
Copy link

momolog commented May 7, 2013

There are servers that allow SFTP only but not SSH shell access, e.g. my web server at my hosting provider df.eu (domainfactory).

Under these circumstances,
https://github.com/alexeypetrushin/vos/blob/master/lib/vos/drivers/ssh.rb#L107
will fail and
https://github.com/alexeypetrushin/vos/blob/master/lib/vos/drivers/ssh.rb#L109
raises an uncaught error.

This behaviour makes it impossible to use the driver for servers that are set up like this.
It would be better to let home return '' then instead of raising the error.

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

1 participant