Re: question on setup ssh documentation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On my system my user is named “ceph” so I modified /home/ceph/.ssh/config.  That seemed to work fine for me.  ~/ is shorthand for your user’s home folder.

 

I think SSH will default to the current username so if you just use the same username everywhere this may not even be necessary.

 

My file:

 

ceph@cephtest01:/etc/ceph$ cat /home/ceph/.ssh/config

Host cephtest02

  Hostname cephtest02.jf.intel.com

  User ceph

 

Host cephtest03

  Hostname cephtest03.jf.intel.com

  User ceph

 

Host cephtest04

  Hostname cephtest04.jf.intel.com

  User ceph

 

Host cephtest05

  Hostname cephtest05.jf.intel.com

  User ceph

 

Host cephtest06

  Hostname cephtest06.jf.intel.com

  User ceph

 

ceph@cephtest01:/etc/ceph$

 

 

From: ceph-users-bounces@xxxxxxxxxxxxxx [mailto:ceph-users-bounces@xxxxxxxxxxxxxx] On Behalf Of Nimish Patel
Sent: Wednesday, October 02, 2013 11:19 AM
To: ceph-users@xxxxxxxx
Subject: question on setup ssh documentation

 

On this web page http://ceph.com/docs/master/start/quick-start-preflight/ where it says “Modify your ~/.ssh/config file of your admin node so that it defaults to logging in as the user you created when no username is specified.” Which  config file do I change?

 

I am using Ubuntu server 13.04.

1.    Which files do I modify? /etc/ssh/ssh_config or /etc/ssh/sshd_config ?

2.    Am I supposed to see a config file in /root/.ssh?

3.    Am I supposed to see a config file in /home/ceph/.ssh?

Thanks for the help!

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux