?
Solved

ssh config file

Posted on 2004-04-03
5
Medium Priority
?
1,087 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 600 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 200 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

Create the perfect environment for any meeting

You might have a modern environment with all sorts of high-tech equipment, but what makes it worthwhile is how you seamlessly bring together the presentation with audio, video and lighting. The ATEN Control System provides integrated control and system automation.

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…
I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Suggested Courses

777 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