File editing via Sublime Text 3 (using Filezilla)

363 views
Skip to first unread message

Андрей Ширшов

unread,
Aug 18, 2014, 2:05:43 AM8/18/14
to sage-...@googlegroups.com
Hi!
I try to set up Filezilla to edit my files from SMC in Sublime Text 3 on my computers (Windows 7 and Linux Mint 17 Cinnamon).
Filezilla ask me to give file with ssh key.
What should I write in such file? What name and extension for this file should I set?
I'd like to open my files in SMC in Filezilla and then click file to edit it in Sublime Text 3.
Thanks,
Andrei.

Андрей Ширшов

unread,
Aug 18, 2014, 2:21:27 AM8/18/14
to sage-...@googlegroups.com
I just tried to use putty. What user name should I type?
Is it my e-mail?
Thanks,
Andrei.

понедельник, 18 августа 2014 г., 10:05:43 UTC+4 пользователь Андрей Ширшов написал:

Dima Pasechnik

unread,
Aug 18, 2014, 2:33:15 AM8/18/14
to sage-...@googlegroups.com
On 2014-08-18, Андрей Ширшов <sh.an...@gmail.com> wrote:
> ------=_Part_41_1144607929.1408341943603
> Content-Type: text/plain; charset=UTF-8
>
> Hi!
> I try to set up Filezilla to edit my files from SMC in Sublime Text 3 on my
> computers (Windows 7 and Linux Mint 17 Cinnamon).
> Filezilla ask me to give file with ssh key.
> What should I write in such file? What name and extension for this file
> should I set?

you need to generate a ssh public/private keypair.
(ssh-keygen on Linux, dunno if putty can do this)

I presume it's akin to the usual ssh keypair authentication, where
you store the public part of your keypair on the server, and
keep the private part on the client.

William A Stein

unread,
Aug 18, 2014, 9:01:40 AM8/18/14
to sage-cloud
On Sun, Aug 17, 2014 at 11:21 PM, Андрей Ширшов <sh.an...@gmail.com> wrote:
> I just tried to use putty. What user name should I type?
> Is it my e-mail?
> Thanks,
> Andrei.
>

In project settings look at the line that says "SSH into your project
(add a public key to ~/.ssh/authorized_keys)". That has the current
remote ip address and username for your project. (It will change
if/when your project gets moved due to downtime or maintenance.)

william


> понедельник, 18 августа 2014 г., 10:05:43 UTC+4 пользователь Андрей Ширшов
> написал:
>>
>> Hi!
>> I try to set up Filezilla to edit my files from SMC in Sublime Text 3 on
>> my computers (Windows 7 and Linux Mint 17 Cinnamon).
>> Filezilla ask me to give file with ssh key.
>> What should I write in such file? What name and extension for this file
>> should I set?
>> I'd like to open my files in SMC in Filezilla and then click file to edit
>> it in Sublime Text 3.
>> Thanks,
>> Andrei.
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-cloud" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-cloud+...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-cloud/ed4a8c80-393d-49e2-96a0-31e849d8ee0c%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.



--
William Stein
Professor of Mathematics
University of Washington
http://wstein.org
wst...@uw.edu

Андрей Ширшов

unread,
Aug 19, 2014, 3:48:15 AM8/19/14
to sage-...@googlegroups.com
Hi!
Thanks a lot for this promt!)
Now I have another problem: I connected with server via ssh, but when I type my password for SMC I get error that my password is wrong.
How can I know my password to connect via ssh?
Thanks,
Andrei.

понедельник, 18 августа 2014 г., 17:01:40 UTC+4 пользователь Stein William написал:

William A Stein

unread,
Aug 19, 2014, 12:43:48 PM8/19/14
to sage-cloud
On Tue, Aug 19, 2014 at 12:48 AM, Андрей Ширшов <sh.an...@gmail.com> wrote:
> Hi!
> Thanks a lot for this promt!)
> Now I have another problem: I connected with server via ssh, but when I type
> my password for SMC I get error that my password is wrong.
> How can I know my password to connect via ssh?
> Thanks,
> Andrei.

You absolutely *MUST* use ssh keys. If you use the ssh command and it
asks for a password, then things can't work, since the SageMathCloud
Linux users do not have passwords.

1. create an ssh key pair on your computer

2. copy the public key to the SMC project (put it in the file
~/.ssh/authorized_keys)
> https://groups.google.com/d/msgid/sage-cloud/f1203bbf-9d30-4d36-8da0-d9f5db7be643%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages