Saad Khalid writes: Hello everyone, I'm just beginning on learning to use Sage. I am running linux(lxle) and have installed Sage on my computer. I also have an account on Sage Math Cloud. I was wondering if there's any way to sign in from my computers terminal onto my Sage Math Cloud account. Then, I could have access to my projects and I could edit them from my terminal, and have it sync to my cloud account.

Yes, you can connect to your sage projects from your computer via ssh. You need to copy your public key to your sage project. If you do not have a key, from a terminal in your computer do:

ssh-keygen

or to have a more secure key, something like:

ssh-keygen -t rsa -b 4096 -o -a 100

Hit enter and choose a passphrase (of course you will have to remember the passphrase to use the key).

Copy the content of ~/.ssh/id_rsa.pub in your computer to ~/.ssh/authorized_keys in the sage project. Then go the Settings of the sage project and copy the information of SSH into your project. Finally, from your computer in a terminal do: ssh username@host where username@host is what you copied from the Settings.
I have a little bit of experience with Git, and I believe that this is what you can do through something like Github. Is this possible currently with Sage?

If you have experience with git, to keep things synchronized use it locally in your computer, use something like github or bitbucket as remote/origin and clone the project SMC.

I really am very new, so all I've seen so far is that when I run the command notebook(), it opens up a local server of Sagenb(I think).

This is I do not understand, maybe you want to clarify further.

Best,
--
Jorge.

--
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/d/optout.

Reply via email to