Skip to content

Error on servers with pure SFTP access #1

@momolog

Description

@momolog

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions