Find the answer to your Linux question:
Results 1 to 3 of 3
Hello, Well I kinda need help with Passwordless SSH. I know there are TONS(!) of Tutorials out there. And I did take a look at nearly all of them. But ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Engineer RobinVossen's Avatar
    Join Date
    Aug 2007
    Location
    The Netherlands
    Posts
    1,429

    I need help with passwordless SSH


    Hello,
    Well I kinda need help with Passwordless SSH.
    I know there are TONS(!) of Tutorials out there. And I did take a look at nearly all of them.
    But I kinda need help with how the Authorized_keys file looks.
    How should it look? Can somebody give me a example with a authorized_keys file and the id_dsa.pub file that the Client Uses to connect to it?
    I know that setting it up like this is more secure then letting my users remember passwords.. So I did Disable password Authentication and I have Only allowed Key(Passwordless) Authentication.
    Oh the reason why its insecure letting my users remember a password is since they'd put it in a email or something. Now they need to plugin there USB-Drive to get access to there SSH. (this all goes to a "Secure" server that has access to our Firewall..)
    But ok anyone who can give me a Authorized_keys and a id_dsa.pub file that should be with it so I know why they dont work?

    Cheers,
    Robin

    Edit:
    When I try
    Code:
    ssh-copy-id localhost
    on the localbox to copy it later on I get
    Code:
    Couldn't open /dev/null: Permission denied
    but WHY does he need access to /dev/null :S
    I dont want to trow anything in the Void

    Oh, and I didnt change anything with the rights for /dev/null but the rights on it are:
    Code:
    crw-r--r-- root
    Last edited by RobinVossen; 12-14-2007 at 08:11 AM. Reason: Giving more information
    New Users, please read this..
    Google first, then ask..

  2. #2
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,677
    Did you get you answer to this question?
    I'm at work now but will help you when I get home.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  3. #3
    Linux Engineer RobinVossen's Avatar
    Join Date
    Aug 2007
    Location
    The Netherlands
    Posts
    1,429
    Yes its been solved.
    Something weird.. Cant explain

    Thanks alot anyhow
    New Users, please read this..
    Google first, then ask..

  4. $spacer_open
    $spacer_close

Posting Permissions

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