"people" repo access

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

"people" repo access

Post 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.
djemos
Salix Warrior
Posts: 1433
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: "people" repo access

Post 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
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: "people" repo access

Post by mimosa »

Thanks djemos - I tried like that too, still doesn't work. I think the issue may be ssh keys.
djemos
Salix Warrior
Posts: 1433
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: "people" repo access

Post 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.
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: "people" repo access

Post 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).
djemos
Salix Warrior
Posts: 1433
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: "people" repo access

Post 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
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: "people" repo access

Post by mimosa »

All ok now - my new public key just needed to be uploaded.
Post Reply