LinuxQuestions.org
Review your favorite Linux distribution.
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-01-2004, 08:30 AM   #1
paulmedic555
Member
 
Registered: Apr 2004
Location: Greece
Distribution: Debian Etch/Sid-Gentoo
Posts: 56

Rep: Reputation: 15
ssh refused to connect


Hi all i want to connect via ssh from a windows box to a linux box(yoper).When i try it i can't and when i try from yoper to connect on it(i establish an Ethernet connection between the two PCs with static ip addresses) i get that:
Code:
ssh: connect to host xxx.xxx.x.x port 22: Connection refused
What can i do?
Is it possible to establish a ssh connection between the two PCs?
 
Old 11-01-2004, 09:04 AM   #2
tpe
Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Suse Linux
Posts: 98

Rep: Reputation: 16
Hi patriotaki

Well, we need more info.

Is the sshd running? Try a ps -ax | grep -i sshd. If you just see the
Code:
pts/0    R      0:00 grep -i sshd
, it's simple. ssh daemon is not running.
If you can see the sshd, the problem is somewhere else. Can you ping the linux box?
Also, what program are you using in order to connect at the linux box?

Peter
 
Old 11-01-2004, 12:45 PM   #3
paulmedic555
Member
 
Registered: Apr 2004
Location: Greece
Distribution: Debian Etch/Sid-Gentoo
Posts: 56

Original Poster
Rep: Reputation: 15
Hi .
Thanks i start the sshd from /usr/sbin/sshd and i connected to the linux box.In windows i use a little client ssh.exe which i have from the university i go.Give your email to send it to you if you want it.
 
  


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 - Connection Refused eminence Linux - Networking 15 02-11-2020 09:48 AM
SSH Connection Refused? lowpro2k3 Linux - Networking 2 11-04-2009 11:02 AM
SSH into RH 7.3 refused Peanut Linux - Newbie 9 11-28-2003 02:45 PM
ssh connection refused rguptatx Red Hat 4 11-13-2003 06:18 PM
SSH - Refused Connections bfloeagle Linux - Networking 6 08-31-2001 12:16 AM

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

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