On 5/29/13 6:39 PM, Aaron E-J wrote:
So I thought I had ssh installed but apparently not.The two commands
leif gave got rid of the ssl.py error but now I am getting a different one:

aaronej@ubuntu:~/sage/devel/sagecell$ ../../sage web_server.py
2013-05-29 16:12:32,114 sagecell:INFO starting tornado web server
Traceback (most recent call last):
   File "web_server.py", line 81, in <module>
     application = SageCellServer()
   File "web_server.py", line 58, in __init__
     kernel_timeout=kernel_timeout)
   File
"/home/aaronej/sage/devel/sagecell-main/trusted_kernel_manager.py", line
43, in __init__
     comp_id = self.add_computer(comp)
   File
"/home/aaronej/sage/devel/sagecell-main/trusted_kernel_manager.py", line
129, in add_computer
     client = self._setup_ssh_connection(cfg["host"], cfg["username"])
   File
"/home/aaronej/sage/devel/sagecell-main/trusted_kernel_manager.py", line
87, in _setup_ssh_connection
     ssh_client.connect(host, username=username)
   File
"/home/aaronej/sage/local/lib/python2.7/site-packages/paramiko-1.10.1-py2.7.egg/paramiko/client.py",
line 300, in connect
     retry_on_signal(lambda: sock.connect(addr))
   File
"/home/aaronej/sage/local/lib/python2.7/site-packages/paramiko-1.10.1-py2.7.egg/paramiko/util.py",
line 278, in retry_on_signal
     return function()
   File
"/home/aaronej/sage/local/lib/python2.7/site-packages/paramiko-1.10.1-py2.7.egg/paramiko/client.py",
line 300, in <lambda>
     retry_on_signal(lambda: sock.connect(addr))
   File "/home/aaronej/sage/local/lib/python/socket.py", line 226, in meth
     return getattr(self._sock,name)(*args)
socket.error: [Errno 111] Connection refused

We're making progress! It now seems that you may have a firewall that is blocking connections. To test this, try disabling your firewall (temporarily!) to see if the error goes away.






Can you tell me if this config will work (modified lines below)?I'm
still not sure if I have the correct values.

My thinking is that it has to do with what I'm putting for the username
in the config.py file.What should I put?I've tried "aaronej@localhost",
localhost and simply "" to no success.Leaving it as None does not work
either.

if 'ssh aaronej@localhost' works from the user you are running the cell server as, then that config setting is fine.

Thanks,

Jason


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-support?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to