Solved

ssh config file

Posted on 2004-04-03
5
1,049 Views
Last Modified: 2013-11-18
I have a RedHat distribution of linux installed (FedoraCore1) on my home machine and am looking for an ssh config file in ~/.ssh/config.   However, I cannot find this file on my machine.   Isn't this thing preinstalled or do I have to download or obtain it in some other way?   How can I get this file?   Please let me know.
0
Comment
Question by:skyblue01
  • 2
  • 2
5 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 150 total points
ID: 10749145
You won't have a ~/.ssh/config unless you create one. The global client config file is /etc/ssh/ssh_config, which you can copy to ~/.ssh/config and edit to your liking.
0
 

Author Comment

by:skyblue01
ID: 10749528
By copying, do you mean moving the same exact file to ~/.ssh/?   In that case, do I create a dir called .ssh?   Or do I copy and paste the content to a new text file and name it config and place it in ~/.ssh?

I am not sure of your copying process since I don't have a ~/.ssh directory on my machine and it sounds like it's not something I should be creating...
0
 
LVL 17

Assisted Solution

by:owensleftfoot
owensleftfoot earned 50 total points
ID: 10749606
Type "cd" (without the quotes) to return to your home directory. Type "mkdir .ssh" to create the ssh directory in your home directory. Create/edit a config file in this directory.
0
 
LVL 40

Expert Comment

by:jlevie
ID: 10749607
the .ssh directory will be created the first time you use ssh, scp, or sftp.  You can create the directory before using any of the SSH client programs with:

cd ~/
mkdir .ssh
chmod 700 .ssh

In general, the defaults in the sitewide ssh_config file are suitable for most users. Before going to the trouble of creating a personal config in .ssh/config I'd suggest that you go through the global config and see if yu really need any customizations.
0
 

Author Comment

by:skyblue01
ID: 10749745
k.   i'll try that, thanks.
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question