Shell return "PuTTYPuTTYPuTTY..."

composer-php, laravel, linux, putty, ssh

Solution

The putty FAQ describes this behavior. The command that you are running is issuing some non-printing characters, specifically Ctrl-E, which causes Putty to respond with a string that identifies the terminal.

Problem

After "composer global update" command I have found problem when using laravel bash commands. For example after launch "php artisan migrate:refresh --seed --force" (that have worked well) automatically I found this text in the shell: "PuTTYPuTTYPuTTYPuTTYPuTTY..."

Original source