LinuxQuestions.org
Visit Jeremy's Blog.
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 11-23-2006, 07:55 AM   #1
Chocolate
LQ Newbie
 
Registered: Nov 2006
Posts: 23

Rep: Reputation: 15
about ssh


Salam every one

I have some questions around ssh,,
first i have been trying to configure ssh not to ask for a password between my hosts..
I followed these steps
# ! /bin/sh
# start ssh agent
eval '/usr/bin/ssh-agent -s'
/usr/bin/ssh-add < /dev/null
# start normal x clients
twm & // here i got the following messege.. [Another window manager is already running on screen 0 ? tmw : unable to find any unmanaged screen]
actually i moved on the steps
exec xterm -name 'exit' -ls geometry 80x24+191+61
then i suppose to copy a file contained in my .xsession
~/.ssh/identity.pub , but i couldn't find it ...

can any body guess the problem

please i need help

another q is
How to close ssh without restart my pc...?


thanks in advance
choco

Last edited by Chocolate; 11-28-2006 at 02:17 AM.
 
Old 11-23-2006, 08:57 AM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
You might want to have a read through this tutorial. I've found it to be an excellent guide to setting up ssh with key-based authentication.
 
Old 11-23-2006, 09:08 AM   #3
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Here is a good tutorial as well. http://www.suso.org/docs/shell/ssh.sdf
The key is to make sure the permissions is set correctly for your .ssh and other file using the chmod command.

Brian
 
Old 11-27-2006, 04:17 AM   #4
Chocolate
LQ Newbie
 
Registered: Nov 2006
Posts: 23

Original Poster
Rep: Reputation: 15
Thankxxxxxx

Hangdog42
Brian1

thanks bodies ,, i will read them to figure out how to solve my problem.

Huda
 
  


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
open-ssh vs. commercial ssh (tru64), public-key auth not possible? cf050 Linux - Networking 8 03-28-2012 11:15 AM
ssh-agent, ssh-add and ssh-keygen AND CVS raylpc Linux - General 2 11-19-2008 02:50 AM
Mac OS X ssh client / linux sshd : ssh hangs/disconnects Apollo77 Linux - Networking 1 05-24-2006 11:53 AM
ssh -> perl -> spawn background proces hangs ssh session rhoekstra Programming 2 04-25-2006 01:05 AM
Passwordless SSH with SSH commercial server and open ssh cereal83 Linux - General 7 04-18-2006 12:34 PM

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

All times are GMT -5. The time now is 05:59 AM.

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