|
Page 1 of 2 |
|
1
2
|
Next
[solved by NIELDK] Openssh=>5.7 for Sailfish ?
Is it possible to find somewhere Opennssh=>5.7 for Sailfish?
I want to be able to connect to my work and home PCs via my ECDSA keys. I found this one but it's a .deb file: https://openrepos.net/content/nieldk/openssh :confused: |
Re: Openssh=>5.7 for Sailfish ?
Well, yes. It's possible. These are the steps I would take (using a linux system):
1. Use google and look for an rpm file. 2. If you can't find it, find the source and compile it yourself. 3. If that doesn't work, for whatever reason, look for a package or script that does deb-to-rpm conversion. 4. You could unpack the .deb file and manually move the over to your filesystem. |
Re: Openssh=>5.7 for Sailfish ?
See how this fits your need
https://openrepos.net/content/nieldk/openssh-0 You will need to install as root (devel-su) and force the install to replace the sailfish version from Jolla rpm -i --force openssh-6.4p1-3.armv7hl.rpm |
Re: Openssh=>5.7 for Sailfish ?
Well after installing and removing liblzma my jolla is borked and i'm resetting again. I'm done struggling with rpms . :mad:
|
Re: Openssh=>5.7 for Sailfish ?
Quote:
:) |
Re: Openssh=>5.7 for Sailfish ?
Can you please file a bug in Mer, so they'd update openssh there?
|
Re: Openssh=>5.7 for Sailfish ?
Quote:
Talk about security ..... |
Re: Openssh=>5.7 for Sailfish ?
Updated openssh on my openrepos to fix someminor issue with path variable when SSHing to Jolla device
new version is 6.4p1-4 Update: Bumped to version 6.5p1-1 |
Re: Openssh=>5.7 for Sailfish ?
I did :
rpm -i --force /mnt/sdcard/Downloads/openssh-6.5p1-1.armv7hl.rpm but nothing seems to happen. ssh -v still results in: OpenSSH_5.6p1, OpenSSL 1.0.1c-fips 10 May 2012 Even after reboot :confused: |
Re: Openssh=>5.7 for Sailfish ?
Quote:
You mean, you got no response - output - from running rpm command at all ? please post any output here :) |
Re: Openssh=>5.7 for Sailfish ?
Quote:
Code:
[root@localhost ~]# rpm -i --force /mnt/sdcard/Downloads/openssh-6.5p1-1.armv7hl.rpm After that if i try zypper it ends with : Code:
zypper install /mnt/sdcard/Downloads/openssh-6.5p1-1.armv7hl.rpm Quote:
|
Re: Openssh=>5.7 for Sailfish ?
please install also
openssh-clients-6.5p1-1.armv7hl.rpm openssh-server-6.5p1-1.armv7hl.rpm |
Re: Openssh=>5.7 for Sailfish ?
Quote:
It seems ok now: Quote:
mc -bash: mc: command not found |
Re: Openssh=>5.7 for Sailfish ?
Quote:
add to /etc/profile export PATH=$PATH:/usr/local/bin Code:
devel-su |
Re: Openssh=>5.7 for Sailfish ?
Quote:
Thank you! :D |
Re: Openssh=>5.7 for Sailfish ?
How does it work with ECDSA keys you needed ?
|
Re: Openssh=>5.7 for Sailfish ?
Quote:
|
Re: Openssh=>5.7 for Sailfish ?
Quote:
(I tested ssh-keygen -t ecdsa -b 521 -C "$(whoami)@$(hostname)-$(date -I)" which seems to indicate it works ;) |
Re: Openssh=>5.7 for Sailfish ?
Quote:
Strange i can't add my private key: Code:
[nemo@localhost ~]$ ssh-add ~/.ssh/id_ecdsaEDIT: It works with DSA keys !!! So i think it's something wrong with ecdsa compatibility may be openssl or some other package that openssh is related to? :confused: EDIT2: This looks relevant: https://www.martineve.com/2011/07/22...hy-in-openssh/ and it seems that i cant find nothing with this command: Code:
[root@localhost ~]# find / -iname *ecdsa* |
Re: Openssh=>5.7 for Sailfish ?
It has some minor issues that I need to correct, but you can try openssl 1.0.1f from my openrepos. I successfully created the ecdsa keys with that
|
Re: Openssh=>5.7 for Sailfish ?
Quote:
EDIT: During configuration phase of openssh (on my gentoo system)i can see this line: Code:
checking whether OpenSSL has complete ECC support... yes |
Re: Openssh=>5.7 for Sailfish ?
I dont understand :) Did it work for you ?
Code:
[nemo@localhost ~]$ ssh-keygen -t ecdsa -b 521 |
Re: Openssh=>5.7 for Sailfish ?
[QUOTE=nieldk;1411913]I dont understand :) Did it work for you ?
No it didn't! I can't add my existing ecdsa keys to my jolla ssh. Code:
ssh-add ~/.ssh/id_ecdsa:) |
Re: Openssh=>5.7 for Sailfish ?
perhaps related?
https://bugs.launchpad.net/ubuntu/+s...ng/+bug/771272 |
Re: Openssh=>5.7 for Sailfish ?
just tested with a key generated on my debian box, copied to Jolla
Code:
[nemo@localhost .ssh]$ eval `ssh-agent -s` |
Re: Openssh=>5.7 for Sailfish ?
Quote:
Code:
eval `ssh-agent -s`EDIT: What are the file permissions of your ecdsa key and ./ssh directory on your jolla? |
Re: Openssh=>5.7 for Sailfish ?
just noticed. You are doing this as root.
Did you copy the keys to /root/.ssh or /home/nemo/.ssh. ? |
Re: Openssh=>5.7 for Sailfish ?
Quote:
10chars A-ha ! The output from ssh-keygen on my jolla: Code:
[nemo@localhost ~]$ ssh-keygen -t ecdsa -b 521 -f /home/nemo/.ssh/exp/exp_ecdsaEDIT2: I manualy copied ssh-add and ssh-keygen (from your rpms) - still no go: Code:
ssh nemo@192.168.0.77 |
Re: Openssh=>5.7 for Sailfish ?
I will make a new version that will be compiled against openssl 1.0.1f, later this evening.
|
Re: Openssh=>5.7 for Sailfish ?
Quote:
|
Re: Openssh=>5.7 for Sailfish ?
openssh-6.5p1 r5 uploaded to openrepos.
This, I believe, together with openssl-1.0.1f will help you |
Re: Openssh=>5.7 for Sailfish ?
Quote:
|
Re: Openssh=>5.7 for Sailfish ?
Quote:
Now -r5 should be there |
Re: Openssh=>5.7 for Sailfish ?
It works now!!!!!
Code:
kollin@felis ~ % ssh nemo@192.168.0.77 |
Re: Openssh=>5.7 for Sailfish ?
Quote:
|
Re: Openssh=>5.7 for Sailfish ?
Quote:
|
Re: Openssh=>5.7 for Sailfish ?
Quote:
https://bugs.merproject.org/show_bug.cgi?id=839 |
Re: [solved by NIELDK] Openssh=>5.7 for Sailfish ?
Thanks! Since you added it to openrepos, may be you can update it in Mer as well using the same spec? Or at least propose to update it to the Mer folks.
|
Re: [solved by NIELDK] Openssh=>5.7 for Sailfish ?
Quote:
Going away for a couple of days, but can start during weekend :) |
Re: [solved by NIELDK] Openssh=>5.7 for Sailfish ?
Well well, for some reason my login is rejected at https://bugs.merproject.org and even after password reset it refuses to accept my credentials. ???
Anyways. I am posting the spec file here, perhaps some of you have better luck with using OBS :( Code:
%define WITH_SELINUX 0 |
| All times are GMT. The time now is 13:43. |
Page 1 of 2 |
|
1
2
|
Next
vBulletin® Version 3.8.8