+ Reply to Thread
Results 1 to 3 of 3

Thread: authorized_keys2 file has been deprecated as of openssh version 3

  1. #1
    allofus is offline x10 Sophmore allofus is an unknown quantity at this point
    Join Date
    Sep 2008
    Location
    Wetherby, West Yorkshire, England
    Posts
    183

    Question authorized_keys2 file has been deprecated as of openssh version 3

    Please note, the ~/.ssh/authorized_keys2 file has been deprecated as of openssh version 3, and so only the ~/.ssh/authorized_keys file is managed. These are the ssh keys from the machines which can login to this server without providing password. Make sure you keep this list trimmed.



    My ssh keys have gone, all of my automations, which are dependent on these keys are failing left, right and center and I can no longer just import ssh keys using the vps manager (hypervm) and this paragraph above suggests I need to add my keys to a file that does not exist.

    Talk about at a loss and actually I think the depreciation notice has always been there so the reason for my keys going are a bit of a mystery.

    I have hit the search engines on this one and have come up blank.

    I am not really sure what I am supposed to put into the file ~/.ssh/authorized_keys or even where I am supposed to place it.

    What a pain.

    Can anyone assist me with this please?

  2. #2
    xav0989's Avatar
    xav0989 is offline Community Public Relation xav0989 is just really nice
    Join Date
    Jul 2008
    Location
    ifk
    Posts
    4,438

    Re: authorized_keys2 file has been deprecated as of openssh version 3

    I think you better post a support request in the paid client help system ( http://clients.x10hosting.com/index.php ) or in the priority support section ( http://forums.x10hosting.com/priority-support/ ).
    Xavier L | Community Public Relations Manager (Free Hosting Support)
    █ Yes, my position is too cool to even exist!
    How am I helping? Rate this post by clicking the icon below! (this is even better than "liking" a post)
    Terms of Service | Acceptable Use Policy | x10Hosting Wiki

  3. #3
    allofus is offline x10 Sophmore allofus is an unknown quantity at this point
    Join Date
    Sep 2008
    Location
    Wetherby, West Yorkshire, England
    Posts
    183

    Smile Re: authorized_keys2 file has been deprecated as of openssh version 3

    I managed to figure out how to create a new key and import it into hypervm;

    Code:
    ssh-keygen -q -f rsakey -t rsa
    This creates an rsa public/private key pair

    rsakey.pub
    rsakey

    I was then able to open the public key file and paste it into the SSH Authentication area on hypervm.
    Code:
    vi rsakey.pub
    I downloaded the file 'rsakey' and then opened puttyGEN, clicked load and opened the file, saved it as a .ppk and added that to putty.

    I have tried and failed to get my authorized_keys

    ~/.ssh/authorized_keys

    file to make any difference though. So I can use ssh for my root account, but not via the ssh-server on my vps for other user accounts that I have created.

    I have been working like this for 9 months now without fixing this and was it not for my ssh keys taking a walk I would not be trying again to work this one out.



    I did open a ticket and got replies. It was suggested that the missing keys were stored on my vps, see I reported it as a hypervm fault.

    If it was a fault all is working again now so no problem.

    SSH to my vps is what I am still stuck on and since I quit on this months ago I shall likely do the same again.




    /etc/ssh/ssh_config
    /etc/ssh/sshd_config

    these files clearly have some role to play here, but I have tried numerous different configurations, tried referencing the authorized_keys file in different ways, put this on, that off etc but no joy.

    I have followed this and other guides too
    https://help.ubuntu.com/community/SSH/OpenSSH/Keys
    and have learned a few neat tricks on the way, but NOT what I set out to do.

    Such is life...

+ Reply to Thread

Similar Threads

  1. Problem with file copy script
    By DaveBC in forum Programming Help
    Replies: 5
    Last Post: 01-12-2009, 02:14 PM
  2. Windows Sortcuts
    By Blazer9131 in forum Computers & Technology
    Replies: 3
    Last Post: 11-29-2007, 04:07 PM
  3. Techno Song with Demo Version!
    By cyberxzt in forum The Marketplace
    Replies: 1
    Last Post: 07-27-2006, 06:03 PM
  4. Converting a .RMVB file
    By SEŅOR in forum Off Topic
    Replies: 7
    Last Post: 06-19-2006, 02:20 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers