RSA & DSA Authentication - need help

From: Dusty Culler (dustyculler_at_yahoo.com)
Date: 02/12/04

  • Next message: Nigel Stepp: "Re: windows to linux via the internet"
    Date: Thu, 12 Feb 2004 10:47:28 -0800 (PST)
    To: secureshell@securityfocus.com
    
    

    Hi everyone,

    I'm trying to setup a backup solution using rsync
    tunneled over ssh and I'm having a problem getting the
    ssh part working. I would appreciate any help.

    I've installed Fedora Core 1 on two systems that I'll
    call client and server.

    I performed the following actions:

    client:
            login as myuser
            cd .ssh
            ssh-keygen -t rsa
            ssh-keygen -t dsa
            scp *.pub myuser@server:~/.ssh/

    server:
            login as myuser
            cd .ssh
            cat *.pub >> authorized_keys

    client: ssh server -l myuser

    For some reason I still get prompted for a password.
    I did not type a passphrase when I generated the keys
    as I'm trying to get this to work from a script that
    will be run from cron. (Is there a better way?)

    I've read several tutorials and tried everything I can
    find from searching the web for 8+ hours.

    Am I missing something here?

    Thanks,

    Dusty

    __________________________________
    Do you Yahoo!?
    Yahoo! Finance: Get your refund fast by filing online.
    http://taxes.yahoo.com/filing.html


  • Next message: Nigel Stepp: "Re: windows to linux via the internet"

    Relevant Pages

    • Re: Explanation of SSH
      ... I am still unclear on how SSH works exactly. ... Client issues SSH command and names server ... "Shopper" says "server sends back its public host and server keys ... Surely there is only one public key it sends ...
      (comp.security.ssh)
    • Re: ssh security question
      ... In my case - the client is a windows client and the ssh is embedded into the windows nx client. ... Is there any reason I can't run ssh-keygen on the server and copy the private key to the client - and the public key to the "authorised" directory? ... sniffer can catch your passwords, and it would make it trivial to log in ...
      (SSH)
    • Re: Publishing a SSH Server
      ... Your unix box cannot reply to SSH request, ... Create a client address set for your unix box (ip address from to are the ... Jim Harrison [ISA SE] ... In that case the server is a SecureNET client but still it doesn't work.... ...
      (microsoft.public.isa.publishing)
    • Re: FC6 VPN
      ... Then you can run any application you would like off the server by simply running it, or if you want to run a whole session, use gnomesession. ... ssh client that supports X forwarding, which is want you want to be looking at. ... SSH allows you to forward any local port to any remote port. ... If you need to connect to, say a windows share, you would forward your local port to the linux server through the ssh tunnel. ...
      (Fedora)
    • Re: Password less login between client & server, server & client
      ... password less logins on both the ssh client and ssh server. ... Login as the user that is making the connection. ...
      (comp.security.ssh)