Re: Public key authentication troubles

From: Nicolas Bertolotti (nbertolo_at_chez.com)
Date: 05/23/04

  • Next message: Darren Tucker: "Re: Unable to ssh into the Solaris 8 box once user password Expires."
    Date: Sun, 23 May 2004 00:43:18 +0200
    
    

    Hi,

    I was actually simply trying to connect to the same computer (see ssh -1
    `hostname`) as a preliminary step.

    Anyway, I think I got the answer from Darren. Too bad I have to wait until
    I'm back to the office to check that. I was really becoming crazy. I didn't
    know there were some restrictions on the permissions for the home directory
    itself.

    Regards

    Nicolas

    "DharmaFog" <DharmaFog@VirtualMachines.COM> a écrit dans le message de
    news:4P2dnXUGOL2qUjLdRVn-hQ@comcast.com...
    > Nicolas Bertolotti wrote:
    > > Hi,
    > >
    > > I'm facing troubles while trying to activate connection without a
    password
    > > on a specific linux box.
    > >
    > > I've generated the keys using ssh-keygen -t rsa1
    > > I've then copied the public key to authorized_keys : cp
    .ssh/identity.pub
    > > .ssh/authorized_keys
    > > I've also changed the permissions : chmod go-rwx .ssh
    > >
    >
    > It's not clear what you're doing. You should be generating a key pair
    > on the "source" machine and then transfering the public key to the
    > authorized_keys file on the "target" machine (the machine you're trying
    > to connect to.


  • Next message: Darren Tucker: "Re: Unable to ssh into the Solaris 8 box once user password Expires."

    Relevant Pages

    • Re: ssh and dhcp interactions?
      ... | with that name is it gonna complain? ... SSH has to take into consideration that a hostname can have multiple IP ... you will obviously have to change what you refer to. ...
      (comp.security.ssh)
    • Re: Run a script across servers
      ... > doesn't work the way you thought it would in your test script is because ... > each command is spawned off separately. ... > finishes, then ssh will run. ...
      (comp.unix.shell)
    • Re: cant connect with putty
      ... >> b) with ssh IPaddress ... >> if yes to b and d, but not to a and c, then it's a DNS thing. ... But ping by hostname is fine and the browser works fine by hostname, ... to it and can't (in my experience only slow connections, ...
      (Debian-User)
    • RE: ssh login protection
      ... > is enough) between your mail servers and the world. ... external server is able to ssh your mail servers. ... have a free dynamic DNS service, and there are good clients for both Windows ... The next step would be to allow connections from your dynamic DNS hostname ...
      (Security-Basics)
    • Re: issue with name resolution
      ... I am on the client side. ... my ssh client do work correctly with ip-addresses, ... By using ssh <hostname> -v, I discovered that it tries always to ...
      (comp.security.ssh)