dimanche 6 octobre 2019

No access to .ssh/config with envoy

After reinstall Kubuntu I have problems with run envoy with ssh. I set 700 to config file, but got error anyway:

$ sudo chmod  700  /home/serge/.ssh/config
serge@athoe:/mnt/_work_sdb8/wwwroot/lar/hostels2$ envoy run Hostels2Deploy  --app_version=0.112 --run_migration=1   --run_migration_seed=1                                                                                                   
PHP Warning:  file_get_contents(/home/serge/.ssh/config): failed to open stream: Permission denied in /home/serge/.composer/vendor/laravel/envoy/src/SSHConfigFile.php on line 35                                                            

Warning: file_get_contents(/home/serge/.ssh/config): failed to open stream: Permission denied in /home/serge/.composer/vendor/laravel/envoy/src/SSHConfigFile.php on line 35                                                                 
[laravelserver]: ssh: Could not resolve hostname laravelserver: Name or service not known                                                                                                                                                    
This task did not complete successfully on one of your servers.   

How to fix it ?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire