No handlers could be found for logger "paramiko.transport"
Fatal error: Error reading SSH protocol banner
Underlying exception:
Error reading SSH protocol banner
--
You received this message because you are subscribed to the Google Groups "Obey the testing goat! Test-Driven Web Development with Python book" group.
To unsubscribe from this group and stop receiving emails from it, send an email to obey-the-testing-go...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
fab deploy -H ol...@superlists-stage.tddgoat.net
fab deploy -H ol...@superlists-stage.tddgoat.net -i ~/Downloads/amazon/ololo.pem // I know this is not the best folder to store a key :)
Both of them ended up with
[superlists-stage.tddgoat.net] Executing task 'deploy'
[superlists-stage.tddgoat.net] run: mkdir -p /home/ololo/sites/superlists-stage.tddgoat.net/database
[superlists-stage.tddgoat.net] Login password for 'ololo':
// asks for password 10 times and then
No handlers could be found for logger "paramiko.transport"
Fatal error: Error reading SSH protocol banner
Underlying exception:
Error reading SSH protocol banner
Aborting.
I'm sure I use correct password and don't specify the port anywhere (during the instance launch I only explicitly opened port 80 for HTTP).
Anyway, I have working staging environment and can proceed with your great book! %)
If that doesn't work, the specific error you're looking at, "error reading ssh protocol banner", sounds more like you're ending up on the wrong port somehow... You're not specifying a port anywhere are you? What command are you using to run fab? Can you share your code? (not your password obviously, but the code?)- try using public/private key authentication instead of passwords? I put a link to a linode article about it near the beginning of chapter 8.fab deploy host=user...@sitename.com- are you specifying the right username as well as the right password when you're telling fabric to connect? You can do it in the host= section of the fab command line, with the @ syntax:Hi Natalia,Two suggestions occur to me:
On 10 December 2015 at 00:27, Natalia Zolotukhina <nvzolo...@gmail.com> wrote:
Hi guys,did anyone face this issue when running Fabric?I use amazon EC2 instance with elastic IP and opened SSH port (manual SSH works fine), however running fabric on my local machine ends up with the following error:No handlers could be found for logger "paramiko.transport"
Fatal error: Error reading SSH protocol banner
Underlying exception:
Error reading SSH protocol banner
Aborting.At the beginning of execution fabric keeps asking me for the password of my server's user.I tried:- setting the password into env.password in the fab file;- changed wi-fi networkNone of the above helped.I would appreciate any thoughts regarding this issue.
--
You received this message because you are subscribed to the Google Groups "Obey the testing goat! Test-Driven Web Development with Python book" group.
To unsubscribe from this group and stop receiving emails from it, send an email to obey-the-testing-goat-book+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to obey-the-testing-go...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--------------------------------
Harry J.W. Percival
------------------------------
Twitter: @hjwp
Mobile: +44 (0) 78877 02511
Skype: harry.percival
--
You received this message because you are subscribed to the Google Groups "Obey the testing goat! Test-Driven Web Development with Python book" group.
To unsubscribe from this group and stop receiving emails from it, send an email to obey-the-testing-go...@googlegroups.com.
3. switch to that user using ..
--
You received this message because you are subscribed to the Google Groups "Obey the testing goat! Test-Driven Web Development with Python book" group.
To unsubscribe from this group and stop receiving emails from it, send an email to obey-the-testing-go...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to obey-the-testing-goat-book+unsub...@googlegroups.com.