LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-11-2001, 12:49 PM   #1
punt
Member
 
Registered: Jun 2001
Distribution: Fedora 22
Posts: 371

Rep: Reputation: 30

hi,

i'm wondering how to set up ssh on my linux box (redhat 7.1). i tried running ssh-keygen but it didn't seem to work, unless i didn't do it right - i typed the command, ssh-keygen, typed in a password after the key was generated, and tried to access the box from another computer, only to get "secure connection refused." i can't telnet, rsh, or rlogin into my system either. what am i doing wrong? what else should i do?

thanks.
 
Old 06-11-2001, 02:41 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
ssh-keygen is for making a user identity, u add it to the remote authorization file so u get authenticated with that key when u login into ure box.

what u need is the ssh service (sshd) installed & running on ure box. get it off the installer cd's, ure distro's ftp mirrors, freshmeat or rpmfind.net.

*telnet, rsh and rlogin are really insecure ways to access ure box from a remote account, dont use em.
 
Old 06-11-2001, 03:03 PM   #3
punt
Member
 
Registered: Jun 2001
Distribution: Fedora 22
Posts: 371

Original Poster
Rep: Reputation: 30
hi,

i think sshd is installed. how do i check?

thanks.
 
Old 06-11-2001, 03:38 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
issue "whereis sshd" and itll tel ya the location of the binaries (prolly /usr/bin), man pages and configs(/etc/ssh)
if its running in stand-alone mode on startup u gotta check ure startup scripts, else look at /etc/(x)inetd.conf if its specified and not commented out.
else try a manual start like
"/etc/rc.d/rc.init.d/sshd start", then "/etc/rc.d/rc.init.d/sshd status" to see the PID (know process is running) else look in the sshd_config defined logfile for errors.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting up ssh simeandrews Mandriva 8 03-22-2005 05:10 PM
setting up SSH Ryan450 Linux - Security 4 01-27-2005 12:36 AM
Need help setting up SSH Skunk_Face Linux - Security 15 01-31-2004 08:07 AM
Need Help Setting up SSH digsby0007 Linux - Software 2 05-01-2003 02:04 PM
setting up ssh emanners Linux - General 3 07-25-2001 01:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:18 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