On Mon, Nov 25, 2013 at 08:19:10AM -0800, William Stein wrote: > On Mon, Nov 25, 2013 at 1:59 AM, Georgi Guninski <gunin...@guninski.com> > wrote: > > I prefer working in a terminal instead of a browser. > > > > What is the easiest way to use cloud.sagemath in a terminal? > > > > AFAICT ssh(1) isn't allowed, is it really so? > > The virtual machines do not have external addresses on the internet, > so there is no easy way to directly ssh into them yet. > > > Using a small package got it working with simple commands, > > (connect back) but there might be easier way. > > I plan to setup a machine specifically devoted to port forwarding for > them, but I just haven't got to it yet. In the meantime, if you have > an account on any Linux (or OS X?) machine foo.edu (say) anywhere, you > should be able to do the following: > > (1) in your cloud.sagemath terminal, type > > ssh -R 8022:localhost:22 yourn...@foo.edu > > (2) Now login to yourn...@foo.edu and type > > ssh localhost -p 8022 > > You can change 8022 to any free port. > > -- William >
Thanks. A minor disadvantage of this solution is cloud.sagemath sees the password/ssh key of y...@foo.edu, so I wouldn't use this if I care about the account. Similar solution is possible with socat + openssl. -- 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 sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/groups/opt_out.