Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    [solved by NIELDK] Openssh=>5.7 for Sailfish ?

    Reply
    Page 2 of 6 | Prev |   1   2   3     4   | Next | Last
    kollin | # 11 | 2014-02-09, 11:52 | Report

    Originally Posted by nieldk View Post
    did you run as root ?

    You mean, you got no response - output - from running rpm command at all ?

    please post any output here
    Yes i ran it as root:

    Code:
    [root@localhost ~]# rpm -i --force  /mnt/sdcard/Downloads/openssh-6.5p1-1.armv7hl.rpm 
    [root@localhost ~]#
    There is no output, it just runs and ends without error or something..

    After that if i try zypper it ends with :

    Code:
    zypper install  /mnt/sdcard/Downloads/openssh-6.5p1-1.armv7hl.rpm 
    Loading repository data...
    Reading installed packages...
    'openssh = 0:6.5p1-1' is already installed.
    No update candidate for 'openssh-6.5p1-1.armv7hl'. The highest available version is already installed.
    BUT ssh -V tells me that operating version of openssh is still 5.6, even after reboot:

    Originally Posted by
    ssh -V
    OpenSSH_5.6p1, OpenSSL 1.0.1c-fips 10 May 2012

    Edit | Forward | Quote | Quick Reply | Thanks

     
    nieldk | # 12 | 2014-02-09, 11:59 | Report

    please install also
    openssh-clients-6.5p1-1.armv7hl.rpm
    openssh-server-6.5p1-1.armv7hl.rpm

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to For This Useful Post:
    kollin

     
    kollin | # 13 | 2014-02-09, 12:26 | Report

    Originally Posted by nieldk View Post
    please install also
    openssh-clients-6.5p1-1.armv7hl.rpm
    openssh-server-6.5p1-1.armv7hl.rpm

    It seems ok now:

    Originally Posted by
    ssh -V
    OpenSSH_6.5p1, OpenSSL 1.0.1c-fips 10 May 2012
    EDIT: Now after i ssh nemo@192.168.0.77 i cant start midnight commander as user!
    mc
    -bash: mc: command not found

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by kollin; 2014-02-09 at 12:33.

     
    nieldk | # 14 | 2014-02-09, 12:40 | Report

    Originally Posted by kollin View Post

    It seems ok now:



    EDIT: Now after i ssh nemo@192.168.0.77 i cant start midnight commander as user!
    mc
    -bash: mc: command not found
    seems I have a little update to do

    add to /etc/profile
    export PATH=$PATH:/usr/local/bin

    Code:
    devel-su
    echo "export PATH=$PATH:/usr/local/bin" >> /etc/profile

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by nieldk; 2014-02-09 at 12:46.
    The Following User Says Thank You to For This Useful Post:
    kollin

     
    kollin | # 15 | 2014-02-09, 12:53 | Report

    Originally Posted by nieldk View Post
    seems I have a little update to do

    add to /etc/profile
    export PATH=$PATH:/usr/local/bin

    Code:
    devel-su
    echo "export PATH=$PATH:/usr/local/bin" >> /etc/profile
    Now it works.
    Thank you!

    Edit | Forward | Quote | Quick Reply | Thanks

     
    nieldk | # 16 | 2014-02-09, 12:54 | Report

    How does it work with ECDSA keys you needed ?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    kollin | # 17 | 2014-02-09, 13:15 | Report

    Originally Posted by nieldk View Post
    How does it work with ECDSA keys you needed ?
    I'll test it later and let you know. I'm going out now for a Sunday afternoon cup of coffee.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    nieldk | # 18 | 2014-02-09, 13:23 | Report

    Originally Posted by kollin View Post
    I'll test it later and let you know. I'm going out now for a Sunday afternoon cup of coffee.
    Sounds really GOOOOOD! enjoy my friend
    (I tested
    ssh-keygen -t ecdsa -b 521 -C "$(whoami)@$(hostname)-$(date -I)"

    which seems to indicate it works

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to For This Useful Post:
    kollin

     
    kollin | # 19 | 2014-02-09, 19:52 | Report

    Originally Posted by nieldk View Post
    Sounds really GOOOOOD! enjoy my friend
    (I tested
    ssh-keygen -t ecdsa -b 521 -C "$(whoami)@$(hostname)-$(date -I)"

    which seems to indicate it works

    Strange i can't add my private key:

    Code:
    [nemo@localhost ~]$ ssh-add ~/.ssh/id_ecdsa
    Enter passphrase for /home/nemo/.ssh/id_ecdsa: 
    Bad passphrase, try again for /home/nemo/.ssh/id_ecdsa: 
    Bad passphrase, try again for /home/nemo/.ssh/id_ecdsa:
    And i'm sure the password is correct!

    EDIT: 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?

    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*
    There is a big chance that ecdsa is amputated from openssl and openssh respectively .

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by kollin; 2014-02-09 at 21:03.

     
    nieldk | # 20 | 2014-02-09, 22:18 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 2 of 6 | Prev |   1   2   3     4   | Next | Last
vBulletin® Version 3.8.8
Normal Logout