Solved

ssh config file

Posted on 2004-04-03
5
1,076 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 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

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Specific format 21 236
Facebook React and SyntheticEvents 6 81
Grunt script for Build Process 1 87
object method as an event handler 8 71
Preface This article introduces an authentication and authorization system for a website.  It is understood by the author and the project contributors that there is no such thing as a "one size fits all" system.  That being said, there is a certa…
What is Node.js? Node.js is a server side scripting language much like PHP or ASP but is used to implement the complete package of HTTP webserver and application framework. The difference is that Node.js’s execution engine is asynchronous and event…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:

738 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