LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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,695

Rep: Reputation: 56
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,695

Original Poster
Rep: Reputation: 56
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,695

Original Poster
Rep: Reputation: 56
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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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