vos icon indicating copy to clipboard operation
vos copied to clipboard

Error on servers with pure SFTP access

Open momolog opened this issue 11 years ago • 0 comments

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.

momolog avatar May 07 '13 22:05 momolog