LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-23-2003, 03:01 AM   #1
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,385

Rep: Reputation: 52
Starting SSH problem


Hi all folks,

I encountered problem in starting ssh

# epm -qa | grep ssh
openssh-3.6.1_p2

# ssh -X satimis@localhost
ssh: connect to host localhost port 22: Connection refused

# /etc/init.d/sshd status
* status: stopped
# /etc/init.d/sshd start
* Bringing eth0 up...
* Failed to bring eth0 up

* ERROR: _Problem starting needed services
"sshd" was not started.

(Remark: the denotation of NIC of this PC is eth1 because previously it
had 2 NICs, eth0 and eth1. _I removed eth0, the remaining NIC retaining
eth1)


# lokkit
bash: lokkit: command not found
# epm -q lokkit
package lokkit is not installed

Kindly advise
1) How to start ssh
2) What tool shall I use to check port 22 not being firewalled off and
ssh is blocked
3) Where can I download 'lokkit'

Thanks in advance.

B.R.
 
Old 10-23-2003, 03:55 AM   #2
worldmagic
Member
 
Registered: Oct 2003
Location: Europe/Sweden
Distribution: RedHat
Posts: 78

Rep: Reputation: 15
To start an XSession, you have to be able to connect to your own XServer.
This is done by executeing the following on your localmachine.
$ xhost +hosttoconnectfrom
 
Old 10-23-2003, 05:32 AM   #3
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,385

Original Poster
Rep: Reputation: 52
Quote:
Originally posted by worldmagic
To start an XSession, you have to be able to connect to your own XServer.
This is done by executeing the following on your localmachine.
$ xhost +hosttoconnectfrom
Hi,

Thanks for your response.

User=satimis
# hostname
mymachine

I tried follows without result
(On my PC ssh is not running)

# xhost mymachine
mymachine being added to access control list

# ssh -X satimis@mymachine
it hangs there

B.R.
satimis
 
Old 10-28-2003, 05:44 PM   #4
quovadismaximus
LQ Newbie
 
Registered: Sep 2003
Posts: 3

Rep: Reputation: 0
Nmap

Download nmap and run a port scan--nmap.org

Take care
 
Old 10-28-2003, 09:04 PM   #5
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,385

Original Poster
Rep: Reputation: 52
Re: Nmap

Quote:
Originally posted by quovadismaximus
Download nmap and run a port scan--nmap.org

Take care
Hi,

Thanks for your advice.

Problem has been solved by editing /etc/ssh/sshd_config

thanks

B.R.
satimis
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
ssh is not starting!!! jsheffie Solaris / OpenSolaris 6 08-19-2005 02:02 PM
Starting ssh on fedora tobycatlin Linux - Software 5 05-13-2005 07:52 AM
starting kde over SSH Danathar Slackware 6 12-02-2004 10:29 AM
starting X through ssh msound Linux - General 15 06-25-2003 12:30 AM
Starting SSH Server cli_man Linux - Software 3 04-10-2002 10:09 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration