Find the answer to your Linux question:
Results 1 to 2 of 2
HI. two quick questions. a) is ~/.ssh/known_hosts or ~/.ssh/authorized_keys where cached secure shell encryption keys from other systems that the user has contacted in the past are stored? b) what ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2013
    Posts
    12

    question about secure shell encryption and deamon


    HI.
    two quick questions.
    a) is ~/.ssh/known_hosts or ~/.ssh/authorized_keys where cached secure shell encryption keys from other systems that the user has contacted in the past are stored?

    b) what file must I edit to configure the settings used by the secure shell daemon ?
    Thanks

  2. #2
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    Quote Originally Posted by dksellou View Post
    a) is ~/.ssh/known_hosts or ~/.ssh/authorized_keys where cached secure shell encryption keys from other systems that the user has contacted in the past are stored?
    the public key of a remote, trusted user is stored in ~/.ssh/authorized_keys or ~/.ssh/authorized_keys2. it can be copied there by the use of the very handy script ssh-copy-id, which comes with the openssh package.

    b) what file must I edit to configure the settings used by the secure shell daemon ?
    Not sure what you mean by this, but you can set up a bunch of client-side configurations in the files ~/.ssh/config and /etc/ssh/ssh_config, and on the server-side in /etc/ssh/sshd_config.

Posting Permissions

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