Page 1 of 1

"people" repo access

Posted: 28. May 2017, 08:26
by mimosa
On the road with a fresh Salix, I have forgotten (again) how to do this:

Code: Select all

sshfs mimosa@https://people.salixos.org:www/packages localdir/
read: Connection reset by peer
I get the same response as root.


EDIT Does this have something to do with ssh keys? I tried running

Code: Select all

ssh-keygen
but no change.

Re: "people" repo access

Posted: 28. May 2017, 08:42
by djemos

Code: Select all

sshfs mimosa@people.salixos.org:www localdir/
or

Code: Select all

sshfs mimosa@people.salixos.org:www/packages localdir/
Do not put https:// in front of people.salixos.org

Re: "people" repo access

Posted: 28. May 2017, 08:46
by mimosa
Thanks djemos - I tried like that too, still doesn't work. I think the issue may be ssh keys.

Re: "people" repo access

Posted: 28. May 2017, 08:51
by djemos
Yes. It is also need the key.
Also you must know your passphrase for key which exist in your ftp directory in people.salixos.org ~/.ssh/authorized_keys
If you have loose it. Then gapan has to send it to you or you can create another one and gapan can upload it there.

Re: "people" repo access

Posted: 28. May 2017, 08:53
by mimosa
I think I do know the password, but I'm not sure how to proceed - the connection is simply refused. I also tried just ssh'ing into "people":

Code: Select all

mimosa[~]$ ssh mimosa@people.salixos.org
Permission denied (publickey,keyboard-interactive).

Re: "people" repo access

Posted: 28. May 2017, 09:01
by djemos
you cannot ssh

Code: Select all

ssh djemos@people.salixos.org

Enter passphrase for key '/home/djemos/.ssh/id_rsa': 
This service allows sftp connections only.
Connection to people.salixos.org closed.
while

Code: Select all

sshfs djemos@people.salixos.org:/ ~/people-salix/
Enter passphrase for key '/home/djemos/.ssh/id_rsa':
is working
Note that the local folder people-salix or whatever name you mount the remote folder, has to be created and exist locally.
Also in your local folder ~/.ssh/ must exist id_rsa key otherwise remote server cannot authorize you with the key existed in ~/.ssh/authorized_keys file in remote server

Re: "people" repo access

Posted: 28. May 2017, 17:21
by mimosa
All ok now - my new public key just needed to be uploaded.