LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-14-2004, 04:28 PM   #1
nedian123
Member
 
Registered: Jun 2004
Location: PAKISTAN
Posts: 46

Rep: Reputation: 15
Regarding /etc/ssh/ssh_config (CLUSTERS)


Hi,
actually help me out thru this problem, let me know the UNCOMMENTED lines of the file /etc/ssh/ssh_config, for passwordless ssh.. in CLUSTERS, i m stuck in this problem..................
 
Old 08-14-2004, 05:22 PM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Re: Regarding /etc/ssh/ssh_config (CLUSTERS)

Quote:
Originally posted by nedian123
Hi,
actually help me out thru this problem, let me know the UNCOMMENTED lines of the file /etc/ssh/ssh_config, for passwordless ssh.. in CLUSTERS, i m stuck in this problem..................
A way to do what you want is to make a ssh key without a password then put this key into your .ssh/authorized_keys of the user who will be logining into the machines that you need to ssh into. So you would need to on one of your machines with ssh installed use ssh-keygen -t dsa and tell the program where you want the key saved as and hit the ENTER key twice having not typed a password. Then you would take the key with the .pub on the end (there are two keys created the secret and public key you always use the public one when coping to other machines) and copy it to the machines you need access too scp /home/user/.ssh/no_password_key.pub user@192.168.0.1:.ssh/authorized_keys then when you login to the host you would use ssh -i /home/user/.ssh/no_password_key user@192.168.0.1 and it will not ask you for a password.
 
  


Reply



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
clusters edman007 Linux - Software 4 09-28-2005 08:52 PM
FC1 ssh_config question jfranks214 Fedora 0 12-20-2004 02:38 PM
I installed openssh for redhat 7.3 but no /etc/ssh/ssh_config file was made akay Linux - Networking 1 11-15-2004 05:19 PM
sshd not using ssh_config on startup thebover Linux - Software 2 08-25-2004 03:42 PM
ssh_config help davsinc Linux - Newbie 0 01-16-2004 07:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:59 PM.

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