Find the answer to your Linux question:
Results 1 to 3 of 3
I have a small lan. I want to be able to ssh between them without asking for a password - preferably as root. Any pointers. man pages for ssh_config and ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux User
    Join Date
    Jan 2003
    Location
    Cardiff, Wales
    Posts
    478

    ssh without password


    I have a small lan. I want to be able to ssh between them without asking for a password - preferably as root. Any pointers. man pages for ssh_config and sshd_config are massive and confusing.
    No trees were harmed during the creation of this message. Its made from a blend of elephant tusk and dolphin meat.

  2. #2
    Linux Newbie
    Join Date
    Apr 2003
    Location
    Pontypridd, Wales
    Posts
    104
    \"One World, One Web, One Program.\" -- Advertisement for Internet Explorer.
    \"Ein Volk, Ein Reich, Ein Fuehrer.\" -- Adolf Hitler.

  3. #3
    Linux Newbie
    Join Date
    Apr 2004
    Posts
    158
    Hi,

    You have to create a ssh key...

    ssh-keygen -t dsa

    don't enter any password, just hit enter...

    Put the ssh_id.pub (or what ever you called your key) on the /root/.ssh/authorized_keys on the machine you wanna connect to without password...

    //jonas

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •