Results 1 to 6 of 6
~/.ssh
what ~/. means
.ssh
what . means
cant seem to find explanation of that anywhere....
- 10-23-2011 #1Just Joined!
- Join Date
- Jan 2010
- Posts
- 11
basic bash
~/.ssh
what ~/. means
.ssh
what . means
cant seem to find explanation of that anywhere.
- 10-23-2011 #2
~/ 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.
- 10-23-2011 #3Just 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 ?
- 10-23-2011 #4
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.
- 10-24-2011 #5
~/.ssh should hold your ssh keys and known hosts file.
- 10-24-2011 #6Linux 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.


Reply With Quote