Find the answer to your Linux question:
Results 1 to 6 of 6
~/.ssh what ~/. means .ssh what . means cant seem to find explanation of that anywhere....
  1. #1
    Just Joined!
    Join Date
    Jan 2010
    Posts
    11

    basic bash

    ~/.ssh
    what ~/. means
    .ssh
    what . means

    cant seem to find explanation of that anywhere.

  2. #2
    Trusted Penguin jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    4,071
    ~/ indicates your home directory.
    The . usually indicates a hidden file or directory. For example, ~/.conkyrc is a hidden file with my conky config.
    So ~/.ssh is either a hidden file or folder named ssh.
    Do ls -al to find out which it is.
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.

  3. #3
    Just Joined!
    Join Date
    Jan 2010
    Posts
    11
    Thanks.
    That command gives me:
    drwx------ 2 root root 4096 Oct 23 08:42 .ssh

    I can cd/dir and see expected files in it.

    Is there any way to see/show hidden things in KDE/konqueror ?

    + any explanation on differenca .ssh versus etc/ssh. Why is first hidden, I mean I'm logged in as root ?

    Can I unhide .ssh ?

  4. #4
    Trusted Penguin jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    4,071
    I don't use KDE, but normally you can hit Ctrl+h to view hidden files. If that's not it, then you should have something to that effect in your View menu.

    And logging in as root has no bearing on hidden files/directories. They remain hidden regardless of who is logged in.
    ~/.ssh is most likely the history or logs of your ssh sessions. I don't use ssh, so if I'm wrong here, perhaps someone will chime in
    But the same remains true for other programs, such as high scores in a game, or config files for your preferences.
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.

  5. #5
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,281
    ~/.ssh should hold your ssh keys and known hosts file.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  6. #6
    Linux Guru
    Join Date
    May 2011
    Posts
    1,843
    The directory /etc/ssh holds keys/configs for the ssh daemon (server) running on your local system (if any). The ~/.ssh directory, as Lazydog indicated, contains the same for each ssh user.

Posting Permissions

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