LaravelCollective / docs

Documentation for LaravelCollective Packages
158 stars 103 forks source link

SSH Connection issue - Class SSH2 not found #55

Open kahchoonmcash opened 5 years ago

kahchoonmcash commented 5 years ago

Hi, I'm just testing on the SSH connection follow by the step inside, but when I reach the usage and try to run SSH2::into('staging')->put($localPath.$filename, $remotePath);, it return me the error of "Class 'App\Console\Commands\SSH2' not found". Not sure which step I did wrong, but i follow exactly the step given inside the documentation.

ryanhalley commented 5 years ago

Use SSH, not SSH2. If in PhpStorm you get 'Class not defined', like I did, do this: "File | Invalidate Caches..." and restart IDE. Also, this is the docs github - issues for the package are here: https://github.com/LaravelCollective/remote/issues

sineld commented 4 years ago

I have made a PR for this issue.