Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-23-2011, 07:25 AM   #1
LQ Newbie
Registered: May 2011
Posts: 2

Rep: Reputation: Disabled
What does ~ mean when set up ~/.ssh/ name@hostname

What does ~ mean when set up like ssh-copy-id -i ~/.ssh/ name@hostname
Old 05-23-2011, 07:26 AM   #2
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
~ is shorthand for your home directory.
Old 05-23-2011, 07:26 AM   #3
LQ 5k Club
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
The home directory of the user

Kind regards
1 members found this post helpful.
Old 05-23-2011, 07:31 AM   #4
LQ Newbie
Registered: May 2011
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thank you.....


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
debug1: Trying private key: /root/.ssh/id_rsa Linux - Newbie 10 10-21-2010 11:55 PM
Unable to use pub/private keys with ssh AncientPC Linux - Newbie 18 07-28-2009 05:30 PM
Can't login with ssh pub keys fisayo Mandriva 2 11-17-2005 07:12 PM
ssh works on one machine, but not another eayars Linux - Security 1 06-23-2004 01:24 PM
SSH: multiple id_rsa and scheme workable? glock27linux Linux - Security 1 11-15-2003 11:58 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:45 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration