LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-05-2013, 06:56 AM   #1
rashmineha.s
LQ Newbie
 
Registered: Jan 2013
Posts: 1

Rep: Reputation: Disabled
ssh connection problems


hi,
i am not able to connect to ssh. the command
ssh localhost gives the error message
"connect to host localhost port 22:connection refused"

please help me solve the problem


the problem is solved
now iam trying to configure hadoop
i have set JAVA_HOME as \cygdrive\c\work\java\jdk1.6.0_30
echo $JAVA_HOME displays correctly
but the command bin/hadoop version displays the following error message
/bin/java : no such file or directory

Last edited by rashmineha.s; 01-17-2013 at 02:24 AM. Reason: problem in configuring hadoop
 
Old 01-05-2013, 06:59 AM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Hello and welcome to LinuxQuestions,

What distribution and version are you running? Did you install the SSH server (openssh-server) and if so, is it started? Did you configure IPTABLES and forgot to allow localhost or port 22? Those are only a few options. You need to be more descriptive when communicating about a problem. The more information you provide the better we can help.

Kind regards,

Eric
 
1 members found this post helpful.
Old 01-05-2013, 06:59 AM   #3
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Hello and welcome to LinuxQuestions,

What distribution and version are you running? Did you install the SSH server (openssh-server) and if so, is it started? Did you configure IPTABLES and forgot to allow localhost or port 22? Those are only a few options. You need to be more descriptive when communicating about a problem. The more information you provide the better we can help.

Kind regards,

Eric
 
1 members found this post helpful.
Old 01-09-2013, 01:43 AM   #4
trijit
Member
 
Registered: Sep 2010
Location: Kolkata
Distribution: Ubuntu
Posts: 35

Rep: Reputation: 3
Quote:
Originally Posted by rashmineha.s View Post
hi,
i am not able to connect to ssh. the command
ssh localhost gives the error message
"connect to host localhost port 22:connection refused"

please help me solve the problem
paste the following output of the following commands:

1. telnet localhost 22

2. ls -l /etc/init.d | grep -i ssh

3. iptables -nL

4. cat /etc/issue or cat /etc/debian-release

5. uname -a

Last edited by trijit; 01-09-2013 at 01:45 AM.
 
  


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 connection problems hakushiro Linux - Newbie 12 03-15-2010 02:20 AM
ssh connection problems by location DrKranium Linux - Networking 4 08-20-2009 01:54 PM
SSH Connection Problems mac_casey Mandriva 1 10-07-2004 10:55 PM
ssh connection problems polarcat Linux - Networking 3 02-17-2003 12:11 AM
SSH connection problems psodba Linux - Networking 3 08-30-2001 02:37 PM


All times are GMT -5. The time now is 06:28 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration